Skip to content

Decoding + Argos eFuse Page#37

Merged
bjackson312006 merged 41 commits intomainfrom
feature/decoding-codegen
Mar 22, 2026
Merged

Decoding + Argos eFuse Page#37
bjackson312006 merged 41 commits intomainfrom
feature/decoding-codegen

Conversation

@bjackson312006
Copy link
Copy Markdown
Contributor

@bjackson312006 bjackson312006 commented Mar 12, 2026

Added codegen for decoding messages (i.e., unpacking them when recieved). Also, various small changes to CAN messages needed for the Argos eFuses page.

@bjackson312006 bjackson312006 self-assigned this Mar 13, 2026
@bjackson312006 bjackson312006 changed the title Decoding? Decoding + Argos eFuse Page Mar 13, 2026
@bjackson312006 bjackson312006 marked this pull request as ready for review March 13, 2026 19:36
@bjackson312006
Copy link
Copy Markdown
Contributor Author

bjackson312006 commented Mar 20, 2026

Testing VCU Test Message 1:
This is what we're sending out: send_vcu_test_message(7, 19.342, 30, 13942, -122); // parameters ordered like: three_bits, float_value, five_bits, sixteen_bits, signed_8_bits
This is what we're reading on MQTT:
image

So, the encoding is working for this message

@bjackson312006
Copy link
Copy Markdown
Contributor Author

Testing VCU test message 2:
This is what we're sending out: send_second_vcu_test_message(12132, 3, 2, false, 35, 100000); // params ordered like: one, two, three, four, five, six

This is what we're reading from MQTT:
image

So, second test message is encoding correctly

@bjackson312006
Copy link
Copy Markdown
Contributor Author

bjackson312006 commented Mar 20, 2026

Testing BMS test message two:
This is what we're sending out:
send_bms_test_message_two(3, true, 4, 56, false, true, false, true, 200000, 356); // param order: one, two, three, four, five, six, seven, eight, nine, ten
This is what we're getting from MQTT:
image

So, encoding is working.

Now, for decoding (received on VCU):
image

So, decoding works!

@bjackson312006
Copy link
Copy Markdown
Contributor Author

Testing BMS test message one:
Here's what we send out:
send_bms_test_message_one(-1923.24, -954, 122); // one,two,three

Here's what we're getting from mqtt:
image

So, encoding is working!

Now, test decoding (received from VCU):
image
So, decoding is working!

@bjackson312006 bjackson312006 requested a review from jr1221 March 22, 2026 19:46
Comment thread can-messages/calypso_cmd.json
@bjackson312006 bjackson312006 merged commit cce8f5b into main Mar 22, 2026
2 checks passed
@bjackson312006 bjackson312006 deleted the feature/decoding-codegen branch March 22, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants