View my account

High Latency in RealSense ROS1 Node with D435 on Jetson Xavier NX at 15 FPS

Comments

4 comments

  • MartyX Grover

    Hi JIshnu S  Alignment is a processing-intensive operation and so it is recommended that Nvidia Jetson users enable the librealsense SDK's CUDA support to offload alignment processing from the Jetson's CPU onto its Nvidia graphics GPU.  Doing so can greatly reduce the percentage of the processing burden on the CPU.

     

    When building librealsense from source code with CMake, CUDA support can be enabled by adding the flag -DBUILD_WITH_CUDA=ON to the CMake build instruction.  Once the SDK's CUDA support is enabled, it will also be automatically applied to the ROS wrapper.

     

    You can also potentially improve FPS when both depth and color are enabled by setting the ROS option auto_exposure_priority to true.  For example:

    roslaunch realsense2_camera rs_camera.launch auto_exposure_priority:=false
    0
    Comment actions Permalink
  • JIshnu S

    MartyX Grover , we tried -DBUILD_WITH_CUDA=ON but dont we any difference in gpu usage

    0
    Comment actions Permalink
  • MartyX Grover

    In the ROS1 wrapper, some Jetson users experienced problems with alignment when using the rs_camera.launch launch file but got better results when using the rs_rgbd.launch file.  To use the RGBD launch file, the following procedure should be used.

     

    1.  Support for an RGBD launch of the wrapper must be first installed manually using one of the instructions below, depending on which ROS1 branch you are using.

    Kinetic
    sudo apt-get install ros-kinetic-rgbd-launch
    Melodic
    sudo apt-get install ros-melodic-rgbd-launch
    Noetic
    sudo apt-get install ros-noetic-rgbd-launch

     

    2.  Once RGBD support has been installed, use the rs_rgbd.launch launch file instead of the rs_camera.launch one.  You do not need to enable alignment when using the rs_rgbd.launch file as it is already set to true by default.

    roslaunch realsense2_camera rs_rgbd.launch
    0
    Comment actions Permalink
  • MartyX Grover

    Hi JIshnu S Do you require further assistance with this case, please?  Thanks!

    0
    Comment actions Permalink

Please sign in to leave a comment.