Fix for speed averaging

Whats currently going on / was gerade passiert
Post Reply
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++;

Code: Select all

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

Re: Fix for speed averaging

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

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest