Revert "APMRover2: clipped param cmd float to zero"

This reverts commit cbbee1149d.
This commit is contained in:
Tom Pittenger 2016-04-23 23:51:33 -07:00
parent 9b6de75203
commit 64315bfed8
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void Rover::do_nav_wp(const AP_Mission::Mission_Command& cmd)
// this will be used to remember the time in millis after we reach or pass the WP.
loiter_time = 0;
// this is the delay, stored in seconds
loiter_time_max = (cmd.p1 >= 1) ? cmd.p1 : 0;
loiter_time_max = cmd.p1;
// this is the distance we travel past the waypoint - not there yet so 0 initially
distance_past_wp = 0;