RcsPySim
A robot control and simulation library
Rcs::OMBodyStateAngularPositions Class Reference

#include <OMBodyStateAngular.h>

Inheritance diagram for Rcs::OMBodyStateAngularPositions:
Collaboration diagram for Rcs::OMBodyStateAngularPositions:

Public Member Functions

 OMBodyStateAngularPositions (RcsGraph *graph, const char *effectorName, const char *refBodyName=NULL, const char *refFrameName=NULL)
 
- Public Member Functions inherited from Rcs::OMTaskPositions
 OMTaskPositions (Task *task)
 
virtual ~OMTaskPositions ()
 
 OMTaskPositions (const OMTaskPositions &)=delete
 
OMTaskPositionsoperator= (const OMTaskPositions &)=delete
 
 OMTaskPositions (OMTaskPositions &&)=delete
 
OMTaskPositionsoperator= (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
 
OMTaskPositionssetMinState (double minState)
 
OMTaskPositionssetMinState (std::vector< double > minState)
 
OMTaskPositionssetMaxState (double maxState)
 
OMTaskPositionssetMaxState (std::vector< double > maxState)
 
Task * getTask () const
 
- Public Member Functions inherited from Rcs::ObservationModel
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
 
- Public Member Functions inherited from Rcs::BoxSpaceProvider
 BoxSpaceProvider ()
 
virtual ~BoxSpaceProvider ()
 
 BoxSpaceProvider (const BoxSpaceProvider &)=delete
 
BoxSpaceProvideroperator= (const BoxSpaceProvider &)=delete
 
 BoxSpaceProvider (BoxSpaceProvider &&)=delete
 
BoxSpaceProvideroperator= (BoxSpaceProvider &&)=delete
 
const BoxSpacegetSpace () const
 

Additional Inherited Members

- Protected Member Functions inherited from Rcs::OMTaskPositions
void initTaskBodyNames (const char *effectorName, const char *refBodyName, const char *refFrameName)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ OMBodyStateAngularPositions()

Rcs::OMBodyStateAngularPositions::OMBodyStateAngularPositions ( RcsGraph *  graph,
const char *  effectorName,
const char *  refBodyName = NULL,
const char *  refFrameName = NULL 
)

Constructor

Parameters
graphWorld to observe
effectorNameName of effector body, a.k.a. the body controlled by the task
refBodyNameName of reference body, a.k.a. the body the task coordinates should be relative to. Set to NULL to use the world origin.
refFrameNameName 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.


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