Make uturn detection a little less sensitive.
This commit is contained in:
parent
736bc87480
commit
0c735953c9
@ -124,7 +124,7 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
|||||||
input_coords[current_coordinate + 1]);
|
input_coords[current_coordinate + 1]);
|
||||||
|
|
||||||
// sharp turns indicate a possible uturn
|
// 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;
|
allow_uturn = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user