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 (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/25]

BOOST_AUTO_TEST_CASE ( adding_keyframes  )

Definition at line 902 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/25]

BOOST_AUTO_TEST_CASE ( adding_site  )

Definition at line 1047 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/25]

BOOST_AUTO_TEST_CASE ( build_model_no_root_joint  )

test that a fixed model is well parsed

Parameters

Definition at line 1084 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/25]

BOOST_AUTO_TEST_CASE ( build_model_with_root_joint_name  )

Definition at line 1095 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/25]

BOOST_AUTO_TEST_CASE ( convert_inertia_diaginertia  )

Definition at line 133 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/25]

BOOST_AUTO_TEST_CASE ( convert_inertia_fullinertia  )

Definition at line 99 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/25]

BOOST_AUTO_TEST_CASE ( convert_orientation  )

Definition at line 312 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/25]

BOOST_AUTO_TEST_CASE ( geoms_construction  )

Test for geometry computing.

Definition at line 166 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/25]

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() [10/25]

BOOST_AUTO_TEST_CASE ( joint_and_inertias  )

Definition at line 945 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/25]

BOOST_AUTO_TEST_CASE ( keyframe_and_composite  )

Definition at line 1012 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/25]

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() [13/25]

BOOST_AUTO_TEST_CASE ( parse_composite_Mujoco_comparison  )

Definition at line 869 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/25]

BOOST_AUTO_TEST_CASE ( parse_composite_PXPY  )

Definition at line 743 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/25]

BOOST_AUTO_TEST_CASE ( parse_composite_PXRY  )

Definition at line 785 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/25]

BOOST_AUTO_TEST_CASE ( parse_composite_PXSphere  )

Definition at line 827 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/25]

BOOST_AUTO_TEST_CASE ( parse_composite_RXRY  )

Definition at line 701 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/25]

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() [19/25]

BOOST_AUTO_TEST_CASE ( parse_dirs_strippath  )

Test strippath option.

Parameters

Definition at line 528 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/25]

BOOST_AUTO_TEST_CASE ( parse_Free  )

Definition at line 664 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/25]

BOOST_AUTO_TEST_CASE ( parse_PX  )

Definition at line 590 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/25]

BOOST_AUTO_TEST_CASE ( parse_RX  )

Definition at line 553 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/25]

BOOST_AUTO_TEST_CASE ( parse_Sphere  )

Definition at line 627 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/25]

BOOST_AUTO_TEST_CASE ( reference_positions  )

Definition at line 978 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/25]

BOOST_AUTO_TEST_CASE ( test_contact_parsing  )

Definition at line 1267 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 Fri Nov 1 2024 02:41:50