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.
Exceptions
RayaNavUnkownError
See the complete list of navigation exceptions.
Usage 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):
self.log.info(self.maps_list)
...
Console output:
['unity_apartment', 'lab', 'unity_showroom']
See the Navigate to click , nav_all_unity_apartment, nav_get_info to check some valid uses.
Was this article helpful?