A general purpose robotics framework for the Raspberry Pi written in Python
All robot-specific code is to go into the Robot/
directory. The main execution of the robot is in Robot/robot.py
.
An explanation/tutorial on properly setting up a headless Raspberry Pi for robotics applications using this framework is to come in future.
The RPi package does not exist so when testing on windows create a file Robot/Rpi/GPIO.py
and place this in the file:
BOARD = 1
OUT = 1
IN = 1
class PWM:
def __init__(self, p, f):
pass
def ChangeDutyCycle(self, d):
pass
def setmode(a):
pass
def setup(a, b):
pass
def output(a, b):
pass
def cleanup():
pass
def setwarnings(flag):
pass