robotika / osgar

Open Source Garden (Autonomous) Robot
MIT License
13 stars 12 forks source link

Extend replay.py by --duration and handle corrupted end of log files #992

Closed m3d closed 5 months ago

m3d commented 5 months ago

Add new option --duration (similar one is used in record.py) to limit how long log file is used for replay. Useful for quick check and/or in combination with --draw feature.

Also handle corrupted log files (zeros at the end) and report it.