dart physics engine wrapper
More...
|
file | DARTTypes.hh |
| DART wrapper forward declarations and typedefs.
|
|
dart physics engine wrapper
Constructor for a global ray.
- Parameters
-
[in] | _physicsEngine | Pointer to the physics engine. |
gazebo::physics::DARTRayShape::DARTRayShape |
( |
CollisionPtr |
_collision | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | _collision | Collision object this ray is attached to. |
virtual gazebo::physics::DARTRayShape::~DARTRayShape |
( |
| ) |
|
|
virtual |
static Eigen::Isometry3d gazebo::physics::DARTTypes::ConvPose |
( |
const math::Pose & |
_pose | ) |
|
|
inlinestatic |
static math::Pose gazebo::physics::DARTTypes::ConvPose |
( |
const Eigen::Isometry3d & |
_T | ) |
|
|
inlinestatic |
static Eigen::Quaterniond gazebo::physics::DARTTypes::ConvQuat |
( |
const math::Quaternion & |
_quat | ) |
|
|
inlinestatic |
static math::Quaternion gazebo::physics::DARTTypes::ConvQuat |
( |
const Eigen::Quaterniond & |
_quat | ) |
|
|
inlinestatic |
static Eigen::Vector3d gazebo::physics::DARTTypes::ConvVec3 |
( |
const math::Vector3 & |
_vec3 | ) |
|
|
inlinestatic |
static math::Vector3 gazebo::physics::DARTTypes::ConvVec3 |
( |
const Eigen::Vector3d & |
_vec3 | ) |
|
|
inlinestatic |
virtual void gazebo::physics::DARTRayShape::GetIntersection |
( |
double & |
_dist, |
|
|
std::string & |
_entity |
|
) |
| |
|
virtual |
Get the nearest intersection.
- Parameters
-
[out] | _dist | Distance to the intersection. |
[out] | _entity | Name of the entity that was hit. |
Implements gazebo::physics::RayShape.
static double gazebo::physics::DARTTypes::InvertThreadPitch |
( |
double |
_pitch | ) |
|
|
inlinestatic |
Invert thread pitch to match the different definitions of thread pitch in Gazebo and DART.
[Definitions of thread pitch] Gazebo: NEGATIVE angular motion per linear motion. DART : linear motion per single rotation.
References GZ_ASSERT.
Set the ray based on starting and ending points relative to the body.
- Parameters
-
[in] | _posStart | Start position, relative the body |
[in] | _posEnd | End position, relative to the body |
Reimplemented from gazebo::physics::RayShape.
virtual void gazebo::physics::DARTRayShape::Update |
( |
| ) |
|
|
virtual |