17 #ifndef _ODESCREWJOINT_HH_
18 #define _ODESCREWJOINT_HH_
41 public:
virtual void Load(sdf::ElementPtr _sdf);
44 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
47 public:
virtual void SetAnchor(
unsigned int _index,
51 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
54 public:
virtual void SetAxis(
unsigned int _index,
58 public:
virtual void SetThreadPitch(
unsigned int _index,
62 public:
virtual void SetThreadPitch(
double _threadPitch);
65 public:
virtual double GetThreadPitch(
unsigned int _index);
68 public:
virtual double GetThreadPitch();
71 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
74 public:
virtual double GetVelocity(
unsigned int _index)
const;
77 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
80 public:
virtual void SetMaxForce(
unsigned int _index,
double _t);
83 public:
virtual double GetMaxForce(
unsigned int _index);
86 public:
virtual double GetParam(
unsigned int _parameter)
const;
89 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
92 public:
virtual bool SetParam(
const std::string &_key,
94 const boost::any &_value);
97 public:
virtual double GetParam(
const std::string &_key,
101 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
A screw joint.
Definition: ODEScrewJoint.hh:30
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:68
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
#define GZ_PHYSICS_ODE_VISIBLE
Definition: system.hh:343
A screw joint, which has both prismatic and rotational DOFs.
Definition: ScrewJoint.hh:34
An angle and related functions.
Definition: Angle.hh:53