rci::PositionSensing Class Reference

By implementing this interface, a node is characterized as being able to sense joint angles (encoder value). More...

#include <Sensing.h>

Inheritance diagram for rci::PositionSensing:
Collaboration diagram for rci::PositionSensing:

List of all members.

Public Member Functions

virtual JointAnglesPtr getJointPosition () const
 Returns joint position (encoder value).
virtual void updateJointPosition (JointAnglesPtr angle)
 Updates internal representation of joint position / angle.

Protected Member Functions

 PositionSensing (unsigned int dimension=1)
virtual ~PositionSensing ()

Protected Attributes

JointAnglesPtr _latestJointPosition
 Latest sensor read-out.

Detailed Description

By implementing this interface, a node is characterized as being able to sense joint angles (encoder value).

Definition at line 64 of file Sensing.h.


Constructor & Destructor Documentation

rci::PositionSensing::PositionSensing ( unsigned int  dimension = 1  )  [protected]

Definition at line 52 of file Sensing.cpp.

rci::PositionSensing::~PositionSensing (  )  [protected, virtual]

Definition at line 57 of file Sensing.cpp.


Member Function Documentation

JointAnglesPtr rci::PositionSensing::getJointPosition (  )  const [virtual]

Returns joint position (encoder value).

Implements rci::PositionSensingIF.

Definition at line 44 of file Sensing.cpp.

References _latestJointPosition.

void rci::PositionSensing::updateJointPosition ( JointAnglesPtr  angle  )  [virtual]

Updates internal representation of joint position / angle.

Implements rci::PositionSensingIF.

Definition at line 48 of file Sensing.cpp.

References _latestJointPosition.


Member Data Documentation

Latest sensor read-out.

Definition at line 84 of file Sensing.h.

Referenced by getJointPosition(), and updateJointPosition().


The documentation for this class was generated from the following files:
Generated on Thu Aug 2 14:03:06 2012 for RCI by  doxygen 1.6.3