Browse Source

made landing shoot for below home by 2 meters to avoid bounce up.

master
Jason Short 13 years ago
parent
commit
c327a9f000
  1. 4
      ArduCopter/commands_logic.pde

4
ArduCopter/commands_logic.pde

@ -271,7 +271,7 @@ static void do_land()
set_next_WP(&current_loc); set_next_WP(&current_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…
Cancel
Save