How to get RGB value from /camera/rgb

Hello,

Which topic do I subscribe to and how do I get RGB values of objects in front of my robot?

Thanks!

Hi,

There isn’t a topic that can show you that information. If you think about it, there will be a slightly different value for each pixel on the image, so a topic showing that information is unrealistic (the list would be too long for it to make much sense). I recommend converting the image to Open CV using cv_bridge. You can get more info here: