mirror of
https://github.com/kevinveenbirkenbach/erinaco.git
synced 2024-11-23 14:31:04 +01:00
16 lines
388 B
Python
16 lines
388 B
Python
import RPi.GPIO as GPIO
|
|
from motion import Motion as MOTION
|
|
from vero import Vero as VERO
|
|
"""
|
|
Diese Klasse stellt alle Core-Funktionen (Aktoren, Sensoren) fuer den Erinaco Roboter zur Verfuegung.
|
|
@author kf
|
|
@since 2017-04-15
|
|
"""
|
|
class Core(MOTION,VERO):
|
|
def __init__(self):
|
|
GPIO.setmode(GPIO.BCM);
|
|
MOTION.__init__(self);
|
|
VERO.__init__(self);
|
|
def __del__(self):
|
|
GPIO.cleanup();
|