Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DynamicRobotState Class Reference

This class provides a dynamic storage and serialization of robot state, such as output positions, buttons, and sensors. More...

#include <DynamicRobotState.h>

Inheritance diagram for DynamicRobotState:

Detailed Description

This class provides a dynamic storage and serialization of robot state, such as output positions, buttons, and sensors.

WorldState provides static storage for sensors, combined with PostureEngine for output values. In addition SensorState (from the hardware abstraction layer's DataSource) also serves this role. However all of these are based on the RobotInfo's declaration of offsets and array lengths, whereas this class relies on named entries which may or may not map to the current model

Definition at line 13 of file DynamicRobotState.h.

List of all members.

Public Member Functions

 DynamicRobotState ()
 constructor
 DynamicRobotState (const DynamicRobotState &drs)
 constructor

Public Attributes

plist::DictionaryOf
< plist::Primitive< float > > 
outputs
 values for robot effectors, e.g. joint angles
plist::DictionaryOf
< plist::Primitive< float > > 
buttons
 values for buttons and generally sensors which should generate an event when a threshold is crossed
plist::DictionaryOf
< plist::Primitive< float > > 
sensors
 values for other sensors
plist::DictionaryOf
< plist::Primitive< float > > 
torques
 force information corresponding to outputs
plist::DictionaryOf< plist::PointframePositions
 reference frame locations
plist::DictionaryOf< plist::PointframeOrientations
 reference frame orientations (as axis component of quaternion, use fmat::Quaternion::fromAxis(x) to "rehydrate")

Protected Member Functions

void init ()
 adds members as plist entries for serialization

Constructor & Destructor Documentation

DynamicRobotState::DynamicRobotState (  ) 

constructor

Definition at line 16 of file DynamicRobotState.h.

DynamicRobotState::DynamicRobotState ( const DynamicRobotState drs  ) 

constructor

Definition at line 18 of file DynamicRobotState.h.


Member Function Documentation

void DynamicRobotState::init (  )  [protected]

adds members as plist entries for serialization

Definition at line 30 of file DynamicRobotState.h.

Referenced by DynamicRobotState().


Member Data Documentation

values for buttons and generally sensors which should generate an event when a threshold is crossed

Definition at line 21 of file DynamicRobotState.h.

Referenced by SensorContact::declareValues(), init(), and SensorContact::reclaimValues().

reference frame orientations (as axis component of quaternion, use fmat::Quaternion::fromAxis(x) to "rehydrate")

Definition at line 26 of file DynamicRobotState.h.

Referenced by init().

reference frame locations

Definition at line 25 of file DynamicRobotState.h.

Referenced by init().

values for robot effectors, e.g. joint angles

Definition at line 20 of file DynamicRobotState.h.

Referenced by SensorFeedback::declareValues(), init(), and SensorFeedback::reclaimValues().

force information corresponding to outputs

Definition at line 23 of file DynamicRobotState.h.

Referenced by init().


The documentation for this class was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3