17 #ifndef _GAZEBO_BULLETSLIDERJOINT_HH_
18 #define _GAZEBO_BULLETSLIDERJOINT_HH_
28 class btSliderConstraint;
48 protected:
virtual void Load(sdf::ElementPtr _sdf);
51 protected:
virtual void Init();
54 public:
virtual void SetAxis(
unsigned int _index,
58 public:
virtual void SetDamping(
unsigned int _index,
59 const double _damping);
62 public:
virtual bool SetHighStop(
unsigned int _index,
66 public:
virtual bool SetLowStop(
unsigned int _index,
70 public:
virtual math::Angle GetHighStop(
unsigned int _index);
73 public:
virtual math::Angle GetLowStop(
unsigned int _index);
76 public:
virtual double GetVelocity(
unsigned int _index)
const;
79 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
82 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
85 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
88 public:
virtual bool SetParam(
const std::string &_key,
90 const boost::any &_value);
93 public:
virtual double GetParam(
const std::string &_key,
97 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
100 private: btSliderConstraint *bulletSlider;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
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:53
A slider joint.
Definition: BulletSliderJoint.hh:39