Skip to content

Disparity in FPS between /image_raw and /tag_detections using isaac_ros_apriltag_usb_cam.launch.py on Orin Nano #66

@TzuChiehHung

Description

@TzuChiehHung

I am running the default isaac_ros_apriltag_usb_cam.launch.py example on an NVIDIA Jetson Orin Nano to perform AprilTag detection using a USB camera.

I have observed a noticeable drop in the message rate (FPS) between the input image topic and the output detection topic.

Observed Rates in the Example Pipeline:

  • Input Image Topic (/image_raw): Average rate is approximately 29 FPS.
  • Output Detection Topic (/tag_detections): Average rate is approximately 18 FPS.

My Setup:

  1. Hardware: NVIDIA Jetson Orin Nano
  2. Launch Command: ros2 launch isaac_ros_apriltag isaac_ros_apriltag_usb_cam.launch.py
  3. Screenshot: (Reference the attached screenshot showing ros2 topic hz results)
Image

Benchmark Test Results

For comparison, I executed the official benchmark to establish the maximum possible throughput for the AprilTag node:

  • Benchmark Command: launch_test $(ros2 pkg prefix isaac_ros_apriltag_benchmark)/share/isaac_ros_apriltag_benchmark/scripts/isaac_ros_apriltag_node.py
  • Result: The standalone benchmark achieves a high FPS (consistent with the official figure of $\sim120$ FPS for the AprilTag Node/Graph at 720p on Orin Nano).

Question

  1. Is the observed rate of $\sim18$ FPS on /tag_detections considered normal or expected when running the isaac_ros_apriltag_usb_cam.launch.py launch file?
  2. Given that the standalone AprilTag node can achieve $\sim120$ FPS, what specific parameters or configuration aspects of the full pipeline (which includes the USB camera interface, the rectify node, and the AprilTag node) could be limiting the output rate to $\sim18$ FPS?
  3. What specific steps can I take to debug or tune the pipeline configuration to achieve a /tag_detections FPS closer to the input image rate of 30 FPS?

Metadata

Metadata

Labels

needs infoNeeds more information

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions