BeamNGpy
BeamNGpy copied to clipboard
How to increase the randomness of traffic flow?
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.
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?