erinaco/core.py

16 lines
388 B
Python
Raw Normal View History

2017-04-15 02:42:23 +02:00
import RPi.GPIO as GPIO
from motion import Motion as MOTION
from vero import Vero as VERO
2017-04-15 02:42:23 +02:00
"""
Diese Klasse stellt alle Core-Funktionen (Aktoren, Sensoren) fuer den Erinaco Roboter zur Verfuegung.
@author kf
@since 2017-04-15
"""
class Core(MOTION,VERO):
2017-04-15 02:42:23 +02:00
def __init__(self):
GPIO.setmode(GPIO.BCM);
MOTION.__init__(self);
VERO.__init__(self);
2017-04-15 02:42:23 +02:00
def __del__(self):
GPIO.cleanup();