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(
95 public:
virtual void AddLinkForce(
const math::Vector3 &_force,
102 public:
virtual void AddRelativeTorque(
const math::Vector3 &_torque);
126 public:
virtual void SetGravityMode(
bool _mode);
129 public:
virtual bool GetGravityMode()
const;
132 public:
void SetSelfCollide(
bool _collide);
135 public:
virtual void SetLinearDamping(
double _damping);
138 public:
virtual void SetAngularDamping(
double _damping);
141 public:
virtual void SetKinematic(
const bool &_state);
144 public:
virtual bool GetKinematic()
const;
147 public:
virtual void SetAutoDisable(
bool _disable);
151 public: dBodyID GetODEId()
const;
155 public: dSpaceID GetSpaceId()
const;
159 public:
void SetSpaceId(dSpaceID _spaceid);
163 public:
static void DisabledCallback(dBodyID _id);
168 public:
static void MoveCallback(dBodyID _id);
171 public:
virtual void SetLinkStatic(
bool _static);
174 private: dBodyID linkId;
180 private: dSpaceID spaceId;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
#define GZ_PHYSICS_ODE_VISIBLE
Definition: system.hh:343
Link class defines a rigid body entity, containing information on inertia, visual and collision prope...
Definition: Link.hh:67
boost::shared_ptr< ODEPhysics > ODEPhysicsPtr
Definition: ODETypes.hh:56
boost::shared_ptr< Entity > EntityPtr
Definition: PhysicsTypes.hh:76
A quaternion class.
Definition: Quaternion.hh:42
static const Vector3 Zero
math::Vector3(0, 0, 0)
Definition: Vector3.hh:42
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.