Ask Your Question

Revision history [back]

Check this tutorial, i believe it will help you understand: https://automaticaddison.com/implementing-the-ros-turtlesim-project-with-rospy/ as it will help you understand more details.

But to your specific question, set the background color:

rosparam set /background_b <value>

for example if you want to set blue color to 255:

rosparam set /background_b 255

In a similar you can set /background_r for the red and /background_g for green.

So the combination of RGB allows you to create 16 million combination colors.