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

#include <OMJointState.h>

Inheritance diagram for Rcs::OMJointStatePositions:
Collaboration diagram for Rcs::OMJointStatePositions:

Public Member Functions

 OMJointStatePositions (RcsGraph *graph, const char *jointName, bool wrapJointAngle)
 
virtual unsigned int getVelocityDim () const
 
- Public Member Functions inherited from Rcs::OMJointState
 OMJointState (RcsGraph *graph, const char *jointName, bool wrapJointAngle)
 
 OMJointState (RcsGraph *graph, const char *jointName)
 
virtual ~OMJointState ()
 
virtual unsigned int getStateDim () 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
 
- 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

- Static Public Member Functions inherited from Rcs::OMJointState
static ObservationModelobserveAllJoints (RcsGraph *graph)
 
static ObservationModelobserveUnconstrainedJoints (RcsGraph *graph)
 

Detailed Description

Observes joint positions and velocities for a single joint.

Definition at line 95 of file OMJointState.h.

Constructor & Destructor Documentation

◆ OMJointStatePositions()

Rcs::OMJointStatePositions::OMJointStatePositions ( RcsGraph *  graph,
const char *  jointName,
bool  wrapJointAngle 
)

Definition at line 142 of file OMJointState.cpp.

Member Function Documentation

◆ getVelocityDim()

unsigned int Rcs::OMJointStatePositions::getVelocityDim ( ) const
virtual

The number of velocity variables. The default implementation assumes that for each state there is a velocity.

Reimplemented from Rcs::OMJointState.

Definition at line 145 of file OMJointState.cpp.


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