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 void SetMaxForce(
unsigned int _index,
double _force);
85 public:
virtual double GetMaxForce(
unsigned int _index);
88 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
91 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
94 public:
virtual bool SetParam(
const std::string &_key,
96 const boost::any &_value);
99 public:
virtual double GetParam(
const std::string &_key,
100 unsigned int _index);
103 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
106 private: btSliderConstraint *bulletSlider;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:68
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:318
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