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

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: 2022-06-08 02:03:30 -0500

Seen: 54 times

Last updated: Jun 08