Private Member Functions | |
virtual ActionModel * | createActionModel () |
virtual ObservationModel * | createObservationModel () |
virtual void | populatePhysicsParameters (PhysicsParameterManager *manager) |
virtual InitStateSetter * | createInitStateSetter () |
virtual void | initViewer (Rcs::Viewer *viewer) |
void | getHUDText (std::vector< std::string > &linesOut, double currentTime, const MatNd *obs, const MatNd *currentAction, PhysicsBase *simulator, PhysicsParameterManager *physicsManager, ForceDisturber *forceDisturber) override |
Additional Inherited Members | |
![]() | |
typedef ExperimentConfig *(* | ExperimentConfigCreateFunction) () |
![]() | |
ExperimentConfig () | |
virtual | ~ExperimentConfig () |
virtual ForceDisturber * | createForceDisturber () |
PhysicsParameterManager * | createPhysicsParameterManager () |
std::string | getHUDText (double currentTime, const MatNd *currentObservation, const MatNd *currentAction, PhysicsBase *simulator, PhysicsParameterManager *physicsManager, ForceDisturber *forceDisturber) |
![]() | |
static void | registerType (const char *name, ExperimentConfigCreateFunction creator) |
static ExperimentConfig * | create (PropertySource *properties) |
![]() | |
PropertySource * | properties |
RcsGraph * | graph |
ActionModel * | actionModel |
ObservationModel * | observationModel |
RcsCollisionMdl * | collisionMdl |
double | dt |
bool | checkJointLimits |
![]() | |
virtual void | load (PropertySource *properties) |
Definition at line 74 of file ECMiniGolf.cpp.
|
inlineprivatevirtual |
Create the action model. Read any configuration from this->properties.
Implements Rcs::ExperimentConfig.
Definition at line 77 of file ECMiniGolf.cpp.
|
inlineprivatevirtual |
Create the init state setter. Read any configuration from this->properties. Since the init state setter is only needed for the simulation, it is not stored in the ExperimentConfig. Instead, the simulation calls this method and manages the object on it's own. The default implementation returns NULL to use the state from the graph file.
Reimplemented from Rcs::ExperimentConfig.
Definition at line 236 of file ECMiniGolf.cpp.
|
inlineprivatevirtual |
Create the observation model. Read any configuration from this->properties.
Implements Rcs::ExperimentConfig.
Definition at line 157 of file ECMiniGolf.cpp.
|
inlineoverrideprivatevirtual |
Called to update the HUD text for the viewer. The default implementation will show the physics engine name, the current time.
[out] | linesOut | vector of HUD lines. initially empty. |
[in] | currentTime | simulation time |
[in] | currentObservation | latest observation |
[in] | currentAction | latest action |
[in] | simulator | physics simulator or NULL if none |
[in] | physicsManager | physics parameter manager or NULL if none |
[in] | forceDisturber | distruber which applies the forces to a given body |
Reimplemented from Rcs::ExperimentConfig.
Definition at line 268 of file ECMiniGolf.cpp.
|
inlineprivatevirtual |
Perform additional initialization on the viewer. This could, for example, change the camera position or add additional visualization. The default implementation does nothing.
Reimplemented from Rcs::ExperimentConfig.
Definition at line 241 of file ECMiniGolf.cpp.
|
inlineprivatevirtual |
Add the physics parameter descriptors to the given physics parameter manager.
manager | parameter manager to populate. |
Reimplemented from Rcs::ExperimentConfig.
Definition at line 223 of file ECMiniGolf.cpp.