All joint information parsed from the mjcf model.
More...
#include <pinocchio/parsers/mjcf/mjcf-graph.hpp>
|
typedef boost::property_tree::ptree | ptree |
|
|
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.
◆ fill()
void fill |
( |
const ptree & |
el, |
|
|
const MjcfBody & |
currentBody, |
|
|
const MjcfGraph & |
currentGraph |
|
) |
| |
- Parameters
-
el | ptree joint node |
currentBody | body to which the joint belongs to |
currentGraph | current 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
-
el | ptree joint node |
use_limits | whether to parse the limits or not |
The documentation for this struct was generated from the following file: