1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.30 Bug Reporting thread
    Solutions and more information may already be available.

Traction Control does not Brake the Slipping Wheel

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by default0.0player, Aug 17, 2019.

  1. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,926
    Already fixed in 0.18

    BeamNGdrive-017008941-RELEASE-x642019_8_1710_59_55.png BeamNGdrive-017008941-RELEASE-x642019_8_1711_02_13.png
    As shown in the picture. One drive wheel nodegrabbed up and throttle applied. The ESC reduced throttle but brake temp remain unchanged, and both of the car doesn't move an inch
     
    #1 default0.0player, Aug 17, 2019
    Last edited: Mar 22, 2020
    • Agree Agree x 1
  2. monobrau

    monobrau
    Expand Collapse

    Joined:
    Aug 18, 2013
    Messages:
    200
    Standard traction control systems do not actuate the brakes, they only reduce throttle input if the system detects the wheels are slipping from power, hence the lack of torque shown from the apps. It is behaving in the same way a real vehicle would in this situation. A fair amount of vehicles don't brake vector. I wouldn't expect a base model sunburst.

    Edit: my info is wrong
     
    #2 monobrau, Aug 17, 2019
    Last edited: Aug 18, 2019
    • Agree Agree x 1
  3. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,926
    Well looks like you didn't know the whole picture. Brake vectoring is present after the ESC implemention and until 0.15, however in 0.16 and 0.17 the TCS has a bug(already mentioned before 0.17) that prevent the TC from doing brake vectoring.
    If you look into the "base model" Sunburst's ESC code you'll find that both the throttle factor and brake factor are not zero, meaning that it'll brake and reduce gas at the same time.
    Code:
                        //TCS
                        "slipThreshold": 0.05,
                        "minThrottleFactor": 0.05,
                        "maxBrakingFactor": 0.85,
                        "throttleProportionalFactor": 3.5,
                        "throttleIntegralFactor": 5,
                        "brakingProportionalFactor": 2,
                        "brakingIntegralFactor": 1,
                        "brakeThrottleSwitchThreshold": 20,
    Vehicle IRL is somewhat different. In early days TCS only brake and not reduce gas. Only modern vehicle TCS does brake and throttle reduction at the same time.
    Note: Brake Vectoring is a term that describes an open differentialed vehicle that uses brake to improve cornering handling.

    OP edited to be more polite instead of just saying "this".
     
    • Agree Agree x 2
  4. monobrau

    monobrau
    Expand Collapse

    Joined:
    Aug 18, 2013
    Messages:
    200
    I guess I learned something today. i tend to jump the gun a lot in conversations. Sorry about that.
     
    • Like Like x 1
  5. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,926
    In the esc.lua
    line 397 to 407
    Code:
            if crossWheelSlip <= currentESCConfiguration.slipThreshold then
              --tcsWheelBrakeTorques[wheelIdCache[i]] = 0
              --No slip here, let the next frame know that we have at least one good wheel
              throttleFactorData[throttleFactorName].allWheelSlip = throttleFactorData[throttleFactorName].allWheelSlipSmoother:getUncapped(0, dt)
            else
              --tcsWheelBrakeTorques[wheelIdCache[i]] = wheel.brakeTorque * wheel.tractionControlBrakeFactor
              --try to reduce the slip based on the current slip value and the last frame's information about allWheelSlip
              tcsActive = true --activate the esc light
              throttleFactorData[throttleFactorName].tcsActive = true
              throttleFactorData[throttleFactorName].allWheelSlip = throttleFactorData[throttleFactorName].allWheelSlipSmoother:getUncapped(1, dt)
            end
    The "tcsWheelBrakeTorques" has been "--"ed
    And in line 458
    Code:
        tcsBrakeMode = "hold"
        tcsThrottleMode = "reduce"
        tempRevLimiterTimer = 0.3
    There's no "hold" function afterwards, only "reduce" and "relax"
     
  6. Superchu Frostbite

    Superchu Frostbite
    Expand Collapse

    Joined:
    Feb 8, 2016
    Messages:
    246
    Can you replicate this problem while the car has it's wheels all on the ground? I'm reasonably sure lifting only one wheel up for an extended period of time is a use case for TCS most manufacturers would not consider in detail. In fact, many cars disable TCS when only the fronts or rears are spinning for emissions and dyno testing. After all, it's hard to get a good smog rating if the traction police won't let the tires spin.
     
  7. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,926
    BeamNGdrive-017129059-RELEASE-x642019_10_168_49_55.png
    As shown, all wheels are on the ground. ESC sport mode, Throttle cut(-64Nm engine torque) and no brakes.
    BeamNGdrive-014057782-RELEASE-x642019_10_168_54_18.png
    In game version 0.14 ESC sport mode, the braking force is significant and the acceleration is faster.
     

    Attached Files:

    #7 default0.0player, Oct 16, 2019
    Last edited: Oct 16, 2019
  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