Skip to content

Commit ca7e92d

Browse files
authored
Merge pull request #135 from BCLab-UNM/hotfix-Search_waypoint_tolerance
Updated Search Controller waypoint tolerance
2 parents 00eb50f + 1ff08fe commit ca7e92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/behaviours/src/SearchController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void SearchController::Reset() {
2626
Result SearchController::DoWork() {
2727

2828
if (!result.wpts.waypoints.empty()) {
29-
if (hypot(result.wpts.waypoints[0].x-currentLocation.x, result.wpts.waypoints[0].y-currentLocation.y) < 0.10) {
29+
if (hypot(result.wpts.waypoints[0].x-currentLocation.x, result.wpts.waypoints[0].y-currentLocation.y) < 0.15) {
3030
attemptCount = 0;
3131
}
3232
}

0 commit comments

Comments
 (0)