17 #ifndef _GAZEBO_BULLETHINGEJOINT_HH_
18 #define _GAZEBO_BULLETHINGEJOINT_HH_
28 class btHingeConstraint;
48 protected:
virtual void Load(sdf::ElementPtr _sdf);
51 public:
virtual void Init();
54 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
57 public:
virtual void SetAxis(
unsigned int _index,
61 public:
virtual void SetVelocity(
unsigned int _index,
double _vel);
64 public:
virtual double GetVelocity(
unsigned int _index)
const;
67 public:
virtual bool SetHighStop(
unsigned int _index,
71 public:
virtual bool SetLowStop(
unsigned int _index,
75 public:
virtual math::Angle GetHighStop(
unsigned int _index);
78 public:
virtual math::Angle GetLowStop(
unsigned int _index);
81 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
84 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
87 public:
virtual bool SetParam(
const std::string &_key,
89 const boost::any &_value);
92 public:
virtual double GetParam(
const std::string &_key,
96 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
99 private: btHingeConstraint *bulletHinge;
103 private:
double angleOffset;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
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:53
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77
A single axis hinge joint.
Definition: BulletHingeJoint.hh:39