As you might know, GPL uses some FF prediction time (I believe it
defaults at 0.018) to make up for the fact that most FF devices have a
bit of latency that is noticable.
I'm trying to think of ways to get something similar. Mainly because
hopefully this year I'll connect Racer to a high-end steering wheel
(one which is powerful enough to rip your arm off, hehe) and I think
this will be one of the bigger problems.
I believe most racing games have had to deal with this; small back &
forth motions once you pull the wheel a little and then let it go. It
may spring back & forth when the actual force is not in sync with the
simulation itself.
The only thing I could come up with sofar is a prediction based on the
derivate of Mz (aligning moment). So:
- keep last_Mz
- calculate new Mz
- Mz'=(last_Mz-Mz)/dt
- predict FF as: Mz_wheel=Mz+Mz'*prediction_time
In other words, from the last Mz change you predict ahead (with a
user-configurable 'prediction_time') where Mz is going to be once it
actually reaches the wheel.
I don't know how GPL does it; you might think of really putting the
car ahead of time and calculating its tire forces there, giving a
future Mz, and then retreating the car back to the realtime position,
but that seems very costly.
Anybody have any cunning ideas? :)
Ruud van Gaal
Free car sim: http://www.racesimcentral.net/
Pencil art : http://www.racesimcentral.net/