44 public:
virtual void Load(sdf::ElementPtr _sdf);
47 public:
virtual void Init();
50 public:
virtual void Fini();
53 public:
virtual void OnPoseChange();
56 public:
virtual void SetEnabled(
bool _enable)
const;
59 public:
virtual bool GetEnabled()
const;
62 public:
virtual void UpdateMass();
65 public:
virtual void UpdateSurface();
71 public:
virtual void SetAngularVel(
const math::Vector3 &_vel);
83 public:
virtual void AddRelativeForce(
const math::Vector3 &_force);
86 public:
virtual void AddForceAtWorldPosition(
const math::Vector3 &_force,
90 public:
virtual void AddForceAtRelativePosition(
98 public:
virtual void AddRelativeTorque(
const math::Vector3 &_torque);
122 public:
virtual void SetGravityMode(
bool _mode);
125 public:
virtual bool GetGravityMode()
const;
128 public:
void SetSelfCollide(
bool _collide);
131 public:
virtual void SetLinearDamping(
double _damping);
134 public:
virtual void SetAngularDamping(
double _damping);
137 public:
virtual void SetKinematic(
const bool &_state);
140 public:
virtual bool GetKinematic()
const;
143 public:
virtual void SetAutoDisable(
bool _disable);
147 public: dBodyID GetODEId()
const;
151 public: dSpaceID GetSpaceId()
const;
155 public:
void SetSpaceId(dSpaceID _spaceid);
159 public:
static void DisabledCallback(dBodyID _id);
164 public:
static void MoveCallback(dBodyID _id);
167 public:
virtual void SetLinkStatic(
bool _static);
170 private: dBodyID linkId;
176 private: dSpaceID spaceId;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Link class defines a rigid body entity, containing information on inertia, visual and collision prope...
Definition: Link.hh:61
boost::shared_ptr< ODEPhysics > ODEPhysicsPtr
Definition: ODETypes.hh:56
boost::shared_ptr< Entity > EntityPtr
Definition: PhysicsTypes.hh:74
A quaternion class.
Definition: Quaternion.hh:41
ODE Link class.
Definition: ODELink.hh:34
ODE wrapper forward declarations and typedefs.
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48