Public Member Functions | Public Attributes | List of all members
pinocchio::mjcf::details::MjcfCompiler Struct Reference

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

#include <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
 
std::string meshdir
 
bool strippath = false
 
std::string texturedir
 

Detailed Description

Informations that are stocked in the XML tag compile.

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

Member Function Documentation

◆ convertAngle()

double pinocchio::mjcf::details::MjcfCompiler::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

Definition at line 98 of file mjcf-graph.cpp.

◆ convertEuler()

Eigen::Matrix3d pinocchio::mjcf::details::MjcfCompiler::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

Definition at line 103 of file mjcf-graph.cpp.

Member Data Documentation

◆ angle_converter

double pinocchio::mjcf::details::MjcfCompiler::angle_converter = boost::math::constants::pi<double>() / 180.0

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

◆ autolimits

bool pinocchio::mjcf::details::MjcfCompiler::autolimits = true

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

◆ boundInertia

double pinocchio::mjcf::details::MjcfCompiler::boundInertia = 0

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

◆ boundMass

double pinocchio::mjcf::details::MjcfCompiler::boundMass = 0

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

◆ inertiafromgeom

boost::logic::tribool pinocchio::mjcf::details::MjcfCompiler::inertiafromgeom = boost::logic::indeterminate

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

◆ mapEulerAngles

Eigen::Matrix3d pinocchio::mjcf::details::MjcfCompiler::mapEulerAngles

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

◆ meshdir

std::string pinocchio::mjcf::details::MjcfCompiler::meshdir

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

◆ strippath

bool pinocchio::mjcf::details::MjcfCompiler::strippath = false

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

◆ texturedir

std::string pinocchio::mjcf::details::MjcfCompiler::texturedir

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


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


pinocchio
Author(s):
autogenerated on Tue Jun 25 2024 02:42:44