Make the lidar streamer ready to work with main controller

This commit is contained in:
Piv
2020-04-16 21:12:12 +09:30
parent 65c19e7494
commit ed371d3a2f
9 changed files with 53 additions and 23 deletions

View File

@@ -7,9 +7,9 @@ from multiprocessing import Process
class SlamServicer(grpc.SlamControlServicer):
slam_thread = None
def __init__(self, lidar_connection):
def __init__(self):
print('Servicer initialised')
self.slam = slam.SlamStreamer(lidar_connection=lidar_connection)
self.slam = slam.SlamStreamer()
def start_map_streaming(self, request, context):
print('Received Map Start Streaming Request')