How can I ensure that real-time telemetry is published to an MQTT broker every second during a DroneKit flight, rather than all at once at the end?
I am creating a sort of UTM simulator using python. On one hand, I have a flask server which is supposed to send a flight plan to a drone (built in dronekit and dronekit-sitl), which executes the flight plan.
The workflow is the following: