scenic.simulators.newtonian.simulator

Newtonian simulator implementation.

Summary of Module Members

Classes

NewtonianSimulation

Implementation of Simulation for the Newtonian simulator.

NewtonianSimulator

Implementation of Simulator for the Newtonian simulator.

Member Details

class NewtonianSimulator(network=None, render=False)[source]

Bases: DrivingSimulator

Implementation of Simulator for the Newtonian simulator.

Parameters:
  • network (Network) – road network to display in the background, if any.

  • render (bool) – whether to render the simulation in a window.

Changed in version 3.0: The timestep argument is removed: it can be specified when calling simulate instead. The default timestep for the Newtonian simulator when not otherwise specified is still 0.1 seconds.

class NewtonianSimulation(scene, network, render, timestep, **kwargs)[source]

Bases: DrivingSimulation

Implementation of Simulation for the Newtonian simulator.