BeamNGpy icon indicating copy to clipboard operation
BeamNGpy copied to clipboard

How to increase the randomness of traffic flow?

Open yuyuyu223 opened this issue 10 months ago • 1 comments

I used the following code to generate traffic flow:

beamng.traffic.spawn(max_amount=5)

But the position of each traffic vehicle is almost fixed. I want to know how to generate a richer traffic flow state.

image

image

Is there an interface for inputting random seeds?

In addition, how to define the conditions for generating traffic flow, such as within a certain vicinity of an ego vehicle?

yuyuyu223 avatar Apr 12 '24 02:04 yuyuyu223