made landing shoot for below home by 2 meters to avoid bounce up.
This commit is contained in:
parent
7c475f178c
commit
c327a9f000
@ -271,7 +271,7 @@ static void do_land()
|
|||||||
set_next_WP(¤t_loc);
|
set_next_WP(¤t_loc);
|
||||||
|
|
||||||
// Set a new target altitude
|
// Set a new target altitude
|
||||||
set_new_altitude(0);
|
set_new_altitude(-200);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void do_loiter_unlimited()
|
static void do_loiter_unlimited()
|
||||||
@ -364,7 +364,7 @@ static bool verify_land()
|
|||||||
wp_control = NO_NAV_MODE;
|
wp_control = NO_NAV_MODE;
|
||||||
// try and come down faster
|
// try and come down faster
|
||||||
landing_boost++;
|
landing_boost++;
|
||||||
landing_boost = min(landing_boost, 20);
|
landing_boost = min(landing_boost, 30);
|
||||||
}else{
|
}else{
|
||||||
landing_boost = 0;
|
landing_boost = 0;
|
||||||
wp_control = LOITER_MODE;
|
wp_control = LOITER_MODE;
|
||||||
|
Loading…
Reference in New Issue
Block a user