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

Revision history [back]

If you are using ROS2 probably is a QoS issue ( Quality of service)

You must open rviz2

1- rosrun rviz2 rviz2

2- Go to add plugin button and look for image or camera

3- on topic select or type "/camera/image_raw" or "camera/depth"

4 - Below topic options there are QoS settings. Usually is set to "Reliable" and you need to switch to "Best Effort" or the inverse. Doing this change it should work and image appears.

5- If you don't have success, you need to check if camera data is publishing image data

A) ros2 topic list

B) ROS topic echo /camera/depth

If data is not flowing then you found the issue, open rqt graph and check if your node is Not publishing data to your camera or subscribing and why:

C) ros2 run rqt_graph rqt_ graph

If you are using ROS2 probably is a QoS issue ( Quality of service)

You must open rviz2

1- rosrun rviz2 rviz2

2- Go to add plugin button and look for image or camera

3- on topic select or type "/camera/image_raw" or "camera/depth"

4 - Below topic options there are QoS settings. Usually is set to "Reliable" and you need to switch to "Best Effort" or the inverse. Doing this change it should work and image appears.

5- If you don't have success, you need to check if camera data is publishing image data

A) ros2 topic list

B) ROS ros2 topic echo /camera/depth

If data is not flowing then you found the issue, open rqt graph and check if your node is Not publishing data to your camera or subscribing and why:

C) ros2 run rqt_graph rqt_ graph graph

If you are using ROS2 probably is a QoS issue ( Quality of service)

You must open rviz2

1- rosrun ros2 run rviz2 rviz2

2- Go to add plugin button and look for image or camera

3- on topic select or type "/camera/image_raw" or "camera/depth"

4 - Below topic options there are QoS settings. Usually is set to "Reliable" and you need to switch to "Best Effort" or the inverse. Doing this change it should work and image appears.

5- If you don't have success, you need to check if camera data is publishing image data

A) ros2 topic list

B) ros2 topic echo /camera/depth

If data is not flowing then you found the issue, open rqt graph and check if your node is Not publishing data to your camera or subscribing and why:

C) ros2 run rqt_graph rqt_ graph