22#ifndef GAZEBO_PHYSICS_HINGE2JOINT_HH_
23#define GAZEBO_PHYSICS_HINGE2JOINT_HH_
26#include <ignition/math/Pose3.hh>
46 {this->AddType(Base::HINGE2_JOINT);}
53 public:
virtual unsigned int DOF()
const
58 public:
virtual void Load(sdf::ElementPtr _sdf)
63 _sdf->GetElement(
"axis")->Get<ignition::math::Vector3d>(
"xyz"));
66 _sdf->GetElement(
"axis2")->Get<ignition::math::Vector3d>(
"xyz"));
@ HINGE2_JOINT
Hing2Joint type.
Definition Base.hh:96
A two axis hinge joint.
Definition Hinge2Joint.hh:42
virtual ~Hinge2Joint()
Destructor.
Definition Hinge2Joint.hh:49
Hinge2Joint(BasePtr _parent)
Constructor.
Definition Hinge2Joint.hh:45
virtual void Load(sdf::ElementPtr _sdf)
Load the joint.
Definition Hinge2Joint.hh:58
virtual unsigned int DOF() const
Definition Hinge2Joint.hh:53
boost::shared_ptr< Base > BasePtr
Definition PhysicsTypes.hh:77
Forward declarations for the common classes.
Definition Animation.hh:27