Ask Your Question
0

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
0

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

David Lu gravatar image

You can also use this node, which has a slightly different keys. http://wiki.ros.org/teleop_twist_keyb...

There's also this tutorial: http://wiki.ros.org/joy/Tutorials/Wri...

edit flag offensive delete link more
0

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

Comments

please share the code @arif

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 135 times

Last updated: May 02 '15