Formula-Student-Driverless-Simulator icon indicating copy to clipboard operation
Formula-Student-Driverless-Simulator copied to clipboard

Restarting level

Open wouter-heerwegh opened this issue 2 years ago • 3 comments
trafficstars

replaces #348

wouter-heerwegh avatar Nov 24 '22 20:11 wouter-heerwegh

Still need to add ROS2 changes and then this can get merged

wouter-heerwegh avatar Nov 24 '22 21:11 wouter-heerwegh

@MattBrth do you also have to wait (sometimes up to 6 or 7 seconds) before data again becomes available from the simulator? Data like lidar, camera,...

wouter-heerwegh avatar Nov 28 '22 18:11 wouter-heerwegh

@wouter-heerwegh Hello, with the python client (without ROS) not at all it's very quick. If you look at the client.py I reset the instance of the client (see restart()) because when calling RestartLevel() it kills the instance of the level and so the rcplib cliend with it. Your problem might come from here.

mattbrth avatar Nov 28 '22 18:11 mattbrth