102 inline const std::string &
Name(
void)
const {
105 inline std::string &
Name(
void) {
double GetForceTorque() const
Return the joint force or torque.
cmnJointType GetType() const
Return the type of the joint.
static const cmnJointType HINGE
Definition robJoint.h:41
static const cmnJointType UNDEFINED
Definition robJoint.h:40
double GetPosition() const
Return the joint position.
virtual robJoint::Errno Read(std::istream &is)
Read from an input stream.
double & PositionMin(void)
robJoint(cmnJointType type, robJoint::Mode mode, double offset, double min, double max, double ftmax)
cmnJointType Type
Definition robJoint.h:39
robJoint::Mode GetMode() const
Return the mode of the joint.
double GetVelocity() const
Return the joint velocity.
std::string & Name(void)
Definition robJoint.h:105
double & PositionMax(void)
robJoint()
Default constructor.
Errno
Definition robJoint.h:55
@ ESUCCESS
Definition robJoint.h:56
@ EFAILURE
Definition robJoint.h:57
void SetPosition(double q)
Set the joint position.
const std::string & Name(void) const
Definition robJoint.h:102
virtual robJoint::Errno Write(std::ostream &os) const
Read from an input stream.
const double & PositionMax(void) const
Return the maximum position.
Mode
Joint modes.
Definition robJoint.h:50
@ ACTIVE
Definition robJoint.h:51
@ PASSIVE
Definition robJoint.h:52
void SetForceTorque(double ft)
Set the force/torque.
void SetVelocity(double qd)
Set the joint velocity.
virtual ~robJoint()
Definition robJoint.h:100
double & ForceTorqueMax(void)
double PositionOffset() const
Return the offset position.
const double & PositionMin(void) const
Return the minimum position.
static const cmnJointType SLIDER
Definition robJoint.h:42
static const cmnJointType UNIVERSAL
Definition robJoint.h:43
const double & ForceTorqueMax(void) const
Return the maximum force/torque.
static const cmnJointType BALLSOCKET
Definition robJoint.h:44
void SetPositionOffset(const double offset)
#define CISST_EXPORT
Definition cmnExportMacros.h:50
cmnJointType
Definition cmnJointType.h:29
@ CMN_JOINT_PRISMATIC
Definition cmnJointType.h:29
@ CMN_JOINT_REVOLUTE
Definition cmnJointType.h:29
@ CMN_JOINT_BALL_SOCKET
Definition cmnJointType.h:29
@ CMN_JOINT_UNDEFINED
Definition cmnJointType.h:29
@ CMN_JOINT_UNIVERSAL
Definition cmnJointType.h:29