stereolabs / zed-ros2-wrapper

ROS 2 wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros2/
Apache License 2.0
140 stars 143 forks source link

FPS at Jetson Xavier NX #175

Closed eladpar closed 9 months ago

eladpar commented 10 months ago

Preliminary Checks

Description

Ive been trying to work with the ros2 wrapper on a jetson. I set the FPS parameter to 60/30 and I always get around 15-20 at the rgb image topic. I would say that this is just the limitation of the jetson, but when using the ZED Explorer, it seems to work smoothly with 60 fps and 30 fps.

Steps to Reproduce

  1. buy a jetson xavier nx
  2. install ros2
  3. launch the node
  4. ros2 hz /rgb_topic ...

Expected Result

30 fps

Actual Result

15-20 hz

ZED Camera model

ZED2i

Environment

OS: Ubuntu 20
CPU: ARM
Plaform: jetson Xavier nx
git tag foxy-humble-v3.8

Anything else?

No response

Patrick-AA commented 10 months ago

Hello, You can monitor these values using the node diagnostic. You can also check composition to optimize the performance of your system.

eladpar commented 10 months ago

Hello, You can monitor these values using the node diagnostic. You can also check composition to optimize the performance of your system.

Thanks for the quick reply! I have used composition with no big improvement. and i've used debug mode =True (seems like node diagnostics). as mentioned in previous issues in order to get the mean rate of publishing from the node itself. is seems like the node publishes at a maximum of 20 fps , and my question does it make sense? keeping in mind that at the viewer it says 60 fps without any problem.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days