Robotics StackExchange | Archived questions

why cant we use rosrun turtlesim turtle_teleop_key?

what i did was :

roslaunch beginner_tutorials turtlemimic.launch

Then two turtle simulators opened

and then i did:

$ rostopic pub /turtlesim1/turtle1/cmd_vel geometry_msgs/Twist -r 1 -- '[2.0, 0.0, 0.0]' '[0.0, 0.0, -1.8]'

the both turtles started rotation

I want them to move using ARROW keys so i killed the above process and then i did:

rosrun turtlesim turtle_teleop_key

but it doesnt work! so how should i control them using arrow keys?

Asked by Abhinav Sonone on 2016-12-21 13:19:59 UTC

Comments

If the only effort you can put into describing the problem is "it doesnt work", we can't help you. Go read http://www.catb.org/~esr/faqs/smart-questions.html and then edit your question to add terminal output and a description of how it doesn't work.

Asked by ahendrix on 2016-12-21 13:50:15 UTC

Answers