zayfod / pycozmo

A pure-Python communication library, alternative SDK, and application for the Cozmo robot.
MIT License
173 stars 58 forks source link

corrected timestamp fetching location #55

Open ADebor opened 2 years ago

ADebor commented 2 years ago

The timestamp of a given frame should be fetched from the third image chunk, not the first one. Fetching from the first one gives a timestamp equal to zero for each frame, which is not wanted. The proposed change solves this issue, and cli.last_image_timestamp gives meaningful values.