Drake
Drake C++ Documentation
AddFrame Struct Reference

Detailed Description

Directive to add a Frame to the scene.

The added frame must have a name and a transform with a base frame and offset.

#include <drake/multibody/parsing/model_directives.h>

Public Member Functions

bool IsValid () const
 
template<typename Archive >
void Serialize (Archive *a)
 

Public Attributes

std::string name
 Name of frame to be added. More...
 
drake::schema::Transform X_PF
 Pose of frame to be added, F, w.r.t. More...
 

Member Function Documentation

◆ IsValid()

bool IsValid ( ) const

◆ Serialize()

void Serialize ( Archive *  a)

Member Data Documentation

◆ name

std::string name

Name of frame to be added.

If scope is specified, will override model instance; otherwise, will use X_PF.base_frames instance.

◆ X_PF

Pose of frame to be added, F, w.r.t.

parent frame P (as defined by X_PF.base_frame).


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