grutopia.core.task¶
task¶
- class grutopia.core.task.task.BaseTask(config: TaskUserConfig, scene: Scene)[source]¶
wrap of omniverse isaac sim’s base task
enable register for auto register task
contains robots
- get_observations() Dict[str, Any] [source]¶
Returns current observations from the objects needed for the behavioral layer.
- Returns:
observation of robots in this task
- Return type:
Dict[str, Any]
- abstract is_done() bool [source]¶
Returns True of the task is done.
- Raises:
NotImplementedError – this must be overridden.
- pre_step(time_step_index: int, simulation_time: float) None [source]¶
called before stepping the physics simulation.
- Parameters:
time_step_index (int) – [description]
simulation_time (float) – [description]