Skip to content

Commit

Permalink
Add num CAN rx/tx faults signals to msg maps
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyli-13 committed May 26, 2021
1 parent 24b8742 commit 550d512
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/test-stress-can/include/CANConfigArm.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ static CANMsgMap txMsgMap = {
(CANSignalValue_t)ARM_RIGHT_WRIST_CURRENT_SENSOR_STATE_VALUES::SNA},
{CANSIGNAL::ARM_CLAW_ENCODER_STATE, (CANSignalValue_t)ARM_CLAW_ENCODER_STATE_VALUES::SNA},
{CANSIGNAL::ARM_CLAW_CURRENT_SENSOR_STATE, (CANSignalValue_t)ARM_CLAW_CURRENT_SENSOR_STATE_VALUES::SNA},
{CANSIGNAL::ARM_NUM_CANRX_FAULTS, 0},
{CANSIGNAL::ARM_NUM_CANTX_FAULTS, 0},
}},
{CANID::ARM_REPORT_DIAGNOSTICS,
{
Expand Down
2 changes: 2 additions & 0 deletions apps/test-stress-can/include/CANConfigGimbal.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ static CANMsgMap txMsgMap = {
{CANID::GIMBAL_REPORT_FAULTS,
{
{CANSIGNAL::GIMBAL_PAN_ENCODER_STATE, (CANSignalValue_t)GIMBAL_PAN_ENCODER_STATE_VALUES::SNA},
{CANSIGNAL::GIMBAL_NUM_CANRX_FAULTS, 0},
{CANSIGNAL::GIMBAL_NUM_CANTX_FAULTS, 0},
}},
{CANID::GIMBAL_REPORT_DIAGNOSTICS,
{
Expand Down
2 changes: 2 additions & 0 deletions apps/test-stress-can/include/CANConfigScience.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ static CANMsgMap txMsgMap = {
{CANSIGNAL::SCIENCE_GENEVA_ENCODER_STATE, (CANSignalValue_t)SCIENCE_GENEVA_ENCODER_STATE_VALUES::SNA},
{CANSIGNAL::SCIENCE_ELEVATOR_ENCODER_STATE, (CANSignalValue_t)SCIENCE_ELEVATOR_ENCODER_STATE_VALUES::SNA},
{CANSIGNAL::SCIENCE_MOISTURE_SENSOR_STATE, (CANSignalValue_t)SCIENCE_MOISTURE_SENSOR_STATE_VALUES::SNA},
{CANSIGNAL::SCIENCE_NUM_CANRX_FAULTS, 0},
{CANSIGNAL::SCIENCE_NUM_CANTX_FAULTS, 0},
}},
{CANID::SCIENCE_REPORT_DIAGNOSTICS,
{
Expand Down

0 comments on commit 550d512

Please sign in to comment.