This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Person | |
Car | |
Bicycle | |
Bus | |
Motorbike | |
Train | |
Aeroplane | |
Chair | |
Bottle | |
Dining Table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf `find -type d -name .ipynb_checkpoints` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import asyncio | |
import websockets | |
def _check_mode(msg): | |
return "Auto" if msg and msg[:2] == '42' else "Manual" | |
def _parse_telemetry(msg): | |
msg_json = msg[2:] | |
parsed = json.loads(msg_json) |