PrismaticJoint Class Reference

A type of joint that translates along the z-axis of the joint frame. More...

#include <joint.h>

Inheritance diagram for PrismaticJoint:
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)
 PrismaticJoint (KinematicChain *k)
virtual int setVal (double q)

Detailed Description

A type of joint that translates along the z-axis of the joint frame.

A specific type of joint used for linear motion.

Definition at line 336 of file joint.h.


Constructor & Destructor Documentation

PrismaticJoint::PrismaticJoint ( KinematicChain k  )  [inline]

Stub

Definition at line 341 of file joint.h.


Member Function Documentation

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

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

Implements Joint.

Definition at line 283 of file joint.cpp.

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

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

Implements Joint.

Definition at line 359 of file joint.h.

transf PrismaticJoint::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 355 of file joint.h.

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

Returns the type of this joint: PRISMATIC.

Implements Joint.

Definition at line 353 of file joint.h.

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

Returns the current value of this joint.

Implements Joint.

Definition at line 350 of file joint.h.

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

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

Implements Joint.

Definition at line 205 of file joint.cpp.

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

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

Implements Joint.

Definition at line 271 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 Fri Jan 11 11:20:38 2013