All joint information parsed from the mjcf model. More...
#include <mjcf-graph.hpp>
Public Types | |
typedef boost::property_tree::ptree | ptree |
Public Member Functions | |
void | fill (const ptree &el, const MjcfBody ¤tBody, const MjcfGraph ¤tGraph) |
void | goThroughElement (const ptree &el, bool use_limits, const MjcfCompiler ¤tCompiler) |
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} |
All joint information parsed from the mjcf model.
Definition at line 174 of file mjcf-graph.hpp.
typedef boost::property_tree::ptree pinocchio::mjcf::details::MjcfJoint::ptree |
Definition at line 177 of file mjcf-graph.hpp.
void pinocchio::mjcf::details::MjcfJoint::fill | ( | const ptree & | el, |
const MjcfBody & | currentBody, | ||
const MjcfGraph & | currentGraph | ||
) |
el | ptree joint node |
currentBody | body to which the joint belongs to |
currentGraph | current Mjcf graph (needed to get compiler information) |
Definition at line 235 of file mjcf-graph.cpp.
void pinocchio::mjcf::details::MjcfJoint::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.
el | ptree joint node |
use_limits | whether to parse the limits or not |
Definition at line 170 of file mjcf-graph.cpp.
Eigen::Vector3d pinocchio::mjcf::details::MjcfJoint::axis = Eigen::Vector3d::UnitZ() |
Definition at line 185 of file mjcf-graph.hpp.
std::string pinocchio::mjcf::details::MjcfJoint::jointName = "free" |
Definition at line 180 of file mjcf-graph.hpp.
SE3 pinocchio::mjcf::details::MjcfJoint::jointPlacement = SE3::Identity() |
Definition at line 182 of file mjcf-graph.hpp.
std::string pinocchio::mjcf::details::MjcfJoint::jointType = "hinge" |
Definition at line 190 of file mjcf-graph.hpp.
double pinocchio::mjcf::details::MjcfJoint::posRef = 0. |
Definition at line 192 of file mjcf-graph.hpp.
RangeJoint pinocchio::mjcf::details::MjcfJoint::range {1} |
Definition at line 187 of file mjcf-graph.hpp.