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

Informations that are stocked in the XML tag compile. More...

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

Public Member Functions

double convertAngle (const double &angle_) const
 Convert the angle in radian if model was declared to use degree. More...
 
Eigen::Matrix3d convertEuler (const Eigen::Vector3d &angles) const
 Convert the euler angles according to the convention declared in the compile tag. More...
 

Public Attributes

double angle_converter = boost::math::constants::pi<double>() / 180.0
 
bool autolimits = true
 
double boundInertia = 0
 
double boundMass = 0
 
boost::logic::tribool inertiafromgeom = boost::logic::indeterminate
 
Eigen::Matrix3d mapEulerAngles = Eigen::Matrix3d::Identity()
 
std::string meshdir
 
bool strippath = false
 
std::string texturedir
 

Detailed Description

Informations that are stocked in the XML tag compile.

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

Member Function Documentation

◆ convertAngle()

double convertAngle ( const double &  angle_) const

Convert the angle in radian if model was declared to use degree.

Parameters
angle_angle to convert
Returns
converted angle

◆ convertEuler()

Eigen::Matrix3d convertEuler ( const Eigen::Vector3d &  angles) const

Convert the euler angles according to the convention declared in the compile tag.

Parameters
anglesEuler angles
Returns
Quaternion representation of the euler angles

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