/PiCar

An embedded application for toy-car controlling based on Raspberry Pi 3 Model B and AlphaBot2-Pi.

Primary LanguagePythonApache License 2.0Apache-2.0

PiCar

An embedded application for toy-car controlling based on Raspberry Pi 3 Model B and AlphaBot2-Pi.

This is the source codes of my programming assignment of the course Embedded Applications on Intelligent Systems (2020 Fall) at NJU.

Features

  • Motor
    • Going foreward or backward
    • Turning left or right
  • Infrared remote control
  • Obstacle avoidance
  • Self tracing
  • Real-time camera
  • Monitor and control by web
    • Interactive
    • Programmable

Usage

python -m picar

There is a demo which uses a fake car implement. It is fully Python codes, so it doesn't need any embedded devices. Use the following commands to run it.

python -m picar --demo

Visit http://PI_IP:19090 to control the toy car from browser.

The API of the website is at http://PI_IP:19090/api/.

Dependencies