UMSAE-Formula-Electric/SCU2.0

Break down CAN DBC file for testing

オープン

#33 opened on 2025/09/14

 (0 件のコメント) (0 件のリアクション) (2 人の担当者)C (0 件のフォーク)auto 404
DAQcan busdocumentationgood first issue

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (平均マージ 8d 23h) (30d で 2 merged PRs)

説明

Background/Reasoning

A DBC file is a file used to define a CAN bus/read CAN messages sent between the different boards on the car. It defines the size, type, destination and other parameters of signals sent on the bus. For this task we want to have the option of verifying the validity of the master CAN DBC file by testing each of the individual signals. This is a critical task to enable us to simulate the CAN bus and do any meaningful logging.

Task Description

This task is to open the DBC file in either a text editor or a dedicated DBC file editor there is one called vector CANdb++. Once you have the file open spend some time going over the format of the file and trying to understand what each of the sections mean.

Looking at formatting on google could be a good place to start: deepwiki - dbc format

We want all messages sent by each ECU in a separate DBC file. This means we need to define each ECU just like in the master file but remove the messages that do not pertain to the ECU that the file is for.

Expected Outcome

The end goal here is to have 5 files one for each ECU + the master file that will be verified through each of the other DBC files. We need each DBC to build correctly on the data logger and simulation software without error and be in the format:

ECU_CAN_DBC.dbc

Completed ECU

  • VCU
  • ACU
  • SCU
  • BMS
  • Motor Controller

コントリビューターガイド