is_localized()
  • 1 Minute to read

is_localized()


Article summary

is_localized()

Check if the robot is localized.

Reference

Arguments

None

Return

Boolean: True if robot is localized.

Exceptions

  • RayaNavUnkownError

See the complete list of navigation exceptions.

Usage Example

Code:

...
class RayaApplication(RayaApplicationBase):

    async def setup(self):
        self.nav = await self.enable_controller('navigation')
        ...

async def loop(self):
...
    robot_localized = await self.nav.is_localized()
    if robot_localized:
        self.log.info("ROBOT IS LOCALIZED.")
        ...

Was this article helpful?

What's Next