#models #pc #data #detail #protocols #pybadge #teegarden

mission2teegarden-b-models

Private implementation detail of mission2teegarden-b

2 unstable releases

0.2.0 Jul 14, 2023
0.1.0 Jul 13, 2023

#153 in Robotics


Used in mission2teegarden-b-map

AGPL-3.0-or-later

15KB
140 lines

This create store models and protcoll data, which is used by the communication between pybadeg and pc.

Protocol:

Every message is neither a Protocoll message or a Gamevent. The KeepAlive is also definded at toplevel, to make it only one byte big, because it is send very frequently to pc. The pc assume that the KeepAlive message is send at least once every second. Otherwise the pc assume that the pypbadge was disconnected.

Connection Establishment

The pc search for seriell devices at start and does send an ConnectionRequest to each Seriell devices. The pybadge responds with ConnectionResponse. After sending an ConnectionResponse the pybadge start listen to other incomming message too.

Dependencies

~0.8–1.3MB
~30K SLoC