DART
6.10.1
Loading...
Searching...
No Matches
Types.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011-2021, The DART development contributors
3
* All rights reserved.
4
*
5
* The list of contributors can be found at:
6
* https://github.com/dartsim/dart/blob/master/LICENSE
7
*
8
* This file is provided under the following "BSD-style" License:
9
* Redistribution and use in source and binary forms, with or
10
* without modification, are permitted provided that the following
11
* conditions are met:
12
* * Redistributions of source code must retain the above copyright
13
* notice, this list of conditions and the following disclaimer.
14
* * Redistributions in binary form must reproduce the above
15
* copyright notice, this list of conditions and the following
16
* disclaimer in the documentation and/or other materials provided
17
* with the distribution.
18
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
19
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
26
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
* POSSIBILITY OF SUCH DAMAGE.
31
*/
32
33
#ifndef DART_UTILS_MJCF_DETAIL_TYPES_HPP_
34
#define DART_UTILS_MJCF_DETAIL_TYPES_HPP_
35
36
#include "
dart/common/Platform.hpp
"
37
38
namespace
dart
{
39
namespace
utils {
40
namespace
MjcfParser {
41
namespace
detail {
42
47
enum class
Angle
48
{
50
DEGREE
= 0,
51
53
RADIAN
= 1,
54
};
55
61
enum class
Coordinate
62
{
64
LOCAL
= 0,
65
GLOBAL
= 1,
66
};
67
71
enum class
Integrator
72
{
74
EULER
= 0,
75
RK4
= 1,
76
};
77
78
enum class
InertiaFromGeom
79
{
80
#if DART_OS_WINDOWS
81
IFG_FALSE,
82
IFG_TRUE,
83
IFG_AUTO,
84
#else
85
FALSE
,
86
TRUE
,
87
AUTO
,
88
#endif
89
};
90
91
enum class
CollisionType
92
{
93
ALL
,
94
PREDEFINED
,
95
DYNAMIC
,
96
};
97
98
enum class
ConeType
99
{
100
PYRAMIDAL
,
101
ELLIPTIC
,
102
};
103
104
enum class
JacobianType
105
{
106
DENSE
,
107
SPARSE
,
108
AUTO
,
109
};
110
111
enum class
SolverType
112
{
113
PGS
,
114
CG
,
115
NEWTON
,
116
};
117
118
enum class
GeomType
119
{
120
PLANE
,
121
HFIELD
,
123
SPHERE
,
124
CAPSULE
,
125
ELLIPSOID
,
126
CYLINDER
,
127
BOX
,
128
MESH
,
129
};
130
131
enum class
JointType
132
{
133
FREE
,
134
BALL
,
135
SLIDE
,
137
HINGE
,
138
};
139
140
}
// namespace detail
141
}
// namespace MjcfParser
142
}
// namespace utils
143
}
// namespace dart
144
145
#endif
// #ifndef DART_UTILS_MJCF_DETAIL_TYPES_HPP_
Platform.hpp
dart::utils::MjcfParser::detail::InertiaFromGeom
InertiaFromGeom
Definition
Types.hpp:79
dart::utils::MjcfParser::detail::InertiaFromGeom::FALSE
@ FALSE
dart::utils::MjcfParser::detail::InertiaFromGeom::TRUE
@ TRUE
dart::utils::MjcfParser::detail::InertiaFromGeom::AUTO
@ AUTO
dart::utils::MjcfParser::detail::JacobianType
JacobianType
Definition
Types.hpp:105
dart::utils::MjcfParser::detail::JacobianType::SPARSE
@ SPARSE
dart::utils::MjcfParser::detail::JacobianType::DENSE
@ DENSE
dart::utils::MjcfParser::detail::SolverType
SolverType
Definition
Types.hpp:112
dart::utils::MjcfParser::detail::SolverType::PGS
@ PGS
dart::utils::MjcfParser::detail::SolverType::CG
@ CG
dart::utils::MjcfParser::detail::SolverType::NEWTON
@ NEWTON
dart::utils::MjcfParser::detail::JointType
JointType
Definition
Types.hpp:132
dart::utils::MjcfParser::detail::JointType::BALL
@ BALL
dart::utils::MjcfParser::detail::JointType::HINGE
@ HINGE
[Default]
dart::utils::MjcfParser::detail::JointType::FREE
@ FREE
dart::utils::MjcfParser::detail::JointType::SLIDE
@ SLIDE
dart::utils::MjcfParser::detail::Integrator
Integrator
This attribute selects the numerical integrator to be used.
Definition
Types.hpp:72
dart::utils::MjcfParser::detail::Integrator::EULER
@ EULER
[Default]
dart::utils::MjcfParser::detail::Integrator::RK4
@ RK4
dart::utils::MjcfParser::detail::GeomType
GeomType
Definition
Types.hpp:119
dart::utils::MjcfParser::detail::GeomType::HFIELD
@ HFIELD
dart::utils::MjcfParser::detail::GeomType::ELLIPSOID
@ ELLIPSOID
dart::utils::MjcfParser::detail::GeomType::MESH
@ MESH
dart::utils::MjcfParser::detail::GeomType::CAPSULE
@ CAPSULE
dart::utils::MjcfParser::detail::GeomType::SPHERE
@ SPHERE
[Default]
dart::utils::MjcfParser::detail::GeomType::PLANE
@ PLANE
dart::utils::MjcfParser::detail::GeomType::CYLINDER
@ CYLINDER
dart::utils::MjcfParser::detail::GeomType::BOX
@ BOX
dart::utils::MjcfParser::detail::ConeType
ConeType
Definition
Types.hpp:99
dart::utils::MjcfParser::detail::ConeType::PYRAMIDAL
@ PYRAMIDAL
dart::utils::MjcfParser::detail::ConeType::ELLIPTIC
@ ELLIPTIC
dart::utils::MjcfParser::detail::Coordinate
Coordinate
This attribute specifies whether the frame positions and orientations in the MJCF model are expressed...
Definition
Types.hpp:62
dart::utils::MjcfParser::detail::Coordinate::LOCAL
@ LOCAL
[Default]
dart::utils::MjcfParser::detail::Coordinate::GLOBAL
@ GLOBAL
dart::utils::MjcfParser::detail::CollisionType
CollisionType
Definition
Types.hpp:92
dart::utils::MjcfParser::detail::CollisionType::DYNAMIC
@ DYNAMIC
dart::utils::MjcfParser::detail::CollisionType::PREDEFINED
@ PREDEFINED
dart::utils::MjcfParser::detail::CollisionType::ALL
@ ALL
dart::utils::MjcfParser::detail::Angle
Angle
This attribute specifies whether the angles in the MJCF model are expressed in units of degrees or ra...
Definition
Types.hpp:48
dart::utils::MjcfParser::detail::Angle::RADIAN
@ RADIAN
Always use for URDF.
dart::utils::MjcfParser::detail::Angle::DEGREE
@ DEGREE
[Default] Always use for MJCF
dart
Definition
BulletCollisionDetector.cpp:65
dart
utils
mjcf
detail
Types.hpp
Generated on Wed Jan 22 2025 02:56:57 for DART by
1.9.8