Open niemiaszek opened 2 years ago
Schedule:
Based on autonomy/okon_sim_client.py:
Simulation._handle_packet method
- TBISimulation
methods connect
, _receive_all
, _send
, disconnect
will be handled by MaksSimulation.send
- TBISimulation._sync_thread
- TBISimulation._comm_thread
- TBISimulation.on_event
, Simulation._emit_event
will be handled by MaksSchedule:
Progress: The environment for testing commiunication via UART in Python developed by @RoboAsystent has been prepared. It can be reproduced as follows:
Requirements:
Instruction:
Error opening serial port
error.Serial/jetson_serial.py
or Serial/jetson_serial_light.py
(code available on branch okon-tcm-client)
So far, class
Okon
uses methods based on PacketTypes assigned to simulation. We want to abstractOkon
,OkonClient
andPacketTypes
. Each class should have base class, asOkon
base class will be used as interface with autonomy.