Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Better algorithm for speed sensitive steering?
06-28-2009, 01:55 PM,
#2
 
Cool plots! I've been wanting to do something like this. Driving the 360, for example, is almost impossible without speed sensitive steering because it's such a twitchy car, but then if you ever break the rear loose (which happens all the time), you can't counter steer to correct.

I added your changes in R2507. This system works great. Most of the steering range is still pretty linear, but at the ends of the range it gets exponential so you can still countersteer effectively. Also, I tweaked the equation I was using for fading in the speed sensitivity -- I realized I really wanted an arctan function, and what I had been using before was basically an approximation of it, so now I just use the arctan directly (this is only called once per car, so no huge performance hit).
Reply


Messages In This Thread
[No subject] - by joevenzon_phpbb2_import3 - 06-28-2009, 01:55 PM
[No subject] - by alex25 - 07-14-2009, 05:14 PM
[No subject] - by fudje - 07-15-2009, 08:11 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-15-2009, 10:27 PM
[No subject] - by alex25 - 07-15-2009, 10:37 PM
[No subject] - by stan.distortion - 07-20-2009, 05:44 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-22-2009, 10:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)