AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

How to control other cars driving behaviors in Airsim

Open JyNing04 opened this issue 8 years ago • 6 comments

I have tried the latest version of City map in Airsim. I am wondering how do you guys control the behaviors of other cars besides SUV agent. Those cars seem like they are doing like "spline follow", but they also have the ability to wait for the traffic lights, which looks so cool. Could anybody tell me how to set up other vehicle agents like that? Thank you!!

JyNing04 avatar Jul 12 '18 16:07 JyNing04

hello, I wonder ask you a question, how do u add another cars in the same maps?

JordanWang0223 avatar Jul 17 '18 08:07 JordanWang0223

@JordanWang0223 What I did was to create a self-built environment in UE4 and then build the AirSim with it. So I could add as many agents as I need. However, the SUV is the only agent controlled by Airsim. Therefore, I am wondering how to set up other cars like what they did in the "City map".

JyNing04 avatar Jul 17 '18 17:07 JyNing04

i m intrested in the same question

jianghe01 avatar Jul 19 '18 09:07 jianghe01

I'm also curious about this. Seems like those cars are pretty smart, I wonder if I can find their controlling code and edit them for my own use.

Beijingsheng avatar Aug 09 '18 01:08 Beijingsheng

Hello.Has the problem been solved? I also want to do this. Thanka a lot!

Misslindalian avatar Feb 23 '19 08:02 Misslindalian

Cars are indeed on a spline follow in the City map. The intersection logic employed, unfortunately, is custom built for the environment and is not open source, so we are unable to provide the toolbox we used to construct this feature.

msb336 avatar Oct 07 '19 20:10 msb336