get_list_of_maps()
- 1 Minute to read
get_list_of_maps()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
get_list_of_maps()
Get a list of all the existing maps in the robotic device.
For the simulator, it will retrieve the maps of all the available scenes.
Reference
Arguments
None
Return
Returns a list of all the available maps.
Example
Code:
...
class RayaApplication(RayaApplicationBase):
async def setup(self):
self.navigation = await self.enable_controller('navigation')
self.maps_list = await self.navigation.get_list_of_maps()
....
async def loop(self):
print(self.maps_list)
...
Console output:
['unity_apartment', 'lab', 'unity_showroom']
Was this article helpful?