From 0c735953c9408fe69fe3da64c983ea78e85a744c Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sun, 8 Mar 2015 00:51:07 +0100 Subject: [PATCH] Make uturn detection a little less sensitive. --- plugins/match.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/match.hpp b/plugins/match.hpp index 74e0c8491..2a9fa043f 100644 --- a/plugins/match.hpp +++ b/plugins/match.hpp @@ -124,7 +124,7 @@ template class MapMatchingPlugin : public BasePlugin input_coords[current_coordinate + 1]); // sharp turns indicate a possible uturn - if (turn_angle < 100.0 || turn_angle > 260.0) + if (turn_angle <= 90.0 || turn_angle >= 270.0) { allow_uturn = true; }