Directive to add a weld between two named frames, a parent and a child.
#include <drake/multibody/parsing/model_directives.h>
Public Member Functions | |
bool | IsValid () const |
template<typename Archive > | |
void | Serialize (Archive *a) |
Public Attributes | |
std::string | parent |
Parent frame. Can specify scope. More... | |
std::string | child |
Child frame. Can (and should) specify scope. More... | |
std::optional< drake::schema::Transform > | X_PC {} |
Relative transform between the parent frame P and the child frame C. More... | |
bool IsValid | ( | ) | const |
void Serialize | ( | Archive * | a | ) |
std::string child |
Child frame. Can (and should) specify scope.
std::string parent |
Parent frame. Can specify scope.
std::optional<drake::schema::Transform> X_PC {} |
Relative transform between the parent frame P and the child frame C.
If unspecified, the Identity transform will be used.