PiTanq is a home tank built with open source hardware and powered by Raspberry Pi.
Its primary purpose is to help learning AI for vehicles like self-driving, mapping, location.
Also it is a nice toy.
- Raspberry Pi Photo-tank-robot
- Line following robot with OpenCV and contour-based approach
- Robot following a walkway with OpenCV and Tensorflow
- Raspberry Pi robot with GPS
- Robot following a walkway using image segmentation
- Robot-tank with Raspberry Pi and Intel Neural Computer Stick 2
PiTanq is based on an aluminum chassis (the motors are included).
The motors are controlled by L298N bridge.
Raspberry Pi 3 with Raspbian Jessie is a brain.
The tank equiped with 5MP PiCamera.
The camera mounted on pan-and-tilt stand managed by Raspberry via PWM controller.
The power comes from 2x1850 batteries.
Also there is an ultrasonic distance meter.
Raspbian Jessie runs on the Raspberry.
Python service (from this repo) controls the whole tank via REST interface.
-
GET /ping
-
GET /version
-
GET /name
-
GET /dist
-
POST /update
-
POST /fwd/on
-
POST /fwd/off
-
POST /back/on
-
POST /back/off
-
POST /left/on
-
POST /left/off
-
POST /right/on
-
POST /right/off
-
POST /photo/make
-
GET /photo/:phid
-
GET /photo/list
-
POST /cam/up
-
POST /cam/down
-
POST /cam/right
-
POST /cam/left
-
POST /detect/haar/:phid
-
POST /detect/dnn/:phid
-
POST /classify/tf/:phid
-
POST /motor/:mode
-
POST /follow/start
-
POST /follow/stop
-
POST /follow/prepare
-
GET /follow/id
-
GET /follow/photo
-
GET /photo/track/:track_id/:ph_id
-
POST /walk/start
-
POST /walk/stop
-
POST /walk/prepare
-
GET /walk/photo
-
GET /gps
-
POST /nav/start
-
POST /nav/stop
This service uses AI frameworks:
- Tensoflow (built by Sam Abrahams)
- OpenCV (built by me)
And third-party driver for PWM controller from SunFounder
There is an android application to control the tank. Whenever I will learn IOS then an Apple app will be available. Not now.
More info about the tank at the product website