...
- Create a new git branch in the HW Bridge repository
- In your new branch, make the necessary edits to the YAML CAN file (can/uwrt_mars_rover_can.yaml)
- In the root directory of the HW Bridge repository, run:
python3 scripts/generate_can.py
- Make sure that the following required python packages are installed before running the script:
python3 -m pip install cantools
python3 -m pip install pyyaml==5.1
- Apply formatting to all generated .c, .cpp, and .h files under can/generated
- You can now make use of any of the generated CAN enums, structs, and functions under can/generated
...