• Bug Feedback
  • Vehicle Information-Economy : Decimal separator bug?

I have installed 3.5 Update 241118, on my dudu7.
(My Car is a Seat Leon 5F from 2015 with the canbus Raise VW-RZ-08 which came with the head unit)

Under Vehicle Information > Economy there seems to be a problem with decimal separatiors, it always shows 0 behind the decimal separator instead of 7,8 l/100km it is 7,0 l/100km.

In my Screenshot >
1) Since start:
Car display: 7,6 l/100km
Vehicle Information>Economy: 7,0 l/100km

2) Since refuel:
Car: 8,0
Vehicle Information>Economy: 8,0
(this is by chance ,0. But I can confirm if the car shows for example 8,5 the Vehicle Information>Economy says always 8,0)

3) Long term:
Car: 7,6
Vehicle Information>Economy: 7,0

As you can see, it is always 0 behind the decimal separator. Maybe an issue with "," and "." due to localisation?

Greetings

    guest123
    Please mention wich localisation you use. It makes it easier for the developers, although this bug should not have been made.

    Car language is german and dudu7 language is set to english.
    I guess that it is a localisation problem with comma and point as decimal separator because the rest of the economy pages is working correctly.

    guest123
    Open the Vehicle settings app, open the Oil mileage interface, and compare the data.

    guest123
    Open this option Setup>Vehicle>Factory Set>Other>Export CANBUS Log to .txt File
    Until the value displayed on the dashboard or the Vehicle Details app change, then turn off this option(Be sure to turn off this option when not in use, otherwise it may affect device performance).
    Open the Files app and send the log file from the canBusALog folder in the root directory here.

    Here is the canbus log while I was in menu "Vehicle Information>Economy" under the Tab "Since Start".
    I logged some minutes, I hope that helps identifying the problem. The other Tabs are more difficult to change parameters, I have Longterm of about 4000 km so that value does not change so easy.

    log-2024-12-03-0.txt
    113kB

      guest123
      Open the Vehicle settings app, open the Oil mileage interface, and compare the data, and take a photo.

      Do you mean the vehicle information page?

        guest123

        There it works. Only thing to mention is that x,4 and x,9 shows as x,400001L/100km and x,00001L/100km. The other vales are shown correctly as single digit behind decimal separator. Controlled in " Since start" the others are much more difficult to check from 0,1-0,9

        Here a screenshot:

        Here is also one strange value. Correct value (7,7L/100km( but strange layout.with lots of unecessary zeros

        • Edited

        Can you send me the message file corresponding to the above picture? I need to analyze the data.

        You mean the canbus logfile while I am in that menu?

        Why a canbus file? It is clearly a division without rounding the outcome

        avg_fuel = "kilometers_driven" / "used_fuel"; # --> 7.70000003 L/100km
        System.out.format("%.2f", avg_fuel); # --> 7.70 L/100km (2 decimals)

        Or whatever output string you use.

        What about the initial post, where the digit behind the decimal seperator in Verhicle information > economy is always 0, will it be possible to fix it?

        Thanks for reply.

          guest123
          Can you provide some more logs?
          For example, at a certain moment, the vehicle dashboard displays decimals, the Vehicle Settings app also displays decimals, the Vehicle Information app displays integers.
          Do not modify or delete the content of the log file by yourself.

          Open this option Setup>Vehicle>Factory Set>Other>Export CANBUS Log to .txt File
          Until the value displayed on the dashboard or the Vehicle Details app change, then turn off this option(Be sure to turn off this option when not in use, otherwise it may affect device performance).
          Open the Files app and send the log file from the canBusALog folder in the root directory here.

          In the vehicle settings app that shows decimals I am going to provide you a logfile.

          A logfile while the window " Vehicle Information > Economy " is active is already posted above.

            guest123
            Please provide the log file again.
            For example, at a certain moment, the vehicle dashboard displays decimals, the Vehicle Settings app also displays decimals, the Vehicle Information app displays integers.
            Do not modify or delete the content of the log file by yourself.


            As I said, the cars display (not dudu7) shows f.ex. 7,2 or 8,5L/100km and under the vehicle Information/Economy tab it only shows 7,0 or 8,0 ... Always ,0 at the end.
            Here is the log of that one. (log_2024-12-02_0.txt)

            The vehicle settings/oil milage shows the correct values behind the comma 7,2 or 8,5L/100km (log_2024-12-03_0.txt)

            Unluckily I can not upload here, but I hope you can access the wetransfer uploads:
            https://we.tl/t-ueLUWqI6iJ

            Greetings

            5 days later

            Okay, with the latest pre-release from 2024/12/11 it's fixed. Thank you. Vales show correctly now with comma values. 👍