ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Changing the turtlesim environment colors.

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

Index gravatar image

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

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 -0500

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

Question Tools


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

Seen: 2,719 times

Last updated: Jan 29 '12