RevoluteJoint Class Reference

A type of joint that rotates about the z-axis of the joint frame. More...

#include <joint.h>

Inheritance diagram for RevoluteJoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void applyInternalWrench (double magnitude)
transf getDynamicsTran () const
transf getTran (double jointVal) const
virtual JointT getType () const
virtual double getVal () const
virtual int initJointFromXml (const TiXmlElement *root, int jnum)
 RevoluteJoint (KinematicChain *k)
virtual int setVal (double q)

Detailed Description

A type of joint that rotates about the z-axis of the joint frame.

A specific type of joint used for rotary motion.

Definition at line 356 of file joint.h.


Constructor & Destructor Documentation

RevoluteJoint::RevoluteJoint ( KinematicChain k  )  [inline]

Stub

Definition at line 361 of file joint.h.


Member Function Documentation

void RevoluteJoint::applyInternalWrench ( double  magnitude  )  [virtual]

Applies equal and opposite torques of magnitude f about the axis worldAxis to the two links connected to this joint.

Implements Joint.

Definition at line 377 of file joint.cpp.

transf RevoluteJoint::getDynamicsTran (  )  const [inline, virtual]

Returns the current joint transform as computed from IK during dynamic simulation.

Implements Joint.

Definition at line 379 of file joint.h.

transf RevoluteJoint::getTran ( double  jointVal  )  const [inline, virtual]

Returns the transform to the next joint frame the results from substituting jointVal for the current joint value.

Implements Joint.

Definition at line 376 of file joint.h.

virtual JointT RevoluteJoint::getType (  )  const [inline, virtual]

Returns the type of this joint: REVOLUTE.

Implements Joint.

Definition at line 373 of file joint.h.

virtual double RevoluteJoint::getVal (  )  const [inline, virtual]

Returns the current value of this joint.

Implements Joint.

Definition at line 366 of file joint.h.

int RevoluteJoint::initJointFromXml ( const TiXmlElement root,
int  jnum 
) [virtual]

Initializes a revolute joint from an XML DOM read from the robot configuration file. This returns FAILURE if it could not read all the necessary values from the provided string, otherwise it returns SUCESS.

Implements Joint.

Definition at line 290 of file joint.cpp.

int RevoluteJoint::setVal ( double  q  )  [virtual]

Sets the current joint value to q. The theta value of the DHTransform is then set to q + the joint offset c.

Implements Joint.

Definition at line 365 of file joint.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:24 2012