You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I wanted to add multiple vehicles with different action space to the simulator without using multi-agent setting? for example, I want to spawn multiple IDM vehicles and add another ego with cont action space?
Env seems to have one action space for all vehicles, but is there any ways to do this?
self.action_type = action_factory(self, self.config["action"])
Thanks,
The text was updated successfully, but these errors were encountered:
Yes it is possible: the action_type is only relevant for the controlled vehicle(s) (or ego-vehicle).
Other (uncontrolled) vehicles in the scenes do not follow this action type. In the environment, the make_vehicles() method should simply create some IDMVehicles and add them to the scene (which is usually the case by default), and these vehicles will follow the IDM model, while you can still set a continuous action space for the ego-vehicle..
Hi, I wanted to add multiple vehicles with different action space to the simulator without using multi-agent setting? for example, I want to spawn multiple IDM vehicles and add another ego with cont action space?
Env seems to have one action space for all vehicles, but is there any ways to do this?
self.action_type = action_factory(self, self.config["action"])
Thanks,
The text was updated successfully, but these errors were encountered: