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 39 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 100 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 105 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 53 of file mjcf-graph.hpp.

◆ autolimits

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

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

◆ boundInertia

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

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

◆ boundMass

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

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

◆ inertiafromgeom

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

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

◆ mapEulerAngles

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

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

◆ meshdir

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

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

◆ strippath

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

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

◆ texturedir

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

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


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


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:53