-
-
Notifications
You must be signed in to change notification settings - Fork 557
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
Support choice tables in dump subcommand #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test where two signals in the same message have choices. I think I prefer the output to be:
Signal choices:
Foo
0 Disabled
1 Enabled
2 Other
Bar
0 On
1 Off
Remove add_prefix inner function from signal_choice_string
This dumps in the following format Signal choices: Foo 0 Disabled 1 Enabled 2 Other Bar 0 On 1 Off
Did you want me to add a command line test using I wasn't sure if you wanted me to use that DBC, since there's another message inside besides the one with a multiplexed signal that has choice values. |
You can create a new DBC-file, say |
Part of release 28.13.0, available on PyPI! |
This change implements choice tables in the
dump
subcommand.