Interface to Webots for dynamic simulations.

This interface is intended to be instantiated from inside the controller script of a Webots Robot node with the supervisor field set to true. Such a script can create a WebotsSimulator (passing in a reference to the supervisor node) and then call its simulate method as usual to run a simulation.

Summary of Module Members



Simulation object for Webots.


Simulator object for Webots.

Member Details

class WebotsSimulator(supervisor)[source]

Bases: scenic.core.simulators.Simulator

Simulator object for Webots.


supervisor – Supervisor node handle from the Webots Python API.

class WebotsSimulation(scene, supervisor, verbosity=0)[source]

Bases: scenic.core.simulators.Simulation

Simulation object for Webots.