rci::VelocitySensing Class Reference
By implementing this interface, a node is characterized as being able to sense joint velocities (encoder value or derived). More...
#include <Sensing.h>
Public Member Functions | |
virtual JointVelocitiesPtr | getVelocity () const |
Returns joint velocity. | |
virtual void | updateJointVelocity (JointVelocitiesPtr vel) |
Updates internal representation of joint position / angle. | |
Protected Member Functions | |
VelocitySensing (unsigned int dimension=1) | |
virtual | ~VelocitySensing () |
Protected Attributes | |
JointVelocitiesPtr | _latestJointVelocity |
Latest sensor read-out. |
Detailed Description
By implementing this interface, a node is characterized as being able to sense joint velocities (encoder value or derived).
Definition at line 91 of file Sensing.h.
Constructor & Destructor Documentation
rci::VelocitySensing::VelocitySensing | ( | unsigned int | dimension = 1 |
) | [protected] |
Definition at line 68 of file Sensing.cpp.
rci::VelocitySensing::~VelocitySensing | ( | ) | [protected, virtual] |
Definition at line 73 of file Sensing.cpp.
Member Function Documentation
JointVelocitiesPtr rci::VelocitySensing::getVelocity | ( | ) | const [virtual] |
Returns joint velocity.
Implements rci::VelocitySensingIF.
Definition at line 60 of file Sensing.cpp.
References _latestJointVelocity.
void rci::VelocitySensing::updateJointVelocity | ( | JointVelocitiesPtr | vel | ) | [virtual] |
Updates internal representation of joint position / angle.
Implements rci::VelocitySensingIF.
Definition at line 64 of file Sensing.cpp.
References _latestJointVelocity.
Member Data Documentation
Latest sensor read-out.
Definition at line 111 of file Sensing.h.
Referenced by getVelocity(), and updateJointVelocity().
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