ZEDX Mini not working when trying to launch ros2_zed_wrapper from ssh -X

Hello,

I have a ZED X Mini connected to a Jetson Orin Nano using the ZED Link Capture Card Mono. I am trying to launch the following ROS2 command from an ssh -X terminal in my PC:

ros2 launch zed_wrapper zed_camera.launch.py ‘camera_model:=zedxm’

And I am getting the following error:

The Jetson has now a monitor connected (I first tried with a DP dummy plug but the results were the same)

When I launch the command: sudo ZED_Diagnostic -c from the ssh -X terminal in my PC I get the following error:

Here is the diagnostics file:

ZED_Diagnostic_Results_myPC.json (28.0 KB)

However, when I launch the same diagnostics command from the Jetson, I get no error. Here is the diagnostics file from the Jetson:

ZED_Diagnostic_Results_Jetson.json (28.7 KB)

One thing that I found out is that if I launch the ROS2 command from the Jetson:

ros2 launch zed_wrapper zed_camera.launch.py ‘camera_model:=zedxm’

then I can see the topics and view the camera on my PC using rqt via the ssh -X terminal not via ROS2 (my PC does not have ROS2 installed).

Any help would be appreciated

Best regards

Hi @asolis_UJI
The diagnostic shows that the camera is detected, and initialized.

Are you using a dumy plug for the HDMI port as described in this support page?

Yes,

The results are the same wether I use a dummy plug or I connect a monitor. I cannot launch the ros2 file from myPC. It only works if I launch it from the Jetson itself, then I can see the topics in the ssh terminal and visualize the camera via rqt.

(I think I updated the original post while you were typying because I accidentally sent it before I finished writing it)

Have you tried to connect with a simple ssh instead ssh -X?

Ok, this worked!

Thank you very much!

1 Like