Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address design issues in uavcan.metatransport #99

Merged
merged 4 commits into from
Jan 8, 2021
Merged

Conversation

pavel-kirienko
Copy link
Member

This is a low-priority issue but it is cheap to address now. It will also unblock my ongoing background work on Yukon. Fixes #96

  • Remove timestamp from the transport frame encapsulation types because it violates the interface segregation principle.
  • Replace uavcan.metatransport.udp with uavcan.metatransport.ethernet to enable more accurate modeling of the underlying media.
  • Enlarge the serial fragment capacity to 2 KiB.

@pavel-kirienko pavel-kirienko self-assigned this Jan 6, 2021
@pavel-kirienko pavel-kirienko merged commit f07d09b into master Jan 8, 2021
@pavel-kirienko pavel-kirienko deleted the issue-96 branch January 8, 2021 20:07
pavel-kirienko added a commit to OpenCyphal/pycyphal that referenced this pull request Jan 9, 2021
pavel-kirienko added a commit to OpenCyphal/pycyphal that referenced this pull request Jan 26, 2021
* Refactor UDP capture to sync up with OpenCyphal/public_regulated_data_types#99

* Fix MyPy issues

* Fix PyLint issues

* Remove dead reference from the docs

* Correct the timeout treatment in the HOT alien reassembler to match the recommendations given in the Spec

* Correct tracing in UDP and serial

* Implement tracing for CAN

* Add CANTracer tests

* Add full integration tests for CAN capture

* Add spoofing test rigging for the LoopbackTransport

* LoopbackTransport: handle closure properly when using the spoofer

* Slightly alter the tracing API to better reflect the underlying processes

* Update the changelog

* Deprecate UDPTransport(anonymous=True) in favor of local_node_id=None. This makes the API more self-consistent and easier to use.

* Optimize noxfile for simpler local usage

* Correct typing errors

* Fix PyLint warning

* Add serial port spoofing support -- this is necessary for advancing Yukon

* Fix doc styling

* Add support for CAN spoofing

* Update spoofing docs & test

* Address MyPy issues

* Appease PyLint

* Fix exception handling in get_fixed_port_id()

* Fix closure and error handling in the node publisher to avoid irrelevant log entries

* Report the local node-ID explicitly from UDPTransport.__repr__

* Fix the logger test

* README: make the AppVeyor badge reflect the status of master rather than the latest build

* Reset the version number to v1.2.0 beta 1

* Correct the logger test

* Correct version syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design issues with uavcan.metatransport
1 participant