enable_speed_zones()
  • 1 Minute to read

enable_speed_zones()


Article summary

Enables the speed(limited) zones.

Reference

Arguments

None

Return

None

Exceptions

  • RayaNavNotLocated
  • RayaNavZonesNotFound
  • 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):
      ...
      await self.nav.enable_speed_zones()
      ...
            
    async def finish(self):
       ...

Was this article helpful?