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 (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 (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)
 
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/22]

BOOST_AUTO_TEST_CASE ( adding_keyframes  )

Definition at line 900 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/22]

BOOST_AUTO_TEST_CASE ( adding_site  )

Definition at line 1012 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/22]

BOOST_AUTO_TEST_CASE ( build_model_no_root_joint  )

test that a fixed model is well parsed

Parameters

Definition at line 1049 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/22]

BOOST_AUTO_TEST_CASE ( convert_inertia_diaginertia  )

Definition at line 133 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/22]

BOOST_AUTO_TEST_CASE ( convert_inertia_fullinertia  )

Definition at line 99 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/22]

BOOST_AUTO_TEST_CASE ( convert_orientation  )

Definition at line 312 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/22]

BOOST_AUTO_TEST_CASE ( geoms_construction  )

Test for geometry computing.

Definition at line 166 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/22]

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() [9/22]

BOOST_AUTO_TEST_CASE ( keyframe_and_composite  )

Definition at line 977 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/22]

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() [11/22]

BOOST_AUTO_TEST_CASE ( parse_composite_Mujoco_comparison  )

Definition at line 867 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/22]

BOOST_AUTO_TEST_CASE ( parse_composite_PXPY  )

Definition at line 741 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/22]

BOOST_AUTO_TEST_CASE ( parse_composite_PXRY  )

Definition at line 783 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/22]

BOOST_AUTO_TEST_CASE ( parse_composite_PXSphere  )

Definition at line 825 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/22]

BOOST_AUTO_TEST_CASE ( parse_composite_RXRY  )

Definition at line 699 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/22]

BOOST_AUTO_TEST_CASE ( parse_dirs_no_strippath  )

Test to see if path options work.

Definition at line 476 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/22]

BOOST_AUTO_TEST_CASE ( parse_dirs_strippath  )

Test strippath option.

Parameters

Definition at line 526 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/22]

BOOST_AUTO_TEST_CASE ( parse_Free  )

Definition at line 662 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/22]

BOOST_AUTO_TEST_CASE ( parse_PX  )

Definition at line 588 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/22]

BOOST_AUTO_TEST_CASE ( parse_RX  )

Definition at line 551 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/22]

BOOST_AUTO_TEST_CASE ( parse_Sphere  )

Definition at line 625 of file mjcf.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/22]

BOOST_AUTO_TEST_CASE ( reference_positions  )

Definition at line 943 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 Sat Jun 22 2024 02:41:51