diff --git a/bin/trackengine.exe b/bin/trackengine.exe index 4cf49ca..f61e878 100644 Binary files a/bin/trackengine.exe and b/bin/trackengine.exe differ diff --git a/cloc-2.08.exe b/cloc-2.08.exe new file mode 100644 index 0000000..1b40b52 Binary files /dev/null and b/cloc-2.08.exe differ diff --git a/kdtree.obj b/kdtree.obj index c2ad2a5..4badcef 100644 Binary files a/kdtree.obj and b/kdtree.obj differ diff --git a/src/main.obj b/src/main.obj index 30cf4c7..2a64c47 100644 Binary files a/src/main.obj and b/src/main.obj differ diff --git a/src/osrm_helper.h b/src/osrm_helper.h index 61b7965..63b6d89 100644 --- a/src/osrm_helper.h +++ b/src/osrm_helper.h @@ -19,6 +19,15 @@ inline void MatchParameters_Add(MatchParameters *params, Location l) { params->coordinates.push_back({util::FloatLongitude{l.longitude}, util::FloatLatitude{l.latitude}}); params->timestamps .push_back(l.time); params->radiuses .push_back(radius); + + // @Note: Should be replaced by bearing_accuracy that is coming from android + // for better resutls. + short bearing_range = 30; // ±30 degrees tolerance + + params->bearings.push_back(osrm::engine::Bearing{ + static_cast(l.bearing), + bearing_range + }); } inline void RouteParameters_Init(RouteParameters *params) { diff --git a/toml.obj b/toml.obj index 1e266aa..25c6945 100644 Binary files a/toml.obj and b/toml.obj differ