Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control editing...finally
03-04-2007, 06:36 AM,
#16
 
This sounds reasonable, so users can decide how much the car's speed affects the steering. For 200-degree wheel mode we can add this as a toggle option under Options -> Controls -> Joystick.
Reply
03-04-2007, 01:45 PM,
#17
 
Sounds good.
Reply
03-05-2007, 06:49 AM,
#18
 
Alright I think I've properly replaced the touchiness compensation setting and code that went with it in SVN r1586. Joe could you please check out the code changes and tell me if you think it's right, especially on speed-sensitive steering.

200-degree wheel mode should really affect joysticks, but currently it affects all steering. Can you fix this Joe (or tell me how)?
Reply
03-08-2007, 12:32 AM,
#19
 
Your implementation was okay except you were just applying speed_sens as a gain to the control... I've fixed this in R1605 so it's actually affecting the speed sensitivity behavior. By the way, the implementation may not be the best... right now the equation is:

if (carmph > 1) coeff = ratio/(carmph*(0.1+speed_sens*2.0));
val = val * coeff;

where val is the steering value. Other suggestions for how to apply speed sensitivity would be appreciated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)