rci::TorqueSensing Class Reference
By implementing this interface, a node is characterized as being able to sense joint torques. More...
#include <Sensing.h>
Inheritance diagram for rci::TorqueSensing:
Collaboration diagram for rci::TorqueSensing:
Public Member Functions | |
virtual JointTorquesPtr | getTorque () const |
Returns joint torque. | |
virtual void | updateTorque (JointTorquesPtr torque) |
Updates internal representation of torques. | |
Protected Member Functions | |
TorqueSensing (unsigned int dimension=1) | |
virtual | ~TorqueSensing () |
Protected Attributes | |
JointTorquesPtr | torques |
Latest sensor read-out. |
Detailed Description
By implementing this interface, a node is characterized as being able to sense joint torques.
Definition at line 191 of file Sensing.h.
Constructor & Destructor Documentation
rci::TorqueSensing::TorqueSensing | ( | unsigned int | dimension = 1 |
) | [protected] |
Definition at line 141 of file Sensing.cpp.
rci::TorqueSensing::~TorqueSensing | ( | ) | [protected, virtual] |
Definition at line 145 of file Sensing.cpp.
Member Function Documentation
JointTorquesPtr rci::TorqueSensing::getTorque | ( | ) | const [virtual] |
Returns joint torque.
- Returns:
- Joint torque
Implements rci::TorqueSensingIF.
Definition at line 125 of file Sensing.cpp.
References torques.
void rci::TorqueSensing::updateTorque | ( | JointTorquesPtr | torque | ) | [virtual] |
Updates internal representation of torques.
Implements rci::TorqueSensingIF.
Definition at line 133 of file Sensing.cpp.
References torques.
Member Data Documentation
JointTorquesPtr rci::TorqueSensing::torques [protected] |
Latest sensor read-out.
Definition at line 213 of file Sensing.h.
Referenced by getTorque(), and updateTorque().
The documentation for this class was generated from the following files:
- rci/Sensing.h
- rci/Sensing.cpp
Generated on Thu Aug 2 14:03:06 2012 for RCI by 1.6.3