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

Revision history [back]

click to hide/show revision 1
initial version

This is stupid. The only problem with the code is the line

   turtlesim_spawn_client = nh.serviceClient<turtlesim::Spawn>("turtlesim_spawn");

I only need to change the name "turtlesim_spawn" to "spawn". Iam new at ROS and I thought that this name can be change for easy reading. Lesson learned