Open ArturMalyszewicz opened 9 years ago
AVL checks periodically while in Moving state whether there has been a LongDriving event or not. The checking period is 60 seconds. So the LongDriving message could be as late as 60 seconds. I will make this as an enhancement request, but in the meantime provide a workaround and add a TODO: comment in the code to optimize it better in the future.
Argus 21620
LongDriving message is sent 30 second later than it should according to settings.
Steps to reproduce:
The same is for other settings - i.e. for maxDrivingTime = 1 event is generated after 1 minute and 30 seconds.
That is not a big deal from the real-life point of view (maxDrivingTime will be set to hours then) but in tests this causes a lot of trobules (there is a need to minimize time of running every TC so we are operating on single minutes).