#include <ISSBoxShelving.h>
Public Member Functions | |
ISSBoxShelving (RcsGraph *graph, bool fixedInitState) | |
virtual | ~ISSBoxShelving () |
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 |
RcsBody * | link2L |
RcsBody * | link4L |
Additional Inherited Members | |
![]() | |
RcsGraph * | graph |
Initial state setter for the box shelving task. The initial state consists of the the x and y position of the base, the z position of the rail and two joint angles of the left LBR arm.
Definition at line 44 of file ISSBoxShelving.h.
Rcs::ISSBoxShelving::ISSBoxShelving | ( | RcsGraph * | graph, |
bool | fixedInitState | ||
) |
Constructor. The passed graph must contain the bodies ImetronPlatform, RailBot, lbr_link_2_L, lbr_link_4_L.
graph | graph to set the state on |
Definition at line 39 of file ISSBoxShelving.cpp.
|
virtual |
Definition at line 53 of file ISSBoxShelving.cpp.
|
overridevirtual |
Set initial state of the graph.
Implements Rcs::InitStateSetter.
Definition at line 84 of file ISSBoxShelving.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 58 of file ISSBoxShelving.cpp.
|
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 ISSBoxShelving.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 79 of file ISSBoxShelving.cpp.
|
private |
Definition at line 65 of file ISSBoxShelving.h.
|
private |
Definition at line 68 of file ISSBoxShelving.h.
|
private |
Definition at line 69 of file ISSBoxShelving.h.
|
private |
Definition at line 66 of file ISSBoxShelving.h.
|
private |
Definition at line 67 of file ISSBoxShelving.h.