PiCar-X examples
Quick Links:
We are happy to see your issus and pull request. Feel free to be apart.
PiCar-X is the car that is built based on the Raspberry Pi, with the functions, including line following,human following, color following, obstacle avoidance, horn, remote control and use the web page to control.
Download this repository to your Raspberry Pi:
git clone https://github.com/sunfounder/picar-x.git
Before running the example, stop ezblock sercive
sudo service ezblock stop
Then run the example
cd examples
sudo python3 xxx.py
Stop running the example by using Ctrl+C
Click this link to view the real-time dynamics of the Raspberry Pi camera
http://192.168.18.120:9000/mjpg
Note to replace it with the IP address of your own Raspberry Pi
To edit, rewrite your own code, or just want to get debug messages. run the command:
sudo nano xxx.py
After your code is done, exit the text compiler via Ctrl+X and run the command:
sudo python3 xxx.py
2021-1-21 -Add the Japanese user manual -Upate the English user manual
2020-6-12 -New Release
SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, SunFounder also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!
Ezblock is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, Ezblock also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!
This is the code for PiCar-X. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied wa rranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
PiCar-X examples comes with ABSOLUTELY NO WARRANTY; for details checkout LICENCE. This is free software, and you are welcome to redistribute it under certain conditions; checkout LICENCE for details.
SunFounder, Inc., hereby disclaims all copyright interest in the program 'PiCar-X examples' (which makes passes at compilers).
Mike Huang, 21 August 2015
Mike Huang, Chief Executive Officer
Email: [email protected]
website: ezblock.cc
E-mail: [email protected]