Open tizianofiorenzani opened 1 month ago
In what situation does a companion computer not know what where the autopilot is headed? Won't all commands come from the companion computer over reliable transport?
Not really, as the goal is sent by topic, so you trust that the vehicle obeys, which I find it too flimsy.
Created a PR: https://github.com/ArduPilot/ardupilot/pull/28372
Provide current goal location to the DDS Interface
Providing the current goal would help to verify whether the vehicle is actually going where it has been guided to.
Proposed Solution
/ap/goal
of type GeoPoseStamped, and use it to send the goal location.AP::vehicle()->get_target_location(Location &target_loc);
Altitude frame
frame_id
.Platform [ ] All [ ] AntennaTracker [ x] Copter [ x] Plane [ x] Rover [ x] Submarine