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

how to get detect keyboard input in ros python

asked 2022-06-08 02:03:30 -0500

SNEGAAJS gravatar image

updated 2022-07-02 07:59:36 -0500

lucasw gravatar image

need to get the input from keyboard in python language. And want to know which key is pressed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-06-08 05:13:11 -0500

Joe28965 gravatar image

Have you looked at the teleop_twist_keyboard or the turtlebot teleop key nodes? Their getKey() functions seem to do what you're asking.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-06-08 02:03:30 -0500

Seen: 1,988 times

Last updated: Jun 08 '22