Skip to content

Commit d3ed4ec

Browse files
committed
fixed teleopertaor command
Signed-off-by: Blanca <blancasoriaru@gmail.com>
1 parent f1383d6 commit d3ed4ec

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

manager/manager/launcher/launcher_teleoperator_ros2.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class 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)

0 commit comments

Comments
 (0)