22 #ifndef _BULLETBALLJOINT_HH_
23 #define _BULLETBALLJOINT_HH_
30 class btPoint2PointConstraint;
50 public:
virtual void Load(sdf::ElementPtr _sdf);
53 public:
virtual void Init();
59 public:
virtual math::Vector3 GetAxis(
unsigned int _index)
const;
62 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
65 public:
virtual double GetVelocity(
unsigned int _index)
const;
68 public:
virtual double GetMaxForce(
unsigned int _index);
71 public:
virtual void SetMaxForce(
unsigned int _index,
double _t);
74 public:
virtual bool SetHighStop(
unsigned int _index,
78 public:
virtual bool SetLowStop(
unsigned int _index,
82 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
85 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
88 protected:
virtual void SetForceImpl(
unsigned int _index,
double _torque);
91 public:
virtual void SetAxis(
unsigned int _index,
95 public:
virtual math::Angle GetHighStop(
unsigned int _index);
98 public:
virtual math::Angle GetLowStop(
unsigned int _index);
101 private: btPoint2PointConstraint *bulletBall;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
BulletBallJoint class models a ball joint in Bullet.
Definition: BulletBallJoint.hh:41
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:52
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
Base class for a ball joint.
Definition: BallJoint.hh:40