10. For Advanced Users

Share for us

The previous For Amateur part is pretty suitable for quick application, simple development, and testing. When you have got the basic knowledge of Python and want to explore deeper the working principle of the PiSmart car and thus create funnier things. You can use the library of PiSmart directly.

In this part, we will introduce several examples of the PiSmart Car, by which you can learn how it works.

Download the example repository from github:

pi@raspberrypi:~ $ git clone https://github.com/sunfounder/SunFounder_PiSmart_Car.git

cd to SunFounder_PiSmart_Car/examples, use ls to view the file under the directory.

pi@raspberrypi:~ $ cd SunFounder_PiSmart_Car/examples

pi@raspberrypi:~/SunFounder_PiSmart_Car/examples $ ls

avoidance.py  command.sps  line_follower_module.py  line_track.py  my_pismart  remote_control

avoidance.py and line_track.py are two examples written by the pismart library directly.