-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cantool): generate raw setters and getters for physical signals
For physical signals that have value table definitions we generate getters and setters that operate on the raw signal value, to give users access to check if signal values correspond to a named constant, or to write named constants to the signal. However, there are use-cases (especially for sending test data) for writing raw values to any physical signal and therefore this commit adds generation of raw getters and setters to all physical signals.
- Loading branch information
Showing
2 changed files
with
187 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.