openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
238 stars 69 forks source link

PI receiving CAN messages with candump can0, but dash values not changing #129

Closed thewormhole5 closed 1 year ago

thewormhole5 commented 1 year ago

I can see the CAN messages coming in on the terminal. but the values on the dash do not show anything other than --?

rsjudka commented 1 year ago

did you select the appropriate interface/mode in the settings window (cog icon in the top right corner of the vehicle page) ?

thewormhole5 commented 1 year ago

i had it set to can0 and unloader and server was slid to on. my car has an aftermarket computer, ecu master emu black. the openDSH was showing --. i changed my ECU setting "canbus dashboard" from none to user defined and it started to work. thank you for responding, means a lot. now to figure out how to change the mph/kmh to AFR. ecu pre ecu work setting working candump

rsjudka commented 1 year ago

not sure on your desire to work in c++ but this would be where you'd want to manipulate the speed gauge https://github.com/openDsh/dash/blob/develop/src/app/pages/vehicle.cpp#L367

and then adding a command/decoder/conversion to extract the AFR here https://github.com/openDsh/dash/tree/develop/include/obd https://github.com/openDsh/dash/blob/develop/src/obd

the goal is eventually to have each gauge be customizable but going to take some rework to get there :)

thewormhole5 commented 1 year ago

this project is so cool. thank you for making this project and your help.

thewormhole5 commented 1 year ago

im trying to change the "mph" to "afr". but changing line 367 does not change the on screen. image

rsjudka commented 1 year ago

did you rebuild dash after making that change? going into .../dash/build and then running make?

thewormhole5 commented 1 year ago

yes. running Makefile brings this up. but it does not change the labels. image

thewormhole5 commented 1 year ago

I was able to figure out what needed to happen, open the Makefile mentioned the click Build at the top of Geany, then "Make". Thank you