File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77
88class LauncherTeleoperatorRos2 (ILauncher ):
9- model_plugin_port : str
109 running = False
1110 threads = []
1211
@@ -15,11 +14,10 @@ def run(self, callback):
1514 ACCELERATION_ENABLED = self .check_device (DRI_PATH )
1615
1716 if (ACCELERATION_ENABLED ):
18- teleop_cmd = f"export VGL_DISPLAY={ DRI_PATH } ; vglrun /opt/jderobot/utils/model_teleoperator.py 0.0.0.0 { model_plugin_port } "
17+ teleop_cmd = f"export VGL_DISPLAY={ DRI_PATH } ; vglrun python3 /opt/jderobot/utils/model_teleoperator.py 0.0.0.0"
1918 else :
20- teleop_cmd = f"/opt/jderobot/utils/model_teleoperator.py 0.0.0.0 { model_plugin_port } "
19+ teleop_cmd = f"python3 /opt/jderobot/utils/model_teleoperator.py 0.0.0.0"
2120
22- print ("\n \n LAUNCHING TELEOPERATOR\n \n " )
2321 teleop_thread = DockerThread (teleop_cmd )
2422 teleop_thread .start ()
2523 self .threads .append (teleop_thread )
You can’t perform that action at this time.
0 commit comments