Decoding can messages

Inactive

Description

Hello,

while testing my can generator values with 8 bit were working. My speed in a simple version is just 0-255. If I send the values to/from AGL the values are decoded/encoded right. If there are e.g. higher values RPM 0-8000 the decoding is not working right. I think 8000 from AGL was decoded to 8026 or something like this.

 

In the attached zip file their is my used CANdb(dbc) and cantools.py file which needs "pip3 install cantools".  I defined in this file some example messages. Then 3 messages will be created. If you want to check messages send by AGL or cantools_tester you could run the shellscript  cantools.sh. It will show you the decoded signals on shell.

 

I also added my build_service.sh that shows which steps I used for creating  my AGL-low-can-service.

 

And I additonal attached my generated_signals.json and  application-generated.cpp files while the step.

 

Regards,

Thomas

Environment

None

Attachments

3

Activity

Show:

Walt Miner 
March 29, 2023 at 9:55 PM

App FW deprecated from UCB starting with Marlin release (14.0.0)

Details

Assignee

Reporter

Components

Priority

Created February 19, 2021 at 11:08 AM
Updated March 29, 2023 at 9:55 PM
Resolved March 29, 2023 at 9:55 PM