Changed dronepoint_id value range (from 1 to 3)

This commit is contained in:
artem30801
2021-05-11 11:46:04 +03:00
committed by GitHub
parent 5c32f5397e
commit fe8147307e

View File

@@ -641,7 +641,7 @@ class MainWindow(QtWidgets.QMainWindow):
@pyqtSlot()
def dronepoint_command(self):
dronepoint_id = random.randint(1, 2)
dronepoint_id = random.randint(1, 3)
container_id = random.randint(1, 3)
logging.info(f"Dronepoint_id: {dronepoint_id}; Container_id: {container_id}")
self.send_to_selected("dronepoint", command_kwargs={