data-collector
data-collector copied to clipboard
'forwardspeed' occasionally dropped
I've noticed that when the vehicle is sitting still e.g. at a traffic light, the metadata files sometimes do not record a 'forwardSpeed' measurement - I am collecting data at 20 fps and the error occurs exactly every 25 frames when the car is not moving. It is not a big deal as it only occurs when the car isn't moving, so the missing values can always be substituted with 0, but just wanted to report it in case anyone is wondering why they get a KeyError when reading the JSON files.