OpenCyphal / yakut

Simple CLI tool for diagnostics and debugging of Cyphal networks
https://opencyphal.org
MIT License
47 stars 10 forks source link

yakut reg produces wrong format on output for natural8 with option -d #65

Open generationmake opened 1 year ago

generationmake commented 1 year ago

yakut reg produces wrong format on output for natural8 with option -d

bernhard@notebookR60P-22:~$ y -i 'CAN(can.media.socketcan.SocketCANMedia("slcan0",8),59)' r 42 uavcan.node.id
11                     
bernhard@notebookR60P-22:~$ y -i 'CAN(can.media.socketcan.SocketCANMedia("slcan0",8),59)' r -d 42 uavcan.node.id
natural8: {value: "\v"}
bernhard@notebookR60P-22:~$ y --version
yakut, version 0.11.1
pavel-kirienko commented 1 year ago

Please try updating PyCyphal to the latest version. Context https://github.com/OpenCyphal/pycyphal/commit/42d948eb7308fd45c4874ee4e167ceb70ebd433d

On Sun, Sep 18, 2022, 09:44 generationmake @.***> wrote:

yakut reg produces wrong format on output for natural8 with option -d

@.*:~*$ y -i 'CAN(can.media.socketcan.SocketCANMedia("slcan0",8),59)' r 42 uavcan.node.id 11 **@.*:~*$ y -i 'CAN(can.media.socketcan.SocketCANMedia("slcan0",8),59)' r -d 42 uavcan.node.id natural8: {value: **@.***:~*$ y --version yakut, version 0.11.1

— Reply to this email directly, view it on GitHub https://github.com/OpenCyphal/yakut/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFIZFJNS6Z7DXX7HE4UI3V6223PANCNFSM6AAAAAAQPJ76MU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

generationmake commented 1 year ago

I think I am already at version 1.10.3 of pycyphal.

pavel-kirienko commented 1 year ago

Okay, \v is recognized as a printable character. This will have to wait until https://github.com/OpenCyphal/specification/issues/51 is implemented, which shouldn't take too long.

On Sun, Sep 18, 2022, 12:06 generationmake @.***> wrote:

I think I am already at version 1.10.3 of pycyphal.

— Reply to this email directly, view it on GitHub https://github.com/OpenCyphal/yakut/issues/65#issuecomment-1250226035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFIZG524TPHSHOGKJ3HHTV63LRHANCNFSM6AAAAAAQPJ76MU . You are receiving this because you commented.Message ID: @.***>