Closed marc-hanheide closed 6 months ago
@jondave @gcielniak @LeonardoGuevara @pulver22
Did you never have this problem with the gazebo sim I described in #21? I think this fix is needed!
We weren't aware of this since we are not using point clouds for our module but I can see this fixes the problem you mentioned.
As Leonardo said we only used the RGB camera, not the depth camera's pointcloud so I never noticed the colour difference.
so,.you approve?
Yes
hang on, you closed without merging??
My bad, I merged it now!
What type of PR is this? (check all applicable)
Description
change the colour space of the simulated gazebo camera from RGB8 to BGR8, as is expected by the standard for pointclouds (and more generally).
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
With this in place, RViz2 shows the correct red and blue colours both in image view and in pointcloud:
[optional] Are there any post deployment tasks we need to perform?
rebuild and deploy the https://github.com/LCAS/teaching image when this is fixed.