Go to the documentation of this file.
22 #ifndef GAZEBO_PHYSICS_HINGE2JOINT_HH_
23 #define GAZEBO_PHYSICS_HINGE2JOINT_HH_
26 #include <ignition/math/Pose3.hh>
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"));
virtual void Load(sdf::ElementPtr _sdf)
Load the joint.
Definition: Hinge2Joint.hh:58
Forward declarations for the common classes.
Definition: Animation.hh:27
virtual unsigned int DOF() const
Definition: Hinge2Joint.hh:53
A two axis hinge joint.
Definition: Hinge2Joint.hh:42
@ HINGE2_JOINT
Hing2Joint type.
Definition: Base.hh:97
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78
virtual ~Hinge2Joint()
Destructor.
Definition: Hinge2Joint.hh:49
Hinge2Joint(BasePtr _parent)
Constructor.
Definition: Hinge2Joint.hh:45