Project

General

Profile

Revision da889457

IDda889457e79e3e7e2d37b071dffdef00b81595f3

Added by Thomas Mullins over 12 years ago

Created nav_lib.cpp/h, with functions forward, backward, left, right,
and stop to set the mikrokopter's movement direction.
Replaced code in wasd_nav.cpp's main with forward(pub) and stop(pub)
from nav_lib.cpp.
Added nav_lib.cpp to CMakeLists.txt

View differences:

mikrokopter/CMakeLists.txt
26 26
target_link_libraries(${PROJECT_NAME} serial)
27 27

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

Also available in: Unified diff