Skip to content

Commit

Permalink
AC_WPNav: remove minimum speed
Browse files Browse the repository at this point in the history
  • Loading branch information
jschall committed Jan 27, 2015
1 parent 5ed29b5 commit 4f70d1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AC_WPNav/AC_WPNav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ void AC_WPNav::wp_and_spline_init()
void AC_WPNav::set_speed_xy(float speed_cms)
{
// range check new target speed and update position controller
if (speed_cms >= WPNAV_WP_SPEED_MIN) {
//if (speed_cms >= WPNAV_WP_SPEED_MIN) {
_wp_speed_cms = speed_cms;
_pos_control.set_speed_xy(_wp_speed_cms);
// flag that wp leash must be recalculated
_flags.recalc_wp_leash = true;
}
//}
}

/// set_destination - set destination using cm from home
Expand Down

0 comments on commit 4f70d1e

Please sign in to comment.