Creating a League SD Image¶
Many times teams will not have the time to build their own image during the time allocated for an event. It typically takes 2-4 hours to create a DonkeyCar image that is ready to drive. To get around this problem, leagues frequently create their own "reference image" that are given to teams.
Checklist for the League Image¶
- Bookmark bar in the browser is visible (check Show Bookmarks Bar)
- Bookmark bar is populated with:
- You League Homepage (use GitHub Pages and mkdocs for best pratices)
- Links to Team pages with sample myconfig.py files for each team's car
- Link to the AI Racing League site (https://www.coderdojotc.org/ai-racing-league/)
- Links to the DonkeyCar site
- Links to the Raspberry Pi or NVIDIA Nano site
- All operating system files updates before match
- Auto-update disabled - you don't what gigabyte uploads when people insert their image
- All Python libraries Updates
- Verify Python release such as Python 3.7 using
python --version
- Run "pip freeze" to get a list of the libraries you have tested on
- All DonkeyCar libraries updated
- In the "donkeycar" repo run a "git pull" to update the latest code
- Make sure you ONLY change the myconfig.py - changes to config.py will be lost
## Things to Remove from your Image
- Personal information (from your github file in .gitinfo)
- Change Hostname to be Generic (arl)
- Remove your home or school default wifi settings
Burning an League Reference Image¶
- Take the image out of your car
- Take it to a Mac/PC and copy the image to your harddrive using the dd Command
- Insert a black MicroSD card
- Copy the image on your PC's Harddrive to the new MicroSD Using DD or a GUI tool like belana Etcher