ERC CISST - cisst software

robJoint Class Reference

#include <robJoint.h>

Inheritance diagram for robJoint:

Inheritance graph
[legend]
Collaboration diagram for robJoint:

Collaboration graph
[legend]
List of all members.

Detailed Description

These are used to identify the type of joints.

Definition at line 29 of file robJoint.h.

Public Types

Public Member Functions


Member Function Documentation

double robJoint::GetPosition (  )  const

If supported, this returns the joint position.

Returns:
The joint angular or linear position (no unit)

double robJoint::GetVelocity (  )  const

If supported, this returns the joint velocity.

Returns:
The joint angular or linear velocity (no unit)

double robJoint::GetForceTorque (  )  const

If supported, this returns the joint force or torque.

Returns:
The joint torque or force (no unit)

void robJoint::SetPosition ( double  q  ) 

If supported, this sets the joint position.

The position is NOT clipped to the position limits.

Parameters:
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.

Parameters:
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.

Parameters:
ft The new force/torque

double robJoint::PositionOffset (  )  const

Returns:
The offset position of the joint.

This value has no unit.

double robJoint::PositionMin (  )  const

Returns:
The minimum position of the joint.

This value has no unit.

double robJoint::PositionMax (  )  const

Returns:
The maximum position of the joint.

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.

Parameters:
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.

Parameters:
os[in] The output stream


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu