#include <robJoint.h>
Inheritance diagram for robJoint:


Definition at line 29 of file robJoint.h.
| double robJoint::GetPosition | ( | ) | const |
If supported, this returns the joint position.
| double robJoint::GetVelocity | ( | ) | const |
If supported, this returns the joint velocity.
| double robJoint::GetForceTorque | ( | ) | const |
If supported, this returns the joint force or torque.
| void robJoint::SetPosition | ( | double | q | ) |
If supported, this sets the joint position.
The position is NOT clipped to the position limits.
| q | The new joint angular or linear position |
| void robJoint::SetVelocity | ( | double | qd | ) |
If supported, this sets the joint velocity.
The velocity is NOT clipped to the velocity limit.
| qd | The new joint angular or linear velocity. |
| void robJoint::SetForceTorque | ( | double | ft | ) |
If supported, this sets the force/torque.
The new value is NOT clipped to the force/torque limit.
| ft | The new force/torque |
| double robJoint::PositionOffset | ( | ) | const |
This value has no unit.
| double robJoint::PositionMin | ( | ) | const |
This value has no unit.
| double robJoint::PositionMax | ( | ) | const |
This value has no unit.
| robJoint::Errno robJoint::ReadJoint | ( | std::istream & | is | ) |
Use this method to configure the parameters of the joints from an input stream.
The parameters are in the following order: type, mode, position offset, min position, max position, max force/torque.
| is[in] | The input stream |
| robJoint::Errno robJoint::WriteJoint | ( | std::ostream & | os | ) | const |
Use this method to write the parameters of the joints to an output stream.
This method can be overloaded for more specific joints.
| os[in] | The output stream |