Following the [UnderstandingServicesParams Tutorial](http://wiki.ros.org/ROS/Tutorials/UnderstandingServicesParams)
I create another turtle using
`$ rosservice type spawn| rossrv show`
I can control the turtle2 by publish a topic to it directly.
`$ rostopic pub /turtle1/cmd_vel geometry_msgs/Twist -r 1 -- '[2.0, 0.0, 0.0]' '[0.0, 0.0, 1.8]' `
but I want to use
`$ rosrun turtlesim turtle_teleop_key`
then I can control it using my keyboard.
So I think I should do a argument remapping. There should be a argument control which turtle I want to control.(just call it _id instead) so I can run
`$ rosrun turtlesim turtle_teleop_key _id:=turtle2`
so I'm wondering how to find the argument's name.(i.e. what is the real name of "_id")
↧