22 #ifndef _BULLETBALLJOINT_HH_
23 #define _BULLETBALLJOINT_HH_
32 class btPoint2PointConstraint;
52 public:
virtual void Load(sdf::ElementPtr _sdf);
55 public:
virtual void Init();
58 public: ignition::math::Vector3d Anchor(
59 const unsigned int _index)
const;
62 public:
virtual math::Vector3 GetAxis(
unsigned int _index)
const
66 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
69 public:
virtual double GetVelocity(
unsigned int _index)
const;
72 public:
virtual void SetUpperLimit(
const unsigned int _index,
76 public:
virtual void SetLowerLimit(
const unsigned int _index,
80 public:
virtual double PositionImpl(
const unsigned int _index)
const;
83 public:
virtual ignition::math::Vector3d GlobalAxis(
84 const unsigned int _index)
const;
87 protected:
virtual void SetForceImpl(
unsigned int _index,
double _torque);
90 public:
virtual void SetAxis(
const unsigned int _index,
91 const ignition::math::Vector3d &_axis);
94 public:
virtual double UpperLimit(
const unsigned int _index)
const;
97 public:
virtual double LowerLimit(
const unsigned int _index)
const;
100 private: btPoint2PointConstraint *bulletBall;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
BulletBallJoint class models a ball joint in Bullet.
Definition: BulletBallJoint.hh:43
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77
Base class for a ball joint.
Definition: BallJoint.hh:40