_simulate_scenes
Module Contents
Functions
Simulate one or more scenes. |
- simulate_scenes(simulator: revolve2.simulation.simulator.Simulator, batch_parameters: revolve2.simulation.simulator.BatchParameters, scenes: modular_robot_simulation._modular_robot_scene.ModularRobotScene, record_settings: revolve2.simulation.simulator.RecordSettings | None = None) list[modular_robot_simulation._scene_simulation_state.SceneSimulationState]
- simulate_scenes(simulator: revolve2.simulation.simulator.Simulator, batch_parameters: revolve2.simulation.simulator.BatchParameters, scenes: list[modular_robot_simulation._modular_robot_scene.ModularRobotScene], record_settings: revolve2.simulation.simulator.RecordSettings | None = None) list[list[modular_robot_simulation._scene_simulation_state.SceneSimulationState]]
Simulate one or more scenes.
- Parameters:
simulator – The simulator to use for simulation.
batch_parameters – The batch parameters to use for simulation.
scenes – One or more scenes to simulate.
record_settings – The optional record settings to use during simulation.
- Returns:
A list of simulation states for each scene in the provided batch.