beamngpy: Guidelines on how to use methods for the AI

Discussion in 'Utilities and programming' started by Karthik Pradhan, Oct 12, 2019.

Tags:
  1. Karthik Pradhan

    Karthik Pradhan
    Expand Collapse

    Joined:
    Oct 11, 2019
    Messages:
    1
    Hello All,

    I am using BeamNGPy API to run simulations. I am simulating the behavior of an autonomous car. I use 'ai_set_line' to set the path for the AI. When I run the scenario, the car starts as expected, but it hits everything that comes in front of it. Its only aim is to reach the set destination; it does not stop if I bring something in front of it. I expect that the AI stops if there is something in front of it and it should not hit the objects. So, is there a way that I can make the AI behave as the real AI does? Could someone please help me as to how I can make the AI do so?

    Regards,
    Karthik
     
  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