Dismiss Notice

In the upcoming days mod approvals could be slower than normal.
Thank you for your patience.

Advanced Driver Assistance Systems 1.34

Adds safety systems to modern vehicles such as automatic braking, back-up cameras and more to come!

  1. angelo234
    You may need to reload Lua (press Ctrl + L) if the mod is not working for you.


    Advanced Driver Assistance Systems (ADAS)

    This mod adds advanced driver assistance systems you would typically find in today's modern vehicles. And these systems can be added to any vehicle (vanilla and modded)!

    Before I begin, I want to thank BeamNG for the existing game files/code, @nick12345, ShaunJunior2006112, @atomcrash07, and @crashitall for beta testing the mod, and the community for your ideas/feedback, which all have made this mod possible!


    Also check out Giani Beil's updated YouTube Player mod: https://www.beamng.com/resources/youtube-player.14769/

    If you really enjoy what I make and want to show your support, you can donate here


    Mod Showcase

    WhyBeAre



    BeamDriver




    Current Features (refer to "Usage Instructions" section below for usage)


    Automatic Emergency Braking (AEB)



    Automatic Emergency Braking (AEB) applies full braking power when it detects a possible collision with another vehicle. It is designed to mitigate or even prevent a collision from occurring. The system will first alert the driver of a possible collision with an audible tone before applying the brakes. The system uses the road markings (AI paths) to determine if an oncoming vehicle is in our vehicle's path.

    Disclaimer: System will only work effectively if lane markings are present (technically if there are AI paths mapped).



    Rear Automatic Emergency Braking (Rear AEB)

    Rear Automatic Emergency Braking (Rear AEB) is just like AEB except it applies the brakes when it detects a collision with both static objects and vehicles in reverse gear up to 25 km/h (15 mph). The system works without the need for lane markings.


    Audible Rear Parking Sensors
    This system provides an audible alert as the vehicle approaches an obstacle in reverse. The faster the warning tone is played, the closer the vehicle is to the obstacle.


    Adaptive Cruise Control (ACC)



    Adaptive Cruise Control works like a traditional cruise control system to maintain a set speed. The difference is when it detects a vehicle ahead, it will slow down to adapt to its speed and maintain a safe following distance apart. The minimum target speed you may select is 30 km/h (20 mph) but the system can stop and accelerate the vehicle if the vehicle in front comes to a stop and accelerates afterward.


    Back-up Camera

    backup_cam.png

    The camera is attached to the rear of the vehicle with a wide FOV to allow the driver to see what is directly behind them. Depending on the vehicle, the camera can display guiding lines to show where the vehicle is relative to other objects (e.g. curb, wall) and where it will go in a straight line. And trajectory lines can also be displayed to show where the car will head with the current steering input.


    Hill Start Assist

    When the driver takes their foot off the brakes to switch over to the gas pedal, the vehicle may roll back depending on the incline. This system eliminates this issue by holding the brakes until the driver hits the gas pedal. If the user is off the brake pedal for 3 seconds, the system will release the brakes.


    Automatic Headlight Dimming (DISABLED FOR NOW)

    This system automatically dims the high beams if it detects a vehicle up ahead. When no vehicles are in sight, the high beams will turn back on.




    Usage Instructions


    1a. Use the included vehicle configs to use the ADAS systems

    This mod adds vehicle configs with these ADAS installed on modern vehicles. The config names added are postfixed with "w/ ADAS". Here is an example of a vehicle config equipped with ADAS:


    Etk856ttsport_M_adas.jpg


    1b. Or you can install the systems manually by doing the following steps:

    1. Open the Vehicle Customization UI and click on the "License Plate Design" slot.

    step1.png

    2. Find "angelo234's Driver Assistance System" part and click on that.

    step2.png

    3. All systems are added by default. You can choose the systems to add/remove by clicking on the appropriate slots and adding/removing the parts.

    step3.png



    2. Using the systems

    After installing the systems, they will be active (except Adaptive Cruise Control and back-up camera) by default. To toggle the systems on/off and use them with the default keybindings, refer to "Controls" section below for keybindings.

    Forward AEB

    No action is required until the system completely stops the vehicle, in which case the driver must press either the gas or brake pedal to disengage the brake holding feature.

    Rear AEB

    No action is required until the system completely stops the vehicle, in which case the driver must press the brake pedal to disengage the brake holding feature.


    Audible Rear Parking Sensors

    No action is required here.

    Adaptive Cruise Control


    There are two main ways to engage the system, although they can be done in any order:
    • First way
      1. Increment/decrement ACC target speed
      2. Set following distance
      3. Enable the ACC system
    • Second way
      1. Bring vehicle up to desired speed
      2. Set ACC target speed
      3. Set following distance
      4. Enable the ACC system
    When you want to deactivate the system, either press the keybinding to toggle the system off or press the brake pedal.

    Back-up Camera

    To bring up the back-up camera, put the vehicle in neutral or reverse, and then press the '8' key ('9' key for bus). When you take the vehicle out of neutral or reverse gear with the back-up camera displayed, the camera will be switched to the last camera used.

    Hill Start Assist

    To engage the system, stop on an incline of 4 degrees or greater, have the car in 1st gear or drive (if rear of car facing uphill, be in reverse gear), and then press the brakes down until a message appears stating "Hill Start Assist Activated". The brakes will automatically release after hitting the throttle or after 3 seconds.

    Automatic Headlight Dimming (DISABLED FOR NOW)

    This system is disabled by default. Press the key binding "Toggle Auto Headlight Dimming" to toggle the system. After enabling it, switch to your high beams and the system will change between low and high beams automatically.

    Controls

    controls.png
    • '8' key ('9' key for bus) to show back-up camera

    Note:

    The AEB systems only work as well as your brakes and tires, plus this mod is still in beta so some systems may not work 100% of the time and false positives may occur.




    FAQ

    Q: Only the back-up camera works, what do I do?
    A: If you want the other systems enabled, just add them in the parts screen by clicking on the appropriate slots and adding the parts.

    Q: The mod isn't working properly, what do I do?
    A: Make sure game is updated to latest version and press Ctrl + L to reload Lua if it still is not working.

    Q: How do I activate the back-up camera?
    A: First you must be in reverse or neutral gear. Then in most cases the '8' key ('9' for Wentward bus). If you have other camera mods installed, try other number keys.

    Q: Can I equip other vehicles with these systems?
    A: Yes you can equip any vehicle with these systems!


    Q: Is it possible to put back-up camera on the infotainment display?
    A: No its not possible at the moment, but if only the devs could allow multiple cameras in the scene at once.

    Q: Lane centering assist when?
    A: No plans at the moment.

    Current Features
    • Forward Automatic Emergency Braking (AEB)
    • Rear Automatic Emergency Braking (Rear AEB)
    • Back-up Camera
    • Rear Parking Sensors
    • Adaptive Cruise Control
    • Ability to add systems to any vehicle
    • Key bindings to enable/disable systems
    • Automatic headlight dimming
    • Hill Start assist

    Anyways enjoy!
    :)

    Images

    1. aeb-gif.gif
    2. acc-gif.gif

