Installing OV9281 Global Shutter UVC Camera Software

Setup Steps

Additional Documentation for this camera can be found here: https://docs.arducam.com/UVC-Camera/Appilcation-Note/External-Trigger-Mode/OV9281-Global-Shutter/

  1. Plug the camera into the Jetson Orin via USB
  2. Install v4l utility packages

    sudo apt-get install v4l-utils
    
  3. List UVC devices connected to the USB ports (if you have multiple devices connected, multiple devices will show up! ensure that your Arducam device shows up)

    v4l2-ctl --list-devices
    
  4. Install guvcview to test live video stream

    sudo apt install v4l-utils guvcview
    
  5. Run guvcview, and select appropriate video input stream when prompted

    guvcview
    

Video stream from guvcview should look something like this: image

Working with Rviz2

Make sure that ROS2 is installed first!!

  1. Install v4l2 camera node

    sudo apt install ros-humble-v4l2-camera
    
  2. Launch

    ros2 run v4l2_camera v4l2_camera_node --ros-args -p video_device:=/dev/video0
    

    Replace video0 with the video stream corresponding to your camera (may be different if you have multiple cameras connected). For example, with the D435i connected, my video streams for the OV9281 were video6 and video7.

  3. In a separate terminal, view image:

    ros2 run image_tools showimage
    
  4. Or, use Rviz to view (in a separate terminal as well)

    rviz2
    

    If using Rviz to visualize, select Add on the bottom left to add an image, go to the topics tab, find the /image_raw topic, and then select Image, and press OK. Rviz should look something like this, with the live video stream in the bottom left corner. image

Author: Caleb Hans (https://github.com/caleb-hansolo)