17 #ifndef _BULLETHINGEJOINT_HH_
18 #define _BULLETHINGEJOINT_HH_
27 class btHingeConstraint;
47 protected:
virtual void Load(sdf::ElementPtr _sdf);
50 public:
virtual void Init();
53 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
56 public:
virtual void SetAxis(
unsigned int _index,
60 public:
virtual void SetVelocity(
unsigned int _index,
double _vel);
63 public:
virtual double GetVelocity(
unsigned int _index)
const;
66 public:
virtual void SetMaxForce(
unsigned int _index,
double _t);
69 public:
virtual double GetMaxForce(
unsigned int _index);
72 public:
virtual bool SetHighStop(
unsigned int _index,
76 public:
virtual bool SetLowStop(
unsigned int _index,
80 public:
virtual math::Angle GetHighStop(
unsigned int _index);
83 public:
virtual math::Angle GetLowStop(
unsigned int _index);
86 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
89 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
92 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
95 private: btHingeConstraint *bulletHinge;
99 private:
double angleOffset;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
A single axis hinge joint.
Definition: HingeJoint.hh:39
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:52
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
A single axis hinge joint.
Definition: BulletHingeJoint.hh:38