_simulation_handler
Module Contents
Classes
Base class for handling a simulation, which includes, for example, controlling robots. |
- class SimulationHandler
Bases:
abc.ABC
Base class for handling a simulation, which includes, for example, controlling robots.
- abstract handle(state: simulation.scene._simulation_state.SimulationState, control: simulation.scene._control_interface.ControlInterface, dt: float) None
Handle a simulation frame.
- Parameters:
state – The current state of the simulation.
control – Interface for setting control targets.
dt – The time since the last call to this function.