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 -0600

SNEGAAJS gravatar image

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

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 -0600

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 -0600

Seen: 2,747 times

Last updated: Jun 08 '22