Recent Reviews

  1. WakefulPrawn87
    WakefulPrawn87
    5/5,
    Version: 1.34
    This is an amazing mod but when do you think lane centering will be a possibility
  2. aSexyTryHard
    aSexyTryHard
    5/5,
    Version: 1.34
    The amount of work that went into this... Thank you!

    I do have a question, when i edit parameters for rear sensors such as

    parking_sensor_rel_height = -0.55, to parking_sensor_rel_height = -100.55,

    it doesnt make any difference to the sensor height. Sensors seem to be in the same location, no matter what. I removed all parameter files but the the one in Common, and tried to edit just that one (still to no avail). I also tried +- values along with '0.01' to see if that would shorten it. No matter what value was entered, the sensors were in the same position.

    To confirm the param file was being referenced, I changed the tone frequency, which reflected in game.

    Question is how do I adjust the sensor height? I am trying to adapt for the us_semi, but the reverse sensors wont pick up anything below the rear deck height on the cargo upfit. Next thing i was gonna try was to add some "phantom" nodes to the jbeam to hopefully lower the sensor height lol. Im not that desperate yet though ':P
    1. angelo234
      Author's Response
      That should do it I believe, but its been a while since I worked on this so I don't remember how exactly it works...
  3. rude rat
    rude rat
    4/5,
    Version: 1.34
    the mod is good but then it fixes your license plate which i find really frustrating, i no longer have it
  4. Trepidoap
    Trepidoap
    4/5,
    Version: 1.34
    Mod is great and very useful. AEB system is unusable though, since it randomly stops your car very frecuently, same with adacpative cruice control. It's like the mod detects something that makes the sensors stop the car
  5. Emre Burak Şahman
    Emre Burak Şahman
    4/5,
    Version: 1.34
    I think there should be park sensors front side too. And the reversing camera is should be on the multimedia screen if the car has a multimedia screen. Other assists is usually perfect. Sometimes the AEB system is stopping the car in the false alarm.
  6. ║vilo.║
    ║vilo.║
    3/5,
    Version: 1.34
    my back-up camera isnt working at all, when i press 8 the camera view just changes, what do i do?
  7. GrumpyGoomba
    GrumpyGoomba
    5/5,
    Version: 1.34
    Great! Can you add a UI app for the parking sensors and also add it on the front/front sides?
  8. BenandJay2009
    BenandJay2009
    4/5,
    Version: 1.34
    WE NEEED UPDATE
  9. psyfly
    psyfly
    5/5,
    Version: 1.34
    Works just like irl
  10. JoshJoseModding
    JoshJoseModding
    5/5,
    Version: 1.34
    LOVE THE BACKUP CAM. NEEDED THIS FOR SO LONG.
  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