Skip to content

Commit

Permalink
vc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiajun-Huang committed Jan 18, 2025
1 parent d931507 commit 13b3411
Show file tree
Hide file tree
Showing 42 changed files with 2,918 additions and 18,283 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"--board",
"VC",
"--can_data_dir",
"scripts/code_generation/jsoncan/example_json",
"${workspaceRoot}/can_bus/quadruna",
"--output_dir",
"output",
"--dbc_output",
Expand Down
226 changes: 113 additions & 113 deletions can_bus/quadruna/BMS/BMS_alerts.json
Original file line number Diff line number Diff line change
@@ -1,115 +1,115 @@
{
"warnings_id": 150,
"faults_id": 151,
"warnings_counts_id": 152,
"faults_counts_id": 153,
"bus": ["CAN1"],
"warnings": {
"StackWaterMarkHighTask1Hz": {
"id": 101,
"description": "1Hz task stack watermark exceeded."
},
"StackWaterMarkHighTask100Hz": {
"id": 102,
"description": "100Hz task stack watermark exceeded."
},
"StackWaterMarkHighTask1kHz": {
"id": 103,
"description": "1kHz task stack watermark exceeded."
},
"StackWaterMarkHighTaskCanRx": {
"id": 104,
"description": "CAN RX task stack watermark exceeded."
},
"StackWaterMarkHighTaskCanTx": {
"id": 105,
"description": "CAN TX task stack watermark exceeded."
},
"WatchdogTimeout": {
"id": 106,
"description": "Watchdog timeout detected."
},
"TxOverflow": {
"id": 107,
"description": "CAN TX queue has overflowed."
},
"RxOverflow": {
"id": 108,
"description": "CAN RX queue has overflowed."
},
"OpenWireCheckFault": {
"id": 109,
"description": "Open wire cell detected (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment0_GND": {
"id": 110,
"description": "Open wire cell detected in segment 0 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment1_GND": {
"id": 111,
"description": "Open wire cell detected in segment 1 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment2_GND": {
"id": 112,
"description": "Open wire cell detected in segment 2 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment3_GND": {
"id": 113,
"description": "Open wire cell detected in segment 3 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment4_GND": {
"id": 114,
"description": "Open wire cell detected in segment 4 (cell voltage tap is open circuit)."
},
"MissingVCHeartbeat": {
"id": 115,
"description": "Missing heartbeat from the VC."
}
},
"faults": {
"StateMachine": {
"id": 154,
"description": "BMS has transitioned to fault state."
},
"CellUndervoltage": {
"id": 155,
"description": "Cell is critically undervoltage (<3.0V)"
},
"CellOvervoltage": {
"id": 156,
"description": "Cell is critically overvoltage (>4.2V)"
},
"ModuleCommunicationError": {
"id": 157,
"description": "Failed to communicate with LTC6813 modules (>3x bad PEC15 error checks)."
},
"CellUndertemp": {
"id": 158,
"description": "Cell is critically undertemp (<-20degC)"
},
"CellOvertemp": {
"id": 159,
"description": "Cell is critically overtemp (>45degC if charging, >60degC if not)."
},
"ChargerReportedError": {
"id": 160,
"description": "The charger reported an error."
},
"ChargerDisconnectedDuringCharge": {
"id": 161,
"description": "Charger was disconnected while in charge state."
},
"ChargerShutdownLoopOpen": {
"id": 162,
"description": "AIR- opened during charging."
},
"TractiveSystemOvercurrent": {
"id": 163,
"description": "Tractive system overcurrent detected (<-265A or >70.8A)."
},
"PrechargeFailure": {
"id": 164,
"description": "Precharge failed 3x times."
}
"warnings_id": 150,
"faults_id": 151,
"warnings_counts_id": 152,
"faults_counts_id": 153,
"bus": ["Can"],
"warnings": {
"StackWaterMarkHighTask1Hz": {
"id": 101,
"description": "1Hz task stack watermark exceeded."
},
"StackWaterMarkHighTask100Hz": {
"id": 102,
"description": "100Hz task stack watermark exceeded."
},
"StackWaterMarkHighTask1kHz": {
"id": 103,
"description": "1kHz task stack watermark exceeded."
},
"StackWaterMarkHighTaskCanRx": {
"id": 104,
"description": "CAN RX task stack watermark exceeded."
},
"StackWaterMarkHighTaskCanTx": {
"id": 105,
"description": "CAN TX task stack watermark exceeded."
},
"WatchdogTimeout": {
"id": 106,
"description": "Watchdog timeout detected."
},
"TxOverflow": {
"id": 107,
"description": "CAN TX queue has overflowed."
},
"RxOverflow": {
"id": 108,
"description": "CAN RX queue has overflowed."
},
"OpenWireCheckFault": {
"id": 109,
"description": "Open wire cell detected (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment0_GND": {
"id": 110,
"description": "Open wire cell detected in segment 0 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment1_GND": {
"id": 111,
"description": "Open wire cell detected in segment 1 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment2_GND": {
"id": 112,
"description": "Open wire cell detected in segment 2 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment3_GND": {
"id": 113,
"description": "Open wire cell detected in segment 3 (cell voltage tap is open circuit)."
},
"OpenWireCheck_Segment4_GND": {
"id": 114,
"description": "Open wire cell detected in segment 4 (cell voltage tap is open circuit)."
},
"MissingVCHeartbeat": {
"id": 115,
"description": "Missing heartbeat from the VC."
}
},
"faults": {
"StateMachine": {
"id": 154,
"description": "BMS has transitioned to fault state."
},
"CellUndervoltage": {
"id": 155,
"description": "Cell is critically undervoltage (<3.0V)"
},
"CellOvervoltage": {
"id": 156,
"description": "Cell is critically overvoltage (>4.2V)"
},
"ModuleCommunicationError": {
"id": 157,
"description": "Failed to communicate with LTC6813 modules (>3x bad PEC15 error checks)."
},
"CellUndertemp": {
"id": 158,
"description": "Cell is critically undertemp (<-20degC)"
},
"CellOvertemp": {
"id": 159,
"description": "Cell is critically overtemp (>45degC if charging, >60degC if not)."
},
"ChargerReportedError": {
"id": 160,
"description": "The charger reported an error."
},
"ChargerDisconnectedDuringCharge": {
"id": 161,
"description": "Charger was disconnected while in charge state."
},
"ChargerShutdownLoopOpen": {
"id": 162,
"description": "AIR- opened during charging."
},
"TractiveSystemOvercurrent": {
"id": 163,
"description": "Tractive system overcurrent detected (<-265A or >70.8A)."
},
"PrechargeFailure": {
"id": 164,
"description": "Precharge failed 3x times."
}
}
}
}
Loading

0 comments on commit 13b3411

Please sign in to comment.