Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

bsdz/rpi-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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