Opened 9 years ago

Closed 9 years ago

#778 closed defect/bug (duplicate)

Odometer OSD avg_spd remains at 0

Reported by: korrosa Owned by: Singesang
Priority: major Milestone:
Component: osd/core Version: git master
Severity: Keywords:
Cc:

Description

Navit r4186. The following is the line in navit.xml:

<osd enabled="yes" type="odometer" w="125" h="20"  x="-125" y="0" font_size="300" label="${avg_spd}" background_color="#000000c8" align="8" autostart="true"/>

When I click the OSD, the "0" turns orange (i.e. the OSD does go into a paused state). Clicking again turns the "0" white (i.e. active), but it remains at zero, even when doing >100kph for 10 minutes at a time. Something, somewhere isn't counting properly, as the OSD itself seems to be working. Attached images show the two states, and the current speed. Odometer OSD is top-right, first one down.

Extra info: removing the autostart="true" from the above navit.xml line, re-starting Navit and clicking on the OSD to activate it results in:

  • The OSD very briefly displays "-nan" (briefly here means < 1 second).
  • The OSD displays "0" from then on, no matter how fast/far we've driven.

I haven't tested other labels in the OSD, as I couldn't remember what they were at the time...!

Change History (1)

comment:1 Changed 9 years ago by korrosa

  • Resolution set to duplicate
  • Status changed from new to closed

For some reason it created two of the same ticket. Keeping #779 open.

Note: See TracTickets for help on using tickets.