Stop explicitly setting servo for steering for now.

This commit is contained in:
Piv
2019-11-24 14:25:34 +10:30
parent 843d03fd49
commit eae291da07

View File

@@ -74,7 +74,7 @@ class MotorServicer(motorService_pb2_grpc.CarControlServicer):
return grpc.ssl_server_credentials([[pvtKeyBytes, pvtCertBytes]])
motor = Motor()
servo = Servo(servo_pin, pin_factory=Device.pin_factory)
servo = Servo(servo_pin)
servicer = MotorServicer(motor, servo)
service_thread = Thread(target=servicer.start_server)