Commit 9947e081 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

set takeoff altitude

Initialize takeoff altitude at 20 meters above ground.
parent e0bd2739
......@@ -347,6 +347,7 @@ int arm(void) {
}
int takeOff(void) {
action->set_takeoff_altitude(20);
if (doAction(&Action::takeoff, "Takeoff failed"))
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment