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

Add a command for port configuration #75

Open
pavel-kirienko opened this issue Jan 24, 2023 · 0 comments
Open

Add a command for port configuration #75

pavel-kirienko opened this issue Jan 24, 2023 · 0 comments
Labels

Comments

@pavel-kirienko
Copy link
Member

Currently, to set up a port or to check its configuration, one has to type a lot of characters:

$ y r 125 uavcan.pub.dynamics.id
65535

$ y r 125 uavcan.pub.dynamics.id 120
120

This should be improved with a dedicated helper command ("L" is for "link"):

$ y l 125 p dynamics            # Displays the port:type tuple per standard notation
65535:zubax.physics.dynamics.DoF3rdTs.1.0

$ y l 125 p dynamics 120        # Changes and displays the result
120:zubax.physics.dynamics.DoF3rdTs.1.0

$ y l 125 p                     # Display all publishers on this node as a dict
dynamics: 120:zubax.physics.dynamics.DoF3rdTs.1.0
dq: 65535:zubax.telega.DQ.1.0
...

$ y l 125                       # Display all ports on this node
pub:
  dynamics: 120:zubax.physics.dynamics.DoF3rdTs.1.0
  dq: 65535:zubax.telega.DQ.1.0
sub: ...
cln: []
srv: ...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant