Cannot get the CSI camera node working anymore in the launch file on ubuntu 18.04

Dear Support,

  1. After I have flashed the JetPack4.3 on my Jetson TX2, the CSI camera is working through the following command:

    gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink

  2. My robot launch file which publishes the CSI camera node was working for ubuntu 16.04 of JetPack3.3 but not for the JetPack4.3 (ubuntu 18.04).

Since in above command, it uses the “nvarguscamerasrc”, I also use that to replace “nvcamerasrc” in the original launch file. But I still cann’t get the CSI camera showing a window view through the ROS launch file.

the ROS command used to show the camera window view: rqt_image_view

Can someone let me know how I can get the launch file working again for the JetPack4.3/ubuntu 18.04?

Thanks so much for the suggestions

ros launch file to config the CSI camera and publish the camera node

You may need to make sure the camera is working property first.

  1. check if any camera by v4l2-ctl --list-devices.
  2. check if the sensor working normally. v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=20
  3. check if nvarguscamera working well. nvgstcaptrue-1.0

Move to below topic. Close this one.