Project

General

Profile

Revision 8ecb9700

ID8ecb9700093a50b1fd55a99eeb5c63252cd3804a

Added by Alex Zirbel over 12 years ago

Added a keyboard control node.

The new file, keyboard_control.cpp, mimics the turtlesim keyboard reading. It responds to wasd, arrow keys, and "rf" (for up/down), and right now simply outputs ROS_INFO to show what was pressed.

View differences:

mikrokopter/CMakeLists.txt
27 27

  
28 28
rosbuild_add_executable(externctrl_client src/externctrl_client.cpp)
29 29
rosbuild_add_executable(wasd_nav src/wasd_nav.cpp src/nav_lib.cpp)
30
rosbuild_add_executable(keyboard_control src/keyboard_control.cpp src/nav_lib.cpp)

Also available in: Unified diff