File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,18 +45,18 @@ def run(self, callback):
4545 self .display , self .internal_port , self .external_port , DRI_PATH
4646 )
4747 # Write display config
48- o3decmd = f" export DISPLAY={ self .display } ; data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher"
48+ o3decmd = f' export DISPLAY={ self .display } ; data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher --forceAdapter="NVIDIA"'
4949 else :
5050 # Starts xserver, x11vnc and novnc
5151 self .gz_vnc .start_vnc (self .display , self .internal_port , self .external_port )
5252 # Write display config
53- o3decmd = f" export DISPLAY={ self .display } ; data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher"
53+ o3decmd = f' export DISPLAY={ self .display } ; data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher --forceAdapter="NVIDIA"'
5454
5555 gzclient_thread = DockerThread (o3decmd )
5656 gzclient_thread .start ()
5757 self .threads .append (gzclient_thread )
5858
59- process_name = " data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher"
59+ process_name = ' data/workspace/ROS2Demo/build/linux/bin/profile/ROS2Demo.GameLauncher --forceAdapter="NVIDIA"'
6060 wait_for_process_to_start (process_name , timeout = 360 )
6161
6262 def terminate (self ):
You can’t perform that action at this time.
0 commit comments