#include <OMBodyStateAngular.h>
Public Member Functions | |
OMBodyStateAngularPositions (RcsGraph *graph, const char *effectorName, const char *refBodyName=NULL, const char *refFrameName=NULL) | |
![]() | |
OMTaskPositions (Task *task) | |
virtual | ~OMTaskPositions () |
OMTaskPositions (const OMTaskPositions &)=delete | |
OMTaskPositions & | operator= (const OMTaskPositions &)=delete |
OMTaskPositions (OMTaskPositions &&)=delete | |
OMTaskPositions & | operator= (OMTaskPositions &&)=delete |
virtual unsigned int | getStateDim () const |
virtual unsigned int | getVelocityDim () const |
virtual void | computeObservation (double *state, double *velocity, const MatNd *currentAction, double dt) const |
virtual void | getLimits (double *minState, double *maxState, double *maxVelocity) const |
virtual std::vector< std::string > | getStateNames () const |
OMTaskPositions * | setMinState (double minState) |
OMTaskPositions * | setMinState (std::vector< double > minState) |
OMTaskPositions * | setMaxState (double maxState) |
OMTaskPositions * | setMaxState (std::vector< double > maxState) |
Task * | getTask () const |
![]() | |
virtual | ~ObservationModel () |
MatNd * | computeObservation (const MatNd *currentAction, double dt) const |
void | computeObservation (MatNd *observation, const MatNd *currentAction, double dt) const |
virtual void | reset () |
virtual std::vector< std::string > | getVelocityNames () const |
virtual void | getMinMax (double *min, double *max) const final |
virtual unsigned int | getDim () const final |
virtual std::vector< std::string > | getNames () const final |
template<typename OM > | |
OM * | findModel () |
template<typename OM > | |
Offsets | findOffsets () |
virtual std::vector< ObservationModel * > | getNested () const |
![]() | |
BoxSpaceProvider () | |
virtual | ~BoxSpaceProvider () |
BoxSpaceProvider (const BoxSpaceProvider &)=delete | |
BoxSpaceProvider & | operator= (const BoxSpaceProvider &)=delete |
BoxSpaceProvider (BoxSpaceProvider &&)=delete | |
BoxSpaceProvider & | operator= (BoxSpaceProvider &&)=delete |
const BoxSpace * | getSpace () const |
Additional Inherited Members | |
![]() | |
void | initTaskBodyNames (const char *effectorName, const char *refBodyName, const char *refFrameName) |
Observation model of angular body state. Observes the rotation of the body around all three axis, but not the angular velocity.
Definition at line 69 of file OMBodyStateAngular.h.
Rcs::OMBodyStateAngularPositions::OMBodyStateAngularPositions | ( | RcsGraph * | graph, |
const char * | effectorName, | ||
const char * | refBodyName = NULL , |
||
const char * | refFrameName = NULL |
||
) |
Constructor
graph | World to observe |
effectorName | Name of effector body, a.k.a. the body controlled by the task |
refBodyName | Name of reference body, a.k.a. the body the task coordinates should be relative to. Set to NULL to use the world origin. |
refFrameName | Name of the reference frame body. The task coordinates will be expressed in this body's frame if set. If this is NULL, refBodyName will be used. |
Definition at line 47 of file OMBodyStateAngular.cpp.