Bullet btMotionState encapsulation. More...
#include <BulletMotionState.hh>
Public Member Functions | |
BulletMotionState (Link *_link) | |
Constructor. | |
virtual | ~BulletMotionState () |
Constructor. | |
math::Pose | GetWorldPose () const |
Get the pose. | |
virtual void | getWorldTransform (btTransform &_worldTrans) const |
Get the world transform. | |
void | SetCoG (const math::Vector3 &_cog) |
Set the center of mass offset. | |
void | SetWorldPose (const math::Pose &_pose) |
Set the pose. | |
virtual void | SetWorldPosition (const math::Vector3 &_pos) |
Set the position of the body. | |
virtual void | SetWorldRotation (const math::Quaternion &_rot) |
Set the rotation of the body. | |
virtual void | setWorldTransform (const btTransform &_worldTrans) |
Set the world transform. | |
Bullet btMotionState encapsulation.
gazebo::physics::BulletMotionState::BulletMotionState | ( | Link * | _link | ) |
Constructor.
|
virtual |
Constructor.
Destructor
math::Pose gazebo::physics::BulletMotionState::GetWorldPose | ( | ) | const |
Get the pose.
|
virtual |
Get the world transform.
void gazebo::physics::BulletMotionState::SetCoG | ( | const math::Vector3 & | _cog | ) |
Set the center of mass offset.
void gazebo::physics::BulletMotionState::SetWorldPose | ( | const math::Pose & | _pose | ) |
Set the pose.
|
virtual |
Set the position of the body.
pos | math::Vector position |
|
virtual |
Set the rotation of the body.
rot | Quaternion rotation |
|
virtual |
Set the world transform.