Add some readme files, start fixing docker build.

Docker (and CI in general) build currently isn't generating protobuf files.
Docker image also needs to check that pigpio works.
This commit is contained in:
Piv
2020-08-30 15:16:15 +09:30
parent 2c84b1bc80
commit 622ed0911e
6 changed files with 117 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ def _is_pin_valid(pin):
class Vehicle:
def __init__(self, motor_pin=19, servo_pin=18):
subprocess.call(['sudo', 'pigpiod'])
subprocess.call(['pigpiod'])
Device.pin_factory = PiGPIOFactory()
print('Using pin factory:')
print(Device.pin_factory)