Private Member Functions | |
virtual ActionModel * | createActionModel () |
virtual ObservationModel * | createObservationModel () |
virtual void | populatePhysicsParameters (PhysicsParameterManager *manager) |
virtual InitStateSetter * | createInitStateSetter () |
virtual ForceDisturber * | createForceDisturber () |
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 |
Private Attributes | |
double | initManipulability |
Additional Inherited Members | |
![]() | |
typedef ExperimentConfig *(* | ExperimentConfigCreateFunction) () |
![]() | |
ExperimentConfig () | |
virtual | ~ExperimentConfig () |
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 68 of file ECBallOnPlate.cpp.
|
inlineprivatevirtual |
Create the action model. Read any configuration from this->properties.
Implements Rcs::ExperimentConfig.
Definition at line 72 of file ECBallOnPlate.cpp.
|
inlineprivatevirtual |
Create a model for artificial external disturbing forces. The default implementation returns NULL to ignore this.
Reimplemented from Rcs::ExperimentConfig.
Definition at line 185 of file ECBallOnPlate.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 180 of file ECBallOnPlate.cpp.
|
inlineprivatevirtual |
Create the observation model. Read any configuration from this->properties.
Implements Rcs::ExperimentConfig.
Definition at line 126 of file ECBallOnPlate.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 255 of file ECBallOnPlate.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 192 of file ECBallOnPlate.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 172 of file ECBallOnPlate.cpp.
|
private |
Definition at line 70 of file ECBallOnPlate.cpp.