18 #ifndef _GAZEBO_DARTBALLJOINT_HH_
19 #define _GAZEBO_DARTBALLJOINT_HH_
40 public:
virtual void Load(sdf::ElementPtr _sdf);
43 public:
virtual void Init();
46 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
49 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
52 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
55 public:
virtual double GetVelocity(
unsigned int _index)
const;
58 public:
virtual double GetMaxForce(
unsigned int _index);
61 public:
virtual void SetMaxForce(
unsigned int _index,
double _t);
64 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
67 protected:
void SetForceImpl(
unsigned int _index,
double _torque);
70 public:
virtual void SetAxis(
unsigned int _index,
74 public:
virtual math::Angle GetHighStop(
unsigned int _index);
77 public:
virtual math::Angle GetLowStop(
unsigned int _index);
80 public:
virtual bool SetHighStop(
unsigned int _index,
84 public:
virtual bool SetLowStop(
unsigned int _index,
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
dart::dynamics::BallJoint * dtBallJoint
Definition: DARTBallJoint.hh:88
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An DARTBallJoint.
Definition: DARTBallJoint.hh:30
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