ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hello, can you a minimal reproducible example with more information?

How big are your images? Can you lower their resolution? Maybe you should compress their resolution a bit (based on your needs, of course). Choice of C++over Python implementation of your subscriber node also can speed things up.

Perhaps you can also check zero-copy transfer (here: https://discourse.ros.org/t/using-zero-copy-transport-in-ros2-with-ros2-shm-msgs/26226).

This tutorial is for ROS1 Noetic and Raspberry Pi, but you can check some more general hints:

Hello, can you a minimal reproducible example with more information?

How big are your images? Can you lower their resolution? Maybe you should compress their resolution a bit (based on your needs, of course). Choice of C++over Python implementation of your subscriber node also can speed things up.

Perhaps you can also check zero-copy transfer (here: https://discourse.ros.org/t/using-zero-copy-transport-in-ros2-with-ros2-shm-msgs/26226).

This tutorial is for ROS1 Noetic and Raspberry Pi, but you can check some more general hints:

Other similar questions/related links:

  • https://answers.ros.org/question/397329/low-frame-rate-when-publishing-image-messages-in-ros2/ - suggestion of DDS tuning is helpful

  • https://github.com/ros2/rmw_cyclonedds/issues/346