• Welcome to the largest (sim) racing website in the world!
    Blurring the line between real and virtual motorsports.


Discussion in 'Racer Cars' started by SCX, Mar 14, 2010.

  1. SCX


    How can I implement an home made control of spin &lock of the wheels.
    I would like to test some algoritms that read the wheels speed and apply a brake force on a wheel.
    Such as an ESP

    Thank you
  2. Tiberius


    Hi. You can have ABS and TC in Racer but you only get control of a few variables, mainly the slip ratios at which is turns on - as far as I know you can't control anything else.

    If you know how to code, you might be better off downloading the 0.50 source code from racer.nl and working with that, as far as I know Racer didn't have ABS or TC back then so you might have a lot of work in front of you to get it working, but it's the last version of the source that's available.

    Hope this helps.
  3. Mr Whippy

    Mr Whippy

    Yep it's just relative velocities of front/rear wheel speeds that controls abs/tcs in Racer right now.

    Good settings are 1.3/1.1 for the max/min ratios

  4. SCX


    ok, thank you.
    This is the problem.I had write a little program in Matlab that read the wheelspeed, the steering angle, the giroscope and the accelerator sensor.
    So there are some formulas it calculate the Yaw rate, the speed of the CoG and if the car is understeering or oversteering it put out a value for brake the rear left or right wheel.
    I'd like insert this program into the game to test the quality of this program.
    How can i do this?
    I never code, but I can try. So I don't know witch file modify.
    Can you help me?

    Thank you
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.