how to control the turtlesim_node through "turtlesim/TeleportAbsolution" in my own package
Hi, all
I learnt from the ros_tutorials wiki page that the turtlesim_node can be controlled by running the following command in shell: "rosservice call /turtle1/teleport_absolute 5 5 0" I have created a package under my catkin workspace. I want to control the turtlesim_node through "turtlesim/TeleportAbsolution", but I do not know how to write the code to call a service I have tried like the " AddTwoInts " service of ros_tutorials wiki page , but it did not work
Please help! thanks!