Implement KeyIsFlying or KeyAreMotorsOn values to Aircraft OSD or state.
CompletedIt seems the most logical way to determine if the drone is flying or running would be to add one of those callbacks to the Aircraft MQTT payload (Not just as a Dock Option!). With mode_code and disconnects and such no way seems possible to tell if a flight has landed or it was say disconnected on a mission or so. A simple true or false statement would allow a very simple way to determine the true status of the drone for instance if people are logging remotely on line without having to decode the flight records and such if connectivity existed.
-
If your trying to log a flight using the MQTT methods and the drone goes out of range even the status goes offline where if you were using one of those keys they technically shouldn't change until it receives a status update allowing a true way to log flights via MQTT. using isFlying you can just watch for the two changes like true or false and if they drone was on a mission and lost signal you still wouldn't have a false positive when it came back "online" trying to log a true flight from start to finish.
Please sign in to leave a comment.
Comments
5 comments