Skip to content

Conversation

@equationcrunchor
Copy link
Collaborator

This is the new member project to allow all the boards to send out part of their git hash over CAN once a second. There are also some fixes of typos that were causing compile errors.

msg.hash3 = HASH[3];
msg.hash4 = HASH[4];
msg.hash5 = HASH[5];
msg.board = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you look at the enum_segments.h file in the can library it shows what enums are generated. You should use the names from that enum (for example,msg.board = can0_GitHash_board_BMS).

is_big_endian: true
period: 1000 ms
segments:
hash0:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be nice to add a comment explaining exactly what hash0, hash1, etc. are for.

cs->soc = msg.soc;
}

void can_handle_mc_temperature1(carstats_t *cs) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you commit this separately into roman? I'm suspicious this is what's causing your conflict.


void write_can_left_wheel_speed_msg() {
LIMIT(can0_FrontCanNodeLeftWheelSpeed_period)
LIMIT(can0_FrontCanNodeLeftWheelSpeed_period);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this change in here for? It seems unrelated.

@equationcrunchor
Copy link
Collaborator Author

Made suggested changes. But for some reason there's this plotting stuff?

@daniwhite
Copy link
Collaborator

daniwhite commented Oct 13, 2018

@mingfei Generally you should not include files if they're not related to your PR
Also @nistath thanks for removing them

@skoppula skoppula closed this Oct 16, 2018
@skoppula skoppula reopened this Oct 16, 2018
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.

5 participants