Car object with its own policy #712
Replies: 3 comments
-
In this case by agent I mean traffic vehicles. LaneChangePolicy only worked for an ego agent while in traffic_manager it throws: TypeError: act() missing 1 required positional argument: 'agent_id' for the following lines of code:
|
Beta Was this translation helpful? Give feedback.
-
Could you provide any suggestions on how to customize the behavior of the traffic in your simulator? |
Beta Was this translation helpful? Give feedback.
-
For this aim, you need to customize the trafficManager and replace the original one with it. Just check more about managers in our documentation |
Beta Was this translation helpful? Give feedback.
-
Hi, I wanted to try to create a car agent with its LineChange policy to change lines, during scenario
but i did not get how to span a distinct agent with its distinct policy.
Could you provide a minimal example where some agents are controlled by some "global" env policy and one or two are guided by other policy, like
and during simulation to do similar to:
Beta Was this translation helpful? Give feedback.
All reactions