Commit c61d53a2 authored by Clouard Regis's avatar Clouard Regis
Browse files

Fixed: gps_tracker_service set the last position field as static to store...

Fixed: gps_tracker_service set the last position field as static to store location between two courses.
parent d4c5f051
......@@ -22,7 +22,7 @@ class GpsTrackerService {
KalmanFilter _kalmanFilter = new KalmanFilter();
double _currentSpeedInMetersPerSecond = 3.0;
LocationData? _lastPosition;
LocationData? _lastProvidedPosition;
static LocationData? _lastProvidedPosition;
int _consecutiveKalmanRejectCount = 0;
Location? _location;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment