why cant we use rosrun turtlesim turtle_teleop_key?

asked 2016-12-21 12:19:59 -0500

mr_0ptimist gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

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-q... and then edit your question to add terminal output and a description of how it doesn't work.

ahendrix gravatar image ahendrix  ( 2016-12-21 12:50:15 -0500 )edit