Maneuverer airplane towards a point in the distance

Imagine an airplane currently flying with it’s nose pointing to some arbitrary direction (represented by point A).
At command entry, I want the airplane to maneuverer such that it’s nose will point to B.
Is there a function or script in the PX4 flight stack that does just that ?
Maybe SET_ATTITUDE_TARGET ?

I assume you’re using ArduPilot and not PX4. You might want to ask in discuss.ardupilot.org instead.

Hi,

I’m using both.
How can I achieve what I want with PX4?

The discussion touches on maneuvering an airplane towards a distant point in PX4, focusing on flight dynamics and the use of SET_ATTITUDE_TARGET for orientation. Users are exploring how to integrate this into the PX4 stack, especially with real-time flight adjustments. The thread highlights the complexity of controlling the aircraft’s heading effectively.