thibo73800 / metacar

A reinforcement learning environment for self-driving cars in the browser.
https://www.metacar-project.com/
369 stars 76 forks source link

Stop the agent instead of changing lane #37

Open YashNamdeo opened 4 years ago

YashNamdeo commented 4 years ago

How to stop the agent whenever it's path is blocked or let it just simply follow other vehicles instead of changing lanes? I tried various things but nothing is reflecting while training.

thibo73800 commented 4 years ago

Hi, you want the agent to learn a behavior to follow other vehicles rather than changing lanes ?

YashNamdeo commented 4 years ago

Yes, I want the agent to stop whenever any other vehicle comes on its way or simply follow the other vehicles without undergoing any collision. So basically I just want to introduce a braking part in it. The agent should accelerate whenever the path is free and at the same time it should reduce the speed or it should stop whenever it's path is blocked but it should never change lane.

I have tried various things ranging from changing the control motion to changing reward function but still nothing seems to work out.