thomasfermi / Algorithms-for-Automated-Driving

Each chapter of this (mini-)book guides you in programming one important software component for automated driving.

Home Page:https://thomasfermi.github.io/Algorithms-for-Automated-Driving/Introduction/intro.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

questions about collect_data.py

tlian96 opened this issue · comments

Hi, Mario. Really thanks for your great work. I learned a lot from your book. I'd like to ask you a tiny question. In the Lane Boundary Projection:'Getting images is easy with Carla: We can attach a camera to a vehicle and store the image that this camera takes. If you want to see details, you can check out collect_data.py'. Could you please tell me where I can find this collect_data.py. I couldn't find it in your repository.

Hi @liantao-genius ! I'm glad you liked the book :)

You can find that script here.
Be sure to run it like it is specified in the book (click on "generate data yourself"):
cd Algorithms-for-Automated-Driving
conda activate aad
python -m code.solutions.lane_detection.collect_data

The section of the book that mentions the python script should have a link to that script. There are probably other parts in the book where such a link would be nice. I will look into this, once I find the time. The issue can be closed once this is done.