...
We will be assuming that the inputs will be FreeRTOS queues.
Helpful Source (Autonomous Team’s landing and takeoff code)
https://github.com/UWARG/pathing/tree/main
Previous research we could refer, and possibly extend from:
...
However, the speed of a fixed wing craft is largely independent of altitude. There is also different behaviors required at each stage in take off or landing. The big concern of a fixed wing craft is the stall speed and minimum climb speed. It may be better to have two separate getSpeedTarget functions for a take off and landing of a fixed wing craft. For takeoff, we could try for some high constant takeoff speed to minimize runway length.
...
Looking specifically at the middle level control and high level control section, there are several points of interest.
Landing
Slope Stage
To get a better landing algorithm, we may be interested in the section on Proportional Guidance Law on pg 626. We can create a waypoint from which we find the ideal glide path from the drone. We will need a waypoint as the touchdown point, the drone’s altitude, an chosen descent angle and distance to touchdown point. Once we have a glide path, we can find the error between the drone’s current altitude and the altitude of the glide path. We adjust the descent angle to reduce the error.
...
where
T is the touchdown point
P1 is projection of the drone directly below the ideal path
P2 a future point on the path shortly ahead of P1
Flare Maneuver (Incomplete, pg 620)Landing) pg 621
Are we able to get data from Attitude Manager?
In order to properly conduct a flare maneuver right before touchdown, we need to ensure a constant, slightly positive pitch angle.
https://liu.diva-portal.org/smash/get/diva2:1055556/FULLTEXT01.pdf
...
https://ieeexplore.ieee.org/document/6485292
Takeoff
The IEEE paper describes a similar strategy in takeoff and landing we have seen above by splitting each event into stages using waypoints. It is important to have access to speed data.
It discusses several strategies:
Throttle control
...
Tk represents the time constraints of the takeoff process. In our case, we can set some arbitrary value (probably). δT represents the throttle angle (engine power). Unlike previous strategies which simply used a constant engine power until takeoff speed is reached, this ensures smooth acceleration which might result in a more stable take off.
Determining pitch angle (do we control the flaps during takeoff?)
if so, look at IEEE paper
Climb stage
Proportional guidance can also be applied to the climb stage similar to the slope stage during landing.
We can create a reference climb angle which predetermined before launch. The formula is the same as the Slope stage calculations.
If we have access to altitude, speed and attitude data, we can adapt or rewrite the current takeoff and landing algorithm for a fixed wing drone using waypoints.
To Do:
read autonomous team’s algorithm