ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Changing the turtlesim environment colors.

asked 2012-01-29 08:28:18 -0600

Index gravatar image

updated 2014-01-28 17:11:13 -0600

ngrennan gravatar image

Does anyone know how to change the turtlesim environment (background color and turtle line/pen color) in a C++ program?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-01-29 09:15:16 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

These features are documented at There is the setPen service which lets you up and down, as well as change the pen color.

The background color is parameterized, but likely is only read at startup.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-01-29 08:28:18 -0600

Seen: 2,331 times

Last updated: Jan 29 '12