#include <ISSPlanar3Link.h>
Public Member Functions | |
ISSPlanar3Link (RcsGraph *graph) | |
virtual | ~ISSPlanar3Link () |
unsigned int | getDim () const override |
void | getMinMax (double *min, double *max) const override |
virtual std::vector< std::string > | getNames () const |
void | applyInitialState (const MatNd *initialState) override |
![]() | |
InitStateSetter (RcsGraph *graph) | |
virtual | ~InitStateSetter () |
![]() | |
BoxSpaceProvider () | |
virtual | ~BoxSpaceProvider () |
BoxSpaceProvider (const BoxSpaceProvider &)=delete | |
BoxSpaceProvider & | operator= (const BoxSpaceProvider &)=delete |
BoxSpaceProvider (BoxSpaceProvider &&)=delete | |
BoxSpaceProvider & | operator= (BoxSpaceProvider &&)=delete |
const BoxSpace * | getSpace () const |
Private Attributes | |
RcsBody * | link1 |
RcsBody * | link2 |
RcsBody * | link3 |
Additional Inherited Members | |
![]() | |
RcsGraph * | graph |
Initial state setter for the planar-3-link environment. The initial state consists of the 3 joint angles.
Definition at line 43 of file ISSPlanar3Link.h.
Rcs::ISSPlanar3Link::ISSPlanar3Link | ( | RcsGraph * | graph | ) |
Constructor. The passed graph must contain three bodies named 'Link1', 'Link2', and 'Link3'.
graph | graph to set the state on |
Definition at line 39 of file ISSPlanar3Link.cpp.
|
virtual |
Definition at line 50 of file ISSPlanar3Link.cpp.
|
overridevirtual |
Set initial state of the graph.
Implements Rcs::InitStateSetter.
Definition at line 76 of file ISSPlanar3Link.cpp.
|
overridevirtual |
Provides the number of elements in the space. Since the BoxSpace object will be cached, this must not change.
Implements Rcs::BoxSpaceProvider.
Definition at line 55 of file ISSPlanar3Link.cpp.
|
overridevirtual |
Provides the minimum and maximum state values. The default implementation uses -inf and inf.
Reimplemented from Rcs::InitStateSetter.
Definition at line 60 of file ISSPlanar3Link.cpp.
|
virtual |
Provides names for each entry of the space.
These are intended for use in python, i.e., for pandas dataframe column names.
Reimplemented from Rcs::BoxSpaceProvider.
Definition at line 71 of file ISSPlanar3Link.cpp.
|
private |
Definition at line 64 of file ISSPlanar3Link.h.
|
private |
Definition at line 65 of file ISSPlanar3Link.h.
|
private |
Definition at line 66 of file ISSPlanar3Link.h.