Drake
Drake C++ Documentation
AddWeld Struct Reference

Detailed Description

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::TransformX_PC {}
 Relative transform between the parent frame P and the child frame C. More...
 

Member Function Documentation

◆ IsValid()

bool IsValid ( ) const

◆ Serialize()

void Serialize ( Archive *  a)

Member Data Documentation

◆ child

std::string child

Child frame. Can (and should) specify scope.

◆ parent

std::string parent

Parent frame. Can specify scope.

◆ X_PC

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.


The documentation for this struct was generated from the following file: