Functions
mjcf.cpp File Reference
#include <iostream>
#include <cstdio>
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/parsers/mjcf.hpp"
#include "pinocchio/parsers/urdf.hpp"
#include "pinocchio/algorithm/joint-configuration.hpp"
#include "pinocchio/algorithm/frames.hpp"
#include "pinocchio/multibody/joint/joints.hpp"
#include <boost/test/unit_test.hpp>
#include <boost/filesystem/fstream.hpp>
Include dependency graph for mjcf.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (adding_keyframes)
 
 BOOST_AUTO_TEST_CASE (adding_site)
 
 BOOST_AUTO_TEST_CASE (armature)
 
 BOOST_AUTO_TEST_CASE (build_model_no_root_joint)
 test that a fixed model is well parsed More...
 
 BOOST_AUTO_TEST_CASE (build_model_with_root_joint_name)
 
 BOOST_AUTO_TEST_CASE (convert_inertia_diaginertia)
 
 BOOST_AUTO_TEST_CASE (convert_inertia_fullinertia)
 
 BOOST_AUTO_TEST_CASE (convert_orientation)
 
 BOOST_AUTO_TEST_CASE (geoms_construction)
 Test for geometry computing. More...
 
 BOOST_AUTO_TEST_CASE (inertia_from_geom)
 Test for computing inertia from geoms. More...
 
 BOOST_AUTO_TEST_CASE (joint_and_inertias)
 
 BOOST_AUTO_TEST_CASE (keyframe_and_composite)
 
 BOOST_AUTO_TEST_CASE (merge_default)
 Test if merging default classes works. More...
 
 BOOST_AUTO_TEST_CASE (parse_composite_Mujoco_comparison)
 
 BOOST_AUTO_TEST_CASE (parse_composite_PXPY)
 
 BOOST_AUTO_TEST_CASE (parse_composite_PXRY)
 
 BOOST_AUTO_TEST_CASE (parse_composite_PXSphere)
 
 BOOST_AUTO_TEST_CASE (parse_composite_RXRY)
 
 BOOST_AUTO_TEST_CASE (parse_dirs_no_strippath)
 Test to see if path options work. More...
 
 BOOST_AUTO_TEST_CASE (parse_dirs_strippath)
 Test strippath option. More...
 
 BOOST_AUTO_TEST_CASE (parse_Free)
 
 BOOST_AUTO_TEST_CASE (parse_PX)
 
 BOOST_AUTO_TEST_CASE (parse_RX)
 
 BOOST_AUTO_TEST_CASE (parse_Sphere)
 
 BOOST_AUTO_TEST_CASE (reference_positions)
 
 BOOST_AUTO_TEST_CASE (test_contact_parsing)
 
static bool comparePropertyTrees (const boost::property_tree::ptree &pt1, const boost::property_tree::ptree &pt2)
 
static TemporaryFileHolder createTempFile (const std::istringstream &data)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/26]

BOOST_AUTO_TEST_CASE ( adding_keyframes  )

Definition at line 902 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/26]

BOOST_AUTO_TEST_CASE ( adding_site  )

Definition at line 1088 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/26]

BOOST_AUTO_TEST_CASE ( armature  )

Definition at line 977 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/26]

BOOST_AUTO_TEST_CASE ( build_model_no_root_joint  )

test that a fixed model is well parsed

Parameters

Definition at line 1125 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/26]

BOOST_AUTO_TEST_CASE ( build_model_with_root_joint_name  )

Definition at line 1136 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/26]

BOOST_AUTO_TEST_CASE ( convert_inertia_diaginertia  )

Definition at line 133 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/26]

BOOST_AUTO_TEST_CASE ( convert_inertia_fullinertia  )

Definition at line 99 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/26]

BOOST_AUTO_TEST_CASE ( convert_orientation  )

Definition at line 312 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/26]

BOOST_AUTO_TEST_CASE ( geoms_construction  )

Test for geometry computing.

Definition at line 166 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/26]

BOOST_AUTO_TEST_CASE ( inertia_from_geom  )

Test for computing inertia from geoms.

Parameters

Definition at line 273 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/26]

BOOST_AUTO_TEST_CASE ( joint_and_inertias  )

Definition at line 945 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/26]

BOOST_AUTO_TEST_CASE ( keyframe_and_composite  )

Definition at line 1053 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/26]

BOOST_AUTO_TEST_CASE ( merge_default  )

Test if merging default classes works.

Parameters

Definition at line 358 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/26]

BOOST_AUTO_TEST_CASE ( parse_composite_Mujoco_comparison  )

Definition at line 869 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/26]

BOOST_AUTO_TEST_CASE ( parse_composite_PXPY  )

Definition at line 743 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/26]

BOOST_AUTO_TEST_CASE ( parse_composite_PXRY  )

Definition at line 785 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/26]

BOOST_AUTO_TEST_CASE ( parse_composite_PXSphere  )

Definition at line 827 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/26]

BOOST_AUTO_TEST_CASE ( parse_composite_RXRY  )

Definition at line 701 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/26]

BOOST_AUTO_TEST_CASE ( parse_dirs_no_strippath  )

Test to see if path options work.

Definition at line 478 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/26]

BOOST_AUTO_TEST_CASE ( parse_dirs_strippath  )

Test strippath option.

Parameters

Definition at line 528 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/26]

BOOST_AUTO_TEST_CASE ( parse_Free  )

Definition at line 664 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/26]

BOOST_AUTO_TEST_CASE ( parse_PX  )

Definition at line 590 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/26]

BOOST_AUTO_TEST_CASE ( parse_RX  )

Definition at line 553 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/26]

BOOST_AUTO_TEST_CASE ( parse_Sphere  )

Definition at line 627 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/26]

BOOST_AUTO_TEST_CASE ( reference_positions  )

Definition at line 1019 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/26]

BOOST_AUTO_TEST_CASE ( test_contact_parsing  )

Definition at line 1308 of file mjcf.cpp.

◆ comparePropertyTrees()

static bool comparePropertyTrees ( const boost::property_tree::ptree &  pt1,
const boost::property_tree::ptree &  pt2 
)
static

Definition at line 69 of file mjcf.cpp.

◆ createTempFile()

static TemporaryFileHolder createTempFile ( const std::istringstream &  data)
static

Definition at line 52 of file mjcf.cpp.



pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:34