🌍World Objects
A RoarPyWorld
object exposes useful information and methods about the underlying simulator / world.
For example, in carla implementation of ROAR_PY, it exposes maneuverable_waypoints
property, which provides a list of waypoints that can be used to traverse the underlying carla map. It also exposes other things that are specific to carla such as converting a location in the simulator to its geolocation.
The most important thing about world objects is that they have to be ticked. It is extremely important to call await RoarPyWorld.step()
because they may have wrapped some important communication / sdk underneath.
While it is possible that some implementations have left this method not do anything, we recommend calling the step function every control step regardless to ensure compatibility.
Last updated