How I can subscribe to drone flying state publisher

Hello,

In OpenFlight, how can I be informed of the change in the flight status of the drone? Anywhere in the code with a publisher for example.

Thanks.

I find solution with:

Services.hub.currentDroneHolder.dronePublisher

I listen the drone publisher and get the state.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.