New developer here who is working on a multi-drone system. I have been having a hard time figuring out how to configure multiple drones to have the same local frame.
Based on what I have read from the MAVLink messages library, I am supposed to send SET_GPS_GLOBAL_ORIGIN (#48) messages to a drone and it should respond with the GPS_GLOBAL_ORIGIN (#49) message with the updated values. However, the values do not appear to be updating correctly.
I was wondering if there was some condition or parameter that could potentially be blocking this new origin message and if there was a potential workaround. My system has been responding to other messages so I am wondering if there is just some condition I am forgetting to check.
Currently doing my testing on the PX4 autopilot SITL in a gazebo environment