...
Takeoff Procedure
...
Functions
Code Block |
---|
|
double getTakeoffAltitudeTarget(double currentAltitude); |
When first called set the current height as ground, then return the takeoff altitude target (ground height + TAKEOFF_TARGET).
Code Block |
---|
|
double getLandingAltitudeTarget(double currentAltitude); |
This function returns the ground height set during takeoff and uses it as the target landing altitude.
Code Block |
---|
|
AM::AttitudeManagerInput createLandingWaypoint(const LOS::LosSFData & input); |
Calculates the waypoints that the drone should follow during landing. Missing horizontal components as of now.
Code Block |
---|
|
AM::AttitudeManagerInput createTakeoffWaypoint(const LOS::LosSFData & input); |
...