Edouard Leurent

Results 176 comments of Edouard Leurent

https://user-images.githubusercontent.com/1706935/148241437-0721414c-3213-43df-9ecf-d3ae4922a7dd.mp4 This is what I get on my [exit_env](https://github.com/eleurent/highway-env/blob/c2373062d5b6e68666d75042eff5a28f53138cdf/highway_env/envs/exit_env.py) environment, after adding the following lines in `create_vehicles()`. ``` vehicle = vehicles_type.create_random(self.road, lane_from="0", lane_to="1", lane_id=lane_id, speed=lane.speed_limit, spacing=1 / self.config["vehicles_density"], ).plan_route_to("exit") graph...

Hi! The lane change decision is carried out by the MOBIL model, which theoretically has a mechanism to avoid this kind of scenarios: when considering a lane change, a vehicle...

Hi @TheNeeloy First, in your "Sequence of 5 episodes with 10 non-ego vehicles max with crashes:", I can see only one crash, happening at 0:05. It is very strange that...

Hi @Veronica1312, The initial speed of a vehicle is often set in the `_create_vehicles()` method of each environment, see e.g. It is initialized differently depending on the scene, for instance...

Other possibility: you could set the ego-vehicle speed manually after each time the environment is reset, with: ``` env = gym.make(...) env.reset() env.vehicle.speed = ```

That is strange, the MOBIL model should allow them to change lane if there is no vehicle incoming in the other lane, since it would provide a gain in acceleration....

About the stuck vehicle: I think it may be because of this line: https://github.com/eleurent/highway-env/blob/9d63973da854584fe51b00ccee7b24b1bf031418/highway_env/vehicle/behavior.py#L110 In the original MOBIL model, lane changes are instantaneous. In this project however, that is not...

Hi @zijianh4, Currently, the several types of rewards (I imagine you mean like safety, efficiency, comfort, etc) are typically summed into a single scalar reward, that is optimised by the...

Shouldn't you just replace `return` by `return info`?

Hi @Joe12138 , thanks! Basically, a lane is described by a curve representing its centerline, and this curve is parameterized by its longitudinal abscissa. And any point which is not...