pinocchio  3.6.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
MjcfJoint Struct Reference

All joint information parsed from the mjcf model. More...

#include <pinocchio/parsers/mjcf/mjcf-graph.hpp>

Collaboration diagram for MjcfJoint:

Public Types

typedef boost::property_tree::ptree ptree
 

Public Member Functions

void fill (const ptree &el, const MjcfBody &currentBody, const MjcfGraph &currentGraph)
 
void goThroughElement (const ptree &el, bool use_limits, const MjcfCompiler &currentCompiler)
 Go through a joint node (default class or not) and parse info into the structure. More...
 

Public Attributes

Eigen::Vector3d axis = Eigen::Vector3d::UnitZ()
 
std::string jointName = "free"
 
SE3 jointPlacement = SE3::Identity()
 
std::string jointType = "hinge"
 
double posRef = 0.
 
RangeJoint range {1}
 

Detailed Description

All joint information parsed from the mjcf model.

Definition at line 174 of file mjcf-graph.hpp.

Member Function Documentation

◆ fill()

void fill ( const ptree &  el,
const MjcfBody currentBody,
const MjcfGraph currentGraph 
)
Parameters
elptree joint node
currentBodybody to which the joint belongs to
currentGraphcurrent Mjcf graph (needed to get compiler information)

◆ goThroughElement()

void goThroughElement ( const ptree &  el,
bool  use_limits,
const MjcfCompiler currentCompiler 
)

Go through a joint node (default class or not) and parse info into the structure.

Parameters
elptree joint node
use_limitswhether to parse the limits or not

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