BlueAndi / RadonUlzer

Line follower, platooning, sensor fusion with DroidControlSystem and etc.
MIT License
5 stars 2 forks source link

Headless Webots #155

Closed gabryelreyes closed 1 month ago

gabryelreyes commented 2 months ago

Research if/how Webots can be optimized by using headless mode

gabryelreyes commented 2 months ago

This looks like the best approach to a headless system: https://cyberbotics.com/doc/guide/starting-webots-remotely-ssh

webots.exe --mode=fast --batch --no-rendering --stdout --stderr myworld.wbt

This command opens Webots, sets the speed to the maximum (hopefully faster than real-time), disables the rendering of the 3D view, and redirects the output streams to the terminal instead of the Webots window.

Note: The same results can also be achieved by starting Webots normally and select the fast mode and disabling the rendering manually using the user interface.