Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3810

Decoding can messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Inactive
    • Icon: Major Major
    • None
    • None
    • Connectivity
    • None

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            scottm Scott Murray
            walzert Thomas Walzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: