CupOfJoeCode / PiRobot

A general purpose robotics framework for the Raspberry Pi written in Python
MIT License
0 stars 0 forks source link
python raspberrypi robotics

PiRobot

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.

icon coords

Headless Setup

An explanation/tutorial on properly setting up a headless Raspberry Pi for robotics applications using this framework is to come in future.

Testing on Windows

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