Installing the Code!!!
Part 1: Dependencies
The software relies on other programs to run smoothly. We'll install these now.
- Install Main Dependencies
sudo apt install git -y sudo apt install python3-pip -y sudo apt install python-setuptools -y sudo apt install python3-flask -y sudo apt install python-flask -y sudo pip install django-templates
- Now, we're going to install the official PiCar-V code.
cd ~/ git clone https://github.com/sunfounder/SunFounder_PiCar-V.git
- Enter the directory
cd ~/SunFounder_PiCar-V
- Install smaller dependencies
sudo ./install_dependencies
- VERY IMPORTANT!!! REBOOT THE CAR
sudo reboot now
Right now's a great time to move the car to battery power if plugged into the wall.
Part 2: Extra Settings
In this part, we'll enable I2C in the Pi's Config. This allows you to control the motors. Don't worry, this one's quick, and you're almost ready to drive :}}}} - Enter the Raspberry Pi config