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

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
1

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 http://www.ros.org/wiki/turtlesim 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

Stats

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

Seen: 2,793 times

Last updated: Jan 29 '12