I’ve written a simple mission executive that runs on a Raspberry Pi companion computer. It issues MAVLink commands in Guided Mode to ArduPilot and subscribes to various messages to determine ACK/NACK, command completion (has a waypoint been reached) etc.
However, I have a question that I’m hoping someone can help me with…
I’m using MAV_CMD_DO_REPOSITION to fly to waypoints and have configured the heading as a Float.NaN in order to allow ArduPilot to determine and set the heading towards the destination. This all works as expected, no issues.
However, if I specify an explicit heading it appears to be ignored.
Is this expected behavior, a bug or is there something else I need to do?