Discussions
Trips started in quick succession get merged in the dashboard.
Hi,
I am encountering an issue with the flutter sdk. Trips that are taken in quick succession are sometimes merged in to a single trip.
We are using the manual tracking method.
In our app we click a button to start the trip, which triggers the following event:
```
on<StartShuttleEvent>((event, emit) async {
...
// ENABLE SDK AND BEGIN TELEMATICS TRACKING
TrackingApi trackingApi = TrackingApi();
trackingApi.setDeviceID(deviceId: deviceToken);
trackingApi.setEnableSdk(enable: true);
trackingApi.startTracking();
...
}
```
We click a button to end the trip, triggering the end trip event:
```
on<EndShuttleEvent>((event, emit) async {
// END TELEMATICS TRACKING
TrackingApi().stopTracking();
// DISABLE SDK
TrackingApi().setEnableSdk(
enable: false,
uploadBeforeDisabling: true,
);
...
}
```
If, after I end the first trip, I start the second trip within a short period, the second trip will be merged with the first. For example:
- The trip with trackId = 13538592 was considered one trip, when we expected it to be two.
- The trip with trackId = 13580467 was considered one trip, when we expected it to be three.
My first guess was that the first trip was not being uploaded before the second trip was being started which was causing the trips to be merged. I am not sure how the tracking is actually implemented though to verify.
I wondered if you could provide any input on why this might be happening?
Thank you.
Posted by Sam Helman about 1 year ago
Driving behaviour tracking and APIs
As I was going through the API, i could not figure out how a user's driving behaviour can be monitored? Is there a api that we have to call to tell SDK that the trip has started or it does that automatically?
Posted by Matthew Davis about 1 year ago
Use Flutter Wrapper
How do I use Flutter telematicsSDK available on Github to make my own Flutter application? Does it contain SDK?
Need some guidance over here. Thanks
Posted by Louis 12 months ago
Where did vehicle speed come from? Is it calculated based on time and distance or extracted from a censor?
Where did vehicle speed come from? Is it calculated based on time and distance or extracted from a censor?
Posted by Matthew Davis 11 months ago
API to deactive user (but not delete)
Hi, I am unable to find the API call in the documentation to deactivate a user (but not delete them). This is something you can do in the Hub.
Posted by Daniel Lajeunesse about 1 year ago
What is identified as a 'track' in the raw telematic data?
What is identified as a 'track' in the raw telematic data?
Posted by Matthew Davis 11 months ago
What is vehicle 'angle'?
What is vehicle 'angle'?
Posted by Matthew Davis 11 months ago
Where I can find a trackID or tracktoken
Some API methods require TripID or TripToken. where can I find it?
Posted by Matthew Davis 10 months ago
When capturing a Track, how is the StartDate and EndDate determined?
When capturing a Track, how is the StartDate and EndDate determined?
Posted by Matthew Davis 11 months ago
How to simulate rides for Android
Hi, I see we can emulate for IOS (https://docs.damoov.com/docs/ios-simulator)
Is there any chance to do this programmatically for android?
Posted by Luis Santiago 11 months ago