Versions Compared

Key

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

...

Model Predicative Control

Existing Information:

Landing Procedure

...

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);

Returns the waypoints that should be followed for takeoff.

Code Block
languagecpp
double getSpeedTarget(double currentAltitude, double rangeConstant);

Return desired climb speed for both landing and takeoff.

Code Block
languagecpp
double getRangeConstant(double midpointAltitude);

Returns range constant to calculate velocity.

Useful Documents to look over

https://liu.diva-portal.org/smash/get/diva2:1055556/FULLTEXT01.pdf

View file
nameDesign_and_Implementation_of_Autonomous_Takeoff_and_Landing_UAV_System_for_USV_Platform.pdf