Changing the turtlesim environment colors.
Does anyone know how to change the turtlesim environment (background color and turtle line/pen color) in a C++ program?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Does anyone know how to change the turtlesim environment (background color and turtle line/pen color) in a C++ program?
answered 2012-01-29 09:15:16 -0600
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.
Asked: 2012-01-29 08:28:18 -0600
Seen: 2,793 times
Last updated: Jan 29 '12