Go to the documentation of this file.
18 #ifndef _GAZEBO_DARTHINGE2JOINT_HH_
19 #define _GAZEBO_DARTHINGE2JOINT_HH_
43 public:
virtual void Load(sdf::ElementPtr _sdf);
46 public:
virtual void Init();
50 const unsigned int _index)
const;
53 public:
virtual void SetAxis(
const unsigned int _index,
54 const ignition::math::Vector3d &_axis);
Forward declarations for the common classes.
Definition: Animation.hh:27
DARTHinge2Joint(BasePtr _parent)
Constructor.
A two axis hinge joint.
Definition: DARTHinge2Joint.hh:34
virtual void Init()
Initialize a joint.
A two axis hinge joint.
Definition: Hinge2Joint.hh:42
virtual ignition::math::Vector3d GlobalAxis(const unsigned int _index) const
Get the axis of rotation in global cooridnate frame.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78
virtual void SetAxis(const unsigned int _index, const ignition::math::Vector3d &_axis)
Set the axis of rotation where axis is specified in local joint frame.
virtual ~DARTHinge2Joint()
Destructor.
virtual void Load(sdf::ElementPtr _sdf)
Load the joint.