17 #ifndef _BULLETSLIDERJOINT_HH_
18 #define _BULLETSLIDERJOINT_HH_
26 class btSliderConstraint;
46 protected:
virtual void Load(sdf::ElementPtr _sdf);
49 protected:
virtual void Init();
52 public:
virtual void SetAxis(
unsigned int _index,
56 public:
virtual void SetDamping(
unsigned int _index,
57 const double _damping);
60 public:
virtual bool SetHighStop(
unsigned int _index,
64 public:
virtual bool SetLowStop(
unsigned int _index,
68 public:
virtual math::Angle GetHighStop(
unsigned int _index);
71 public:
virtual math::Angle GetLowStop(
unsigned int _index);
74 public:
virtual double GetVelocity(
unsigned int _index)
const;
77 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
80 public:
virtual void SetMaxForce(
unsigned int _index,
double _force);
83 public:
virtual double GetMaxForce(
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: btSliderConstraint *bulletSlider;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
A slider joint.
Definition: SliderJoint.hh:38
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:52
A slider joint.
Definition: BulletSliderJoint.hh:37
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48