I am trying to build a ROS package that reads the mission sent by QGroundControl in order to manage and automatize the mission execution on the drone. (I mainly want to automatically repeat the mission after a certain amount of time, but also take control of the drone using offboard mode if certain situations appears)
However, I didn’t found any information on where the data are loaded or saved on the drone and how I can access that using ROS.
Does QGroundControl publish this information to some mavlink/mavros topic that can be read by my program?
Any idea on how I can find this information? Otherwise, there is a better approach to implement this?
Any help is really appreciated.
Thank you in advance.