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

#include <ISSQuanserQube.h>

Inheritance diagram for Rcs::ISSQuanserQube:
Collaboration diagram for Rcs::ISSQuanserQube:

Public Member Functions

 ISSQuanserQube (RcsGraph *graph)
 
virtual ~ISSQuanserQube ()
 
unsigned int getDim () const override
 
virtual std::vector< std::string > getNames () const
 
void getMinMax (double *min, double *max) const override
 
void applyInitialState (const MatNd *initialState) override
 
- Public Member Functions inherited from Rcs::InitStateSetter
 InitStateSetter (RcsGraph *graph)
 
virtual ~InitStateSetter ()
 
- 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
 

Private Attributes

RcsBody * arm
 
RcsBody * pendulum
 

Additional Inherited Members

- Protected Attributes inherited from Rcs::InitStateSetter
RcsGraph * graph
 

Detailed Description

Definition at line 39 of file ISSQuanserQube.h.

Constructor & Destructor Documentation

◆ ISSQuanserQube()

Rcs::ISSQuanserQube::ISSQuanserQube ( RcsGraph *  graph)

Definition at line 39 of file ISSQuanserQube.cpp.

◆ ~ISSQuanserQube()

Rcs::ISSQuanserQube::~ISSQuanserQube ( )
virtual

Definition at line 48 of file ISSQuanserQube.cpp.

Member Function Documentation

◆ applyInitialState()

void Rcs::ISSQuanserQube::applyInitialState ( const MatNd *  initialState)
overridevirtual

Set initial state of the graph.

Implements Rcs::InitStateSetter.

Definition at line 75 of file ISSQuanserQube.cpp.

◆ getDim()

unsigned int Rcs::ISSQuanserQube::getDim ( ) const
overridevirtual

Provides the number of elements in the space. Since the BoxSpace object will be cached, this must not change.

Returns
number of elements for the space.

Implements Rcs::BoxSpaceProvider.

Definition at line 53 of file ISSQuanserQube.cpp.

◆ getMinMax()

void Rcs::ISSQuanserQube::getMinMax ( double *  min,
double *  max 
) const
overridevirtual

Provides the minimum and maximum state values. The default implementation uses -inf and inf.

Reimplemented from Rcs::InitStateSetter.

Definition at line 63 of file ISSQuanserQube.cpp.

◆ getNames()

std::vector< std::string > Rcs::ISSQuanserQube::getNames ( ) const
virtual

Provides names for each entry of the space.

These are intended for use in python, i.e., for pandas dataframe column names.

Returns
a vector of name strings. Must be of length getDim() or empty.

Reimplemented from Rcs::BoxSpaceProvider.

Definition at line 58 of file ISSQuanserQube.cpp.

Member Data Documentation

◆ arm

RcsBody* Rcs::ISSQuanserQube::arm
private

Definition at line 55 of file ISSQuanserQube.h.

◆ pendulum

RcsBody* Rcs::ISSQuanserQube::pendulum
private

Definition at line 56 of file ISSQuanserQube.h.


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