LCAS / limo_ros2

limo ros2 packages
2 stars 9 forks source link

[BUG]: Red and Blue swapped in coloured PointCloud in simulation #21

Closed marc-hanheide closed 6 months ago

marc-hanheide commented 6 months ago

Description of the bug

When looking at the pointcloud in RViz, the colours red and blue are swapped. See https://answers.ros.org/question/335351/the-color-of-gazebo_ros_openni_kinects-pointcloud2-is-different-with-the-image/

The standard should be the BGR8 format, but the simulation is configured as RGB8.

Steps To Reproduce

  1. launch simulation
  2. put a red and blue object in front of simulated camera
  3. check rviz2

Additional Information

No response