Example #1
0
 def stream_stop(self) -> None:
     """
     Requests that the stream stops - but not terminated
     """
     server.send(self.connection, "STREAM-STOP-STREAMING;")
Example #2
0
 def stream_terminate(self) -> None:
     """
     Requests that the video stream is terminated
     """
     server.send(self.connection, "STREAM-TERMINATE;")
Example #3
0
 def stream_initialize(self) -> None:
     """
     Requests stream initialization
     """
     server.send(self.connection, "STREAM-INITIALIZE;" + Configurator.get_local_ip() + ";8000")
Example #4
0
 def stream_start(self) -> None:
     """
     Requests the vehicle starts streaming
     """
     server.send(self.connection, "STREAM-SERVE-FOOTAGE;")
Example #5
0
 def set_lights(self, val: int) -> None:
     server.send(self.connection, "LIGHT;" + str(val))
Example #6
0
 def set_direction(self, val: int) -> None:
     server.send(self.connection, "DIRECTION;" + str(val))
Example #7
0
 def set_throttle(self, val: int) -> None:
     server.send(self.connection, "THROTTLE;" + str(val))
Example #8
0
 def set_gear(self, val: int) -> None:
     server.send(self.connection, "GEAR;" + str(val))
Example #9
0
 def set_drive(self, val: int) -> None:
     server.send(self.connection, "DRIVE;" + str(val))