Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Takeoff Procedure

...

Functions

Code Block
languagecpp
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
languagecpp
double getLandingAltitudeTarget(double currentAltitude);

This function returns the ground height set during takeoff and uses it as the target landing altitude.

Code Block
languagecpp
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
languagecpp
AM::AttitudeManagerInput createTakeoffWaypoint(const LOS::LosSFData & input);

...