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

How to use turtle_teleop_key to control specific turtle?

asked 2014-06-09 21:15:38 -0500

MIller gravatar image

I use

rosservice call spawn 2 2 0 "NewTurtle"

to create another turtle on the screen, how to use turtle_teleop_key command to control it? It like this command only can control the first turtle.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-03 20:43:09 -0500

forinkzan gravatar image

write a launch file , type the turtle_teleop_key & two turtle node in two namespace ,just like ns="sim1"& ns="sim2",then you can use one turtle_teleop_key to control two turtle.if you don't know namespace find it in <

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-06-09 21:15:38 -0500

Seen: 849 times

Last updated: Dec 03 '14