Skip to content

Commit

Permalink
add dti
Browse files Browse the repository at this point in the history
  • Loading branch information
jr1221 committed Apr 17, 2024
1 parent 721feb2 commit 8a4f3d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions calypsogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
bms_messages = cangen.YAMLParser().parse(open(f"{EMBEDDED_BASE_PATH}/{module_name}/can-messages/bms.yaml", "r"))
mpu_messages = cangen.YAMLParser().parse(open(f"{EMBEDDED_BASE_PATH}/{module_name}/can-messages/mpu.yaml", "r"))
wheel_messages = cangen.YAMLParser().parse(open(f"{EMBEDDED_BASE_PATH}/{module_name}/can-messages/wheel.yaml", "r"))
dti_messages = cangen.YAMLParser().parse(open(f"{EMBEDDED_BASE_PATH}/{module_name}/can-messages/dti.yaml", "r"))

bms_messages.msgs.extend(mpu_messages.msgs)
bms_messages.msgs.extend(wheel_messages.msgs)
bms_messages.msgs.extend(dti_messages.msgs)

result = cangen.RustSynth().parse_messages(bms_messages.msgs)

Expand Down

0 comments on commit 8a4f3d2

Please sign in to comment.