0
$\begingroup$

Rosanswers logo

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


Originally posted by Index on ROS Answers with karma: 1 on 2012-01-29

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by tfoote with karma: 58457 on 2012-01-29

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.