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 » Wed 4. Nov 2015, 20:13

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: 711
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: Fix for speed averaging

Post by designer2k2 » Sun 8. Nov 2015, 09:49

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests