Closed Frank-Bosman closed 5 months ago
When fixing this, do you think automatically repeating the recording as long as the emulator runs would be okay?
When fixing this, do you think automatically repeating the recording as long as the emulator runs would be okay?
yeah, just repeat it automatically until they call manager.stop
. Furthermore, make it an opt-in feature.
Repeat recording
Currently to repeat a recording an new
SensorEmulator
should be made. This is because it can not start the timer again as that would recreate an existing thread.To fix this I did the following in the PlotterDemo, but it is kinda messy because you reassign the manager.
Recreate the bug
Start an emulator, stop it and then start it again: