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

#include <OMBodyStateLinear.h>

Inheritance diagram for Rcs::OMBodyStateLinearPositions:
Collaboration diagram for Rcs::OMBodyStateLinearPositions:

Public Member Functions

 OMBodyStateLinearPositions (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 linear body state. Observes the position of the body along all three axis, but not the linear velocity.

Definition at line 66 of file OMBodyStateLinear.h.

Constructor & Destructor Documentation

◆ OMBodyStateLinearPositions()

Rcs::OMBodyStateLinearPositions::OMBodyStateLinearPositions ( 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 48 of file OMBodyStateLinear.cpp.


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