mil icon indicating copy to clipboard operation
mil copied to clipboard

Create async `electrical_protocol` driver

Open cbrxyz opened this issue 5 months ago • 0 comments

What needs to change?

Currently, we have a synchronous version of the serial driver used by electrical_protocol. However, it would be great to have an asynchronous version of this driver. This would empower us to combine our electrical drivers with other forms of I/O (including ROS nodes/topics/etc.).

This could be done by copying the current synchronous driver and replacing the synchronous parts with pyserial-asyncio and asyncio. I also made some brief starting progress on this task on this branch.

How would this task be tested?

  1. Copy the current test cases for the synchronous driver and ensure that the test cases also pass in the asynchronous version.

cbrxyz avatar Sep 27 '24 02:09 cbrxyz