OpenCyphal-Garage / gui_tool

Legacy cross-platform GUI application for UAVCAN/CAN v0 bus management and diagnostics. Does not support UAVCAN v1; for that, see Yukon.
http://legacy.uavcan.org
MIT License
85 stars 53 forks source link

Fix mixed received and transmitted packages with same id can not be parsed correctly #43

Closed jxltom closed 4 years ago

jxltom commented 4 years ago

When same kind of packages are send and received at the same time, the parser might not be able to parse the message since the header or the tail of the messages might belong to messages with different directions.

This PR fixes this issue.

jxltom commented 4 years ago

Here is an example to reproduce the issue.

image

jxltom commented 4 years ago

Indeed, thanks for review. PR is updated.