#include <ISSBallInTube.h>
Public Member Functions | |
ISSBallInTube (RcsGraph *graph, bool fixedInitState) | |
virtual | ~ISSBallInTube () |
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 | |
bool | fixedInitState |
RcsBody * | platform |
RcsBody * | rail |
Additional Inherited Members | |
![]() | |
RcsGraph * | graph |
Initial state setter for the ball-in-tube task. The initial state consists of the the x and y position of the base, and the z position of the rail.
Definition at line 43 of file ISSBallInTube.h.
Rcs::ISSBallInTube::ISSBallInTube | ( | RcsGraph * | graph, |
bool | fixedInitState | ||
) |
Constructor. The passed graph must contain the bodies ImetronPlatform, RailBot.
graph | graph to set the state on |
Definition at line 39 of file ISSBallInTube.cpp.
|
virtual |
Definition at line 48 of file ISSBallInTube.cpp.
|
overridevirtual |
Set initial state of the graph.
Implements Rcs::InitStateSetter.
Definition at line 75 of file ISSBallInTube.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 53 of file ISSBallInTube.cpp.
|
overridevirtual |
Provides the minimum and maximum state values. The default implementation uses -inf and inf.
Reimplemented from Rcs::InitStateSetter.
Definition at line 58 of file ISSBallInTube.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 70 of file ISSBallInTube.cpp.
|
private |
Definition at line 64 of file ISSBallInTube.h.
|
private |
Definition at line 65 of file ISSBallInTube.h.
|
private |
Definition at line 66 of file ISSBallInTube.h.