www.adeept.com
13
2.2. Download Program
Setting up in a Raspberry Pi may take you a lot of time, and there are too many libraries
needed, so we write a python program to do the most of works for you.
NOTE
: If you want to know the exact details of the program, you can skip this chapter.
NOTE
: This
setup.py
program is needed to download and install a lot of applications and
libraries, and sometimes the server or internet may break down, which may lead to some
problems that the
setup.py
could not fix. Then you must set up a raspberry pi yourself, by
following the instructions of next chapter named
Set Up a Raspberry Pi
.
Download the program of the PiCar-B.
Input the code below to download:
(Note that the commands entered here must be in
lowercase)
sudo git clone https://github.com/adeept/rasparm.git
Then setup
:
sudo python3 rasparm/setup.py
It may take some time to finish.
Now you can skip the next chapter and
Install Python3.7 in the PC
directly
.
2.3. Set Up a Raspberry Pi
NOTE:
You should skip this chapter if you finished the last one and Install Python3.7 in the
PC directly.
Unrestricted Access to Raspberry Pi
The Linux operating system is a multi-user operating system which allows multiple users
to log in and use the computer. Normal users are not normally allowed to edit files in other
users' folders or any of the system files. You can run commands as the
root
user by
using the
sudo
command before the program you want to run.
More information in:
https://www.raspberrypi.org/documentation/linux/usage/root.md
Set Up A Root User
To change ordinary user into root user on the terminal, you need to setup up a password
for the user by entering the following command in the terminal of the RPi:
sudo passwd root
Enter the passwd twice, as shown below:
Summary of Contents for RaspArm
Page 1: ...www adeept com 1...
Page 14: ...www adeept com 11 If a warning window prompts click Yes...
Page 25: ...www adeept com 22 2 Connect the battery holder and Raspberry Pi Note that the switch is OFF...
Page 60: ...www adeept com 57 Assemble the following components Effect diagram after assembling...
Page 70: ...www adeept com 67...