Fix C++ Code for Vector DBC file Canbus computation in Linux

Job ID: 35787466

Budget: $30 – $250 AUD

What the program should do :
Read out a DBC file and store the Signal names and computations
Listen to the CANbus
If a message on the canbus matches a defined messages in the DBC then print out the Signal name and the computed value

Currently my program correctly identifies the message and prints out the SIgnal names , but the computation is completely wrong and it seems also just to evaluate the first byte of the message

I would need a freenlancer to fix the code so that the computation is correct

I attached a DBC file which i used for testing as well as a candump

For testing i used a virtual can and replayed the attached log

sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0

canplayer vcan0=can0 -v -I /home/pi/MotorsportElectronics.log