1. Thread posting restricted: Only the BeamNG team members can post new threads in this sub-forum in order to prevent spam. Posting is available on unlocked threads.

Traction Control Improvements

Discussion in 'Microblogs' started by Diamondback, Jan 24, 2019.

  1. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,157
    The last weeks I started looking into improving the traction control logic a little bit since @fufsgfen noticed some erratic behavior with large steering angles. Turns out there was a bug in the internal math that allowed for more wheelslip than expected, which in turn delayed TC response with large steering angles.
    The issue has been found and fixed but new developments in the vehicle area made me investigate further improvements for TC to better support AWD vehicles.

    I don't want to go too much into details at this point but the results are very promising, brake and throttle control are much more immediate now and can be tuned down to incredibly small thresholds.

    Here's a little demo:

    Video - Click to Play - Direct Link
     
    • Like Like x 38
    • Agree Agree x 1
  2. CaptainZoll

    CaptainZoll
    Expand Collapse

    Joined:
    Nov 10, 2016
    Messages:
    782
    avatar.jpg
     
    • Agree Agree x 7
    • Like Like x 1
  3. CrimsonCrocodile

    CrimsonCrocodile
    Expand Collapse

    Joined:
    Jun 27, 2017
    Messages:
    927
    Anyone else notice that is the new electric SBR4?

    Notice ultra high revs, lack of engine sound and extreme acceleration.
     
    • Agree Agree x 18
    • Like Like x 2
  4. ClassicMike

    ClassicMike
    Expand Collapse

    Joined:
    Jul 24, 2017
    Messages:
    33
    Electric SBR4? Amazing.
     
    • Agree Agree x 4
  5. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,525
    Thank goodness for that. The ESC has been tragic since the last update. Previously it felt smooth, currently it's jittery and more or less cuts all the throttle with even the slightest turn of the wheel. Yet it does a much worse job of keeping the car from sliding out. I had to update my mods with a new ESC copied from the ETK k series since the update since the previous one they had was nigh on undrivable.

    So if it's even just as good as it has been with previous updates. Then I'm super happy to hear it's coming. If it's better then I am pretty excited.
     
    • Agree Agree x 6
  6. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,157
    Huh? that's the first time I hear about any problems since an update? The issue I've been describing above have been around since forever.
     
    • Informative Informative x 1
  7. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,525
    Maybe something on my end then? I will try disabling all mods and see if that changes anything. I had assumed that it was going to be a case of the old esc relying on data that it shouldn't realistically have access to, and the new one being a wip using true data. Before the Italy update I hadn't questioned the esc's performance.
    --- Post updated ---
    Never mind, false alarm, I must be misremembering something. Since it does seem fine to me now, other than as you say being very slidy in the ETK k series.
    --- Post updated ---
    So I have tested with my own mods, the ESC is misbehaving in them. So I must be misremembering from that. It's entirely possible (probable) that it is my fault for not having the esc set up correctly. It might also have something to do with that delay that you spoke of causing a spiky feedback loop.

    Here is a video:


    As you can see the throttle is held at 100% a lot of the time. The clutch is automatic. This was recorded with an xbox controller.
     
    • Agree Agree x 1
    • Informative Informative x 1
  8. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    685
    yeah i've been reluctant to say anything about that since i've never gone out irl and tried doing donuts with traction turned on, so... idk how realistic that is. surely it differs massively between different cars, high vs low power, strict vs loose TC, etc.

    but i'd sure hope the car doesn't rev up and down so rapidly like that irl, it seems like that would cause more damage than just letting you spin the tires...
     
    • Agree Agree x 1
    • Informative Informative x 1
  9. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,157
    Yea that car definitely needs tuning, unfortunately it's a fairly complex topic so it's not trivial to get this stuff right... (and even less so to make some generic configuration that "just works")
    I regularly spend considerable amounts of time fine tuning our own cars.
     
    • Informative Informative x 5
    • Like Like x 1
    • Agree Agree x 1
  10. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,525
    Looks like I got some more work to do then :p

    If you know of any guides, or documentation that describes what each value does, that would be much appreciated

    Thanks :)
     
    • Informative Informative x 1
  11. Car_Genius

    Car_Genius
    Expand Collapse

    Joined:
    Feb 21, 2016
    Messages:
    173
    First of all, I love that it's got a high vis jacket. Second of all, will it have adjustable regen braking? and if so, how about the strongest one using the air brake spoiler when it is activated?
     
    • Agree Agree x 1
  12. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,166
    I guess you can start with this:
    http://www.mate.tue.nl/mate/pdfs/9985.pdf
    --- Post updated ---
    For anyone interested, I put these search terms in web search and there is lot of very interesting links:
    engineering electronic stability control design
     
    • Informative Informative x 4
  13. KiloHotel

    KiloHotel
    Expand Collapse

    Joined:
    Sep 29, 2012
    Messages:
    384
    God you guys are awesome, keep up the painstaking but excellent work. It is truly appreciated.
     
    • Agree Agree x 1
    • Informative Informative x 1
  14. MrAngry

    MrAngry
    Expand Collapse

    Joined:
    Sep 5, 2013
    Messages:
    637
    I'm not sure if it's related, but ABS has issues after recovering from a trail-braking scenario where it does not apply full braking power after recovery. Could you please look into this? @Diamondback

     
    • Agree Agree x 7
    • Informative Informative x 1
  15. ast5515

    ast5515
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    217
    That's interesting. I've been playing this game since the first alpha and I've never experienced this. Does it happen with other vehicles as well? Any special steps to reproduce it?
     
    • Informative Informative x 1
  16. MrAngry

    MrAngry
    Expand Collapse

    Joined:
    Sep 5, 2013
    Messages:
    637
    I haven't really tried it with any other vehicles, I just swing the car out of balance and make sure that ABS straightens the car out, preferably with as little steering input as possible.
     
    • Agree Agree x 1
  17. ast5515

    ast5515
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    217
    Yep, I got it. I'm using a steering wheel and I always countersteer normally. Now I tried it with a keyboard and I can replicate the problem.
     
    • Agree Agree x 1
  18. Jack The Ripper 2

    Jack The Ripper 2
    Expand Collapse

    Joined:
    Jun 9, 2017
    Messages:
    37
    It happens a lot with me, mostly when racing some cars with ABS, this bug makes me crash quite often.
     
    • Agree Agree x 1
  19. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,062
    @Diamondback Is that an electric SBR4, when will we get that?
     
  20. CrimsonCrocodile

    CrimsonCrocodile
    Expand Collapse

    Joined:
    Jun 27, 2017
    Messages:
    927
    • Like Like x 1
    • Agree Agree x 1
  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.
    Dismiss Notice