Functions
mjcf.cpp File Reference
#include <iostream>
#include <cstdio>
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/parsers/mjcf.hpp"
#include "pinocchio/parsers/mjcf/mjcf-graph.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_mesh_with_vertices)
 Test parsing a mesh with vertices. More...
 
 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)
 
 BOOST_AUTO_TEST_CASE (test_default_eulerseq)
 
 BOOST_AUTO_TEST_CASE (test_get_unknown_size_vector_from_stream)
 
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/29]

BOOST_AUTO_TEST_CASE ( adding_keyframes  )

Definition at line 903 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/29]

BOOST_AUTO_TEST_CASE ( adding_site  )

Definition at line 1090 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/29]

BOOST_AUTO_TEST_CASE ( armature  )

Definition at line 979 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/29]

BOOST_AUTO_TEST_CASE ( build_model_no_root_joint  )

test that a fixed model is well parsed

Parameters

Definition at line 1127 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/29]

BOOST_AUTO_TEST_CASE ( build_model_with_root_joint_name  )

Definition at line 1138 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/29]

BOOST_AUTO_TEST_CASE ( convert_inertia_diaginertia  )

Definition at line 134 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/29]

BOOST_AUTO_TEST_CASE ( convert_inertia_fullinertia  )

Definition at line 100 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/29]

BOOST_AUTO_TEST_CASE ( convert_orientation  )

Definition at line 313 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/29]

BOOST_AUTO_TEST_CASE ( geoms_construction  )

Test for geometry computing.

Definition at line 167 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/29]

BOOST_AUTO_TEST_CASE ( inertia_from_geom  )

Test for computing inertia from geoms.

Parameters

Definition at line 274 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/29]

BOOST_AUTO_TEST_CASE ( joint_and_inertias  )

Definition at line 947 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/29]

BOOST_AUTO_TEST_CASE ( keyframe_and_composite  )

Definition at line 1055 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/29]

BOOST_AUTO_TEST_CASE ( merge_default  )

Test if merging default classes works.

Parameters

Definition at line 359 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/29]

BOOST_AUTO_TEST_CASE ( parse_composite_Mujoco_comparison  )

Definition at line 870 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/29]

BOOST_AUTO_TEST_CASE ( parse_composite_PXPY  )

Definition at line 744 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/29]

BOOST_AUTO_TEST_CASE ( parse_composite_PXRY  )

Definition at line 786 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/29]

BOOST_AUTO_TEST_CASE ( parse_composite_PXSphere  )

Definition at line 828 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/29]

BOOST_AUTO_TEST_CASE ( parse_composite_RXRY  )

Definition at line 702 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/29]

BOOST_AUTO_TEST_CASE ( parse_dirs_no_strippath  )

Test to see if path options work.

Definition at line 479 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/29]

BOOST_AUTO_TEST_CASE ( parse_dirs_strippath  )

Test strippath option.

Parameters

Definition at line 529 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/29]

BOOST_AUTO_TEST_CASE ( parse_Free  )

Definition at line 665 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/29]

BOOST_AUTO_TEST_CASE ( parse_mesh_with_vertices  )

Test parsing a mesh with vertices.

Parameters

Definition at line 1364 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/29]

BOOST_AUTO_TEST_CASE ( parse_PX  )

Definition at line 591 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/29]

BOOST_AUTO_TEST_CASE ( parse_RX  )

Definition at line 554 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/29]

BOOST_AUTO_TEST_CASE ( parse_Sphere  )

Definition at line 628 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/29]

BOOST_AUTO_TEST_CASE ( reference_positions  )

Definition at line 1021 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/29]

BOOST_AUTO_TEST_CASE ( test_contact_parsing  )

Definition at line 1310 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/29]

BOOST_AUTO_TEST_CASE ( test_default_eulerseq  )

Definition at line 1333 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/29]

BOOST_AUTO_TEST_CASE ( test_get_unknown_size_vector_from_stream  )

Definition at line 1403 of file mjcf.cpp.

◆ comparePropertyTrees()

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

Definition at line 70 of file mjcf.cpp.

◆ createTempFile()

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

Definition at line 53 of file mjcf.cpp.



pinocchio
Author(s):
autogenerated on Tue Jan 7 2025 03:41:48