Hello,
I would like to check the link quality between the SkyController and the Drone using Parrot Olympe. I tried listening for the common.CommonState.LinkSignalQuality
and wifi.rssi_changed
event messages using an EventListener
:
import olympe
[...]
class DroneListener(olympe.EventListener, LogMixin):
def __init__(self, controller: olympe.SkyController):
super().__init__(self, controller)
@olympe.listen_event(olympe.messages.common.CommonState.LinkSignalQuality(_policy="wait"))
def _on_event(self, event, scheduler):
self._logger.debug("Received event: %s", event.args)
@olympe.listen_event(olympe.messages.wifi.rssi_changed(_policy="wait"))
def _on_event2(self, event, scheduler):
self._logger.debug("Received event: %s", event.args)
Unfortunately I do not receive any of these events at any time.