I wanted to ask if you could solve a problem I have with autopilot and mavros.
I have a pixfalcon autopilot with arduplane 4.0.5 and the terrains loaded in the SD. When launching mavros, I want to read the height over the terrain that my autopilot has and it gives me a constant height of 0 meters (being the autopilot at 4 meters). As far as I have looked there is a mavlink message called TERRAIN_REPORT: Messages (common) · MAVLink Developer Guide
This message has two parameters: pending and loaded. The first one shows you the terrains pending to read and the second one the maps already loaded in the autopilot.
Reading this message gives me 54 maps pending to read and 0 not loaded. When I leave it for a while it still doesn’t load any map.
To check that it wasn’t a problem with my autopilot, I opened the mission planner and saw that everything was fine. Then I tried again mavros in the autopilot and the height to terrain started to work.
I would like to know if you can tell it through mavros that the terrain is already downloaded and I don’t need a GCS to start loading it.
Thank you in advance for your time.