bsdz / rpi-robot

Raspberry Pi Robot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPi Robot

robot version one picture

Requirements

Use the following hardware configure using this pinout.

Hardware

  • Video camera
  • Ultrasonic sensor
  • 2 x Servos
  • 2 x Motors + Controller + Chasis
  • Speed sensor
  • Microswitches (tbi)

Software

Configuration

  • Build robot according to specification.
  • Create virtualenv with python 3.6 (uses async).
  • Install python packages in requirements.txt file.
  • In /etc/rc.local add:
chown root.gpio /dev/gpiomem
chmod g+rw /dev/gpiomem
pigpiod

rfcomm bind /dev/rfcomm0 <bluetooth mac address> 1

Running

  • Activate virtualenv
  • Go to cloned code folder
  • python -m robot.robot_server

Developing

  • On robot, python -m robot.rpc_server
  • Use your IDE and debug robot.robot_server

About

Raspberry Pi Robot

License:GNU General Public License v3.0


Languages

Language:Python 88.1%Language:HTML 11.9%