17 #ifndef _GAZEBO_BULLETSLIDERJOINT_HH_
18 #define _GAZEBO_BULLETSLIDERJOINT_HH_
27 class btSliderConstraint;
47 protected:
virtual void Load(sdf::ElementPtr _sdf);
50 protected:
virtual void Init();
53 public:
virtual void SetAxis(
const unsigned int _index,
54 const ignition::math::Vector3d &_axis);
57 public:
virtual void SetDamping(
unsigned int _index,
58 const double _damping);
61 public:
virtual void SetUpperLimit(
const unsigned int _index,
65 public:
virtual void SetLowerLimit(
const unsigned int _index,
69 public:
virtual double UpperLimit(
const unsigned int _index)
const;
72 public:
virtual double LowerLimit(
const unsigned int _index)
const;
75 public:
virtual double GetVelocity(
unsigned int _index)
const;
78 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
81 public:
virtual ignition::math::Vector3d GlobalAxis(
82 const unsigned int _index)
const;
85 public:
virtual double PositionImpl(
const 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;
104 private: ignition::math::Vector3d initialWorldAxis;
A slider joint.
Definition: SliderJoint.hh:38
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
A slider joint.
Definition: BulletSliderJoint.hh:38
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77