diff --git a/backend/python_examples/realtime_rate_changer.py b/backend/python_examples/realtime_rate_changer.py index 90d093275..3b13fc811 100644 --- a/backend/python_examples/realtime_rate_changer.py +++ b/backend/python_examples/realtime_rate_changer.py @@ -122,7 +122,7 @@ def main(): simulator = build_simple_car_simulator() - runner = SimulatorRunner(simulator, 0.001, initial_realtime_rate, False) + runner = SimulatorRunner(simulator, 0.001, initial_realtime_rate) rate_changer = RealtimeRateChanger(runner, initial_steps) diff --git a/backend/simulation_runner_py.cc b/backend/simulation_runner_py.cc index 76be1c160..d55050dfd 100644 --- a/backend/simulation_runner_py.cc +++ b/backend/simulation_runner_py.cc @@ -54,11 +54,8 @@ namespace { PYBIND11_MODULE(simulation_runner_py, m) { py::class_(m, "SimulatorRunner") .def(py::init>, double>()) - // TODO(basicNew): Add the missing - // `unique_ptr>, double, double>()` - // constructor. Note that this means overloading by type, which I think - // will need a custom python constructor. .def(py::init>, double, bool>()) + .def(py::init>, double, double>()) .def(py::init>, double, double, bool>()) .def("SetRealtimeRate", &SimulatorRunner::SetRealtimeRate)