Add lidar connection
This commit is contained in:
@@ -63,7 +63,7 @@ class MotorServicer(motorService_pb2_grpc.CarControlServicer):
|
|||||||
time.sleep(60*60)
|
time.sleep(60*60)
|
||||||
|
|
||||||
def create_slam_servicer(self):
|
def create_slam_servicer(self):
|
||||||
return SlamServicer()
|
return SlamServicer('/dev/ttyUSB0')
|
||||||
|
|
||||||
def create_credentials(self):
|
def create_credentials(self):
|
||||||
pvtKeyPath = '/home/pi/tls/device.key'
|
pvtKeyPath = '/home/pi/tls/device.key'
|
||||||
|
|||||||
Reference in New Issue
Block a user