Combine Jetbot Road Following and Collision Avoidance Tasks

Hello everyone,

As a beginner, after going through and completing all of the Example Notebooks available in the Jetbot Repository (which were awesome btw). I thought to myself what’s next? I have a well trained Road Following model, a well trained Collision Avoidance model and a self-made track so I decided to combine both these optimized models into one notebook and this was the result:

jetbot-gif1

The Jetbot was able to follow a specific path on the track and at the same time also able to avoid collisions with obstacles that come on it’s way in real-time by bringing the Jetbot into a complete halt. The Collision Avoidance can be trained on different obstacles including vehicles, people, stop signs, traffic lights or any other object that you would expect to see on the road!

Github Repo: Github
Video link: YouTube

For more details on how to use the script feel free to have a look at the Github Readme and I hope you all enjoy your self-driving collision-avoidance vehicle!

Any feedbacks are welcome and I would very much love for this to be added as an extension to the original Jetbot Repo! Cheers ✌.

4 Likes

Hi @Abuelgasim,

Thanks for sharing, this is very cool! I think this will definitely help developers looking to take JetBot to the next level.

I’ve created a “Community Examples” section in the JetBot documentation, and added your extension. I hope this will enable others to discover and explore your work. You can find this here

http://jetbot.org/master/examples/community_examples.html#combined-collision-avoidance-and-road-following

Please let me know if you see any issues.

Awesome work!

Best,
John

2 Likes

Hi @jaybdub, Thank you very much I really appreciate it!