Skip to content

Tools

RPi Setup

Note

Please have enough space in the laptop or machine as we need atleast 50gb of space for proper Qt related package install. Qt versions doesn't matter. The code is compatible with any version

Qt Image

  • Please follow the documentation for installing Qt Creator and Qt Designer. Use your edu email.
  • Please follow the link to install my qbsp image available from here
  • Please follow the documentation to understand Qt for embedded
  • SD-Card is already built with proper image and libraries are installed

Customize your image

  • Please follow this only required
  • I have already built image from scratch including gpio libraries. A lot of libraries are built in.

Installations

  • Install Github
  • Install Vector CANDB Editor - Viewing DBC file
  • Install PCAN USB driver -- CAN Sniff
  • Install Qt-Creator and Qt-Design Studio from previous sections
  • Install CANAMOON from EPEC -- Only available for the UofM folks -- needed to see the timing and overall CAN sniffed messages
  • May be a Vector CANOE or other vector related software if required for advanced analysis -- not a necessary step
  • Install Webasto Peak config, power user for editron and DVT for sevcon if you want to change parameter only

About DBC

  • Database file for all the CAN data for decoding bytes of data will be provided by each of the vendor in your system
  • Since it is offroad vehicle we will have 29 bit id and 8 bytes of data. Now each node might have several messages. Check Tx or Rx of the particular nodes in Vector CANDB editor software
  • Now this 8 bytes of data will have different parts accomodating multiple signals
  • DBC file provides a way to encode and decode bytes of data with signal values placed in their places
  • This is the best resource to follow to learn more about it

How to merge dbc or edit?

  • Either manually edit the file which is easy
  • Use cantools on Linux system to modify the DBC files