Opened 11 years ago

Closed 11 years ago

#378 closed defect/bug (fixed)

Freerunner distances too long

Reported by: Odlg Owned by: KaZeR
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:
Cc:

Description

It seems that the freerunner does not calculate distances correct. Comparing the same distance on my laptop and my freerunner, the laptop says 160m and the freerunner 190m. And when my freerunner said 4000m to the next roundabout, my car measured 3.5km.
Is this related to AVOID_FLOAT?
I am using svn 2308.

Attachments (2)

calculate_scale.diff (1.4 KB) - added by Odlg 11 years ago.
Patch to calculate scale instead of using fixed scale for platforms where floating point is slow
calculate_scale.2.diff (1.4 KB) - added by Odlg 11 years ago.
Patch to lookup scale instead of using fixed scale for platforms where floating point is slow

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Odlg

Patch to calculate scale instead of using fixed scale for platforms where floating point is slow

Changed 11 years ago by Odlg

Patch to lookup scale instead of using fixed scale for platforms where floating point is slow

comment:1 Changed 11 years ago by Odlg

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

Fixed in svn 2308 and improved in svn 2309

Note: See TracTickets for help on using tickets.