[flight plan] add a max_speed attribute to fp instruction (#3387)

This is only for the rotorcraft firmware at the moment, and it is
replacing the explicit call to guidance_h_SetMaxSpeed to simplify the
flight plans.
This commit is contained in:
Gautier Hattenberger
2024-10-04 08:53:30 +02:00
committed by GitHub
parent cea5c644e5
commit ade23ab09c
8 changed files with 43 additions and 10 deletions
@@ -436,6 +436,8 @@ The vertical control is achieved using the vmode attribute of these stages. The
The default control is done with the throttle. However, setting the ``pitch`` attribute to ``auto`` and the ``throttle`` attribute to a constant allows a vertical control only by controlling the attitude of the A/C. The pitch attribute also can be set to any value (in degrees) while the throttle control is in use: it usually affects the airspeed of the aircraft.
The speed control is usually controlled separately. However, for the rotorcraft firmware, it is possible to set the maximum speed from the attribute ``max_speed``. This is only possible for the instructions where the guidance control is involved (heading, go, path, circle, oval, eight, stay).
The different navigation modes are detailed in the next sections.