18 #ifndef _GAZEBO_DARTBALLJOINT_HH_
19 #define _GAZEBO_DARTBALLJOINT_HH_
43 public:
virtual void Load(sdf::ElementPtr _sdf);
46 public:
virtual void Init();
49 public:
virtual ignition::math::Vector3d Anchor(
50 const unsigned int _index)
const;
53 public:
virtual ignition::math::Vector3d GlobalAxis(
54 const unsigned int _index)
const;
57 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
60 public:
virtual double GetVelocity(
unsigned int _index)
const;
63 public:
virtual double PositionImpl(
const unsigned int _index)
const;
66 protected:
void SetForceImpl(
unsigned int _index,
double _torque);
69 public:
virtual void SetAxis(
const unsigned int _index,
70 const ignition::math::Vector3d &_axis);
73 public:
virtual double UpperLimit(
const unsigned int _index)
const;
76 public:
virtual double LowerLimit(
const unsigned int _index)
const;
79 public:
virtual void SetUpperLimit(
const unsigned int _index,
83 public:
virtual void SetLowerLimit(
const unsigned int _index,
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An DARTBallJoint.
Definition: DARTBallJoint.hh:33
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77
Base class for a ball joint.
Definition: BallJoint.hh:40