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

teleoperation using custom key

asked 2015-03-13 12:51:26 -0500

so far we are moving out P3AT (spawned in USARSim) from my ROS machine using teleoperation. The difficulty we are observing is,
-using default teleoperation key is not comfortable to operate the robot.
-we want to drive it using arrow key given on keyboard (which is also used by most of the computer games).
does ROS provide this facility. Or what next we should do.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-05-02 17:04:30 -0500

David Lu gravatar image

You can also use this node, which has a slightly different keys.

There's also this tutorial:

edit flag offensive delete link more

answered 2015-05-02 16:12:43 -0500

Aarif gravatar image

hi @sumant, you can write your own ros node, in which you can detect the key strokes and if the pressed keys are from arrow keys you can send custom twist messages to /cmd_vel topic.

this will surely worrk... :)

edit flag offensive delete link more


please share the code @arif

sumant gravatar image sumant  ( 2016-02-23 10:40:08 -0500 )edit

Question Tools

1 follower


Asked: 2015-03-13 12:51:26 -0500

Seen: 391 times

Last updated: May 02 '15