Fix for speed averaging

Whats currently going on / was gerade passiert
Post Reply
erikiiofph7
Posts: 26
Joined: Thu 10. Jul 2014, 20:10
Location: Sweden

Fix for speed averaging

Post by erikiiofph7 »

I realized that the averaging of the vehicle speed didn't work, data.speedIndex always had the same value. The fix is to in file MultidisplayController.cpp change line 752 from

Code: Select all

data.speedIndex = data.speedIndex++;
into

Code: Select all

data.speedIndex++;
And as a result I also had to change my SPEEDFACTOR into a fifth as I had tuned it in with the non-working averaging.
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: Fix for speed averaging

Post by designer2k2 »

Thanks for the input, bofh will update it :-)
itsmyfault...
Post Reply