Add button functionality

This commit is contained in:
Matthias Guzmits 2023-07-19 19:17:59 +02:00
parent ed04957d94
commit c593059fb1
4 changed files with 93 additions and 1 deletions

View file

@ -25,7 +25,7 @@ find_package(geometry_msgs REQUIRED)
# add_executable(set_vel src/set_speed.cpp)
# ament_target_dependencies(set_vel rclcpp rclcpp_action std_msgs irobot_create_msgs geometry_msgs)
add_executable(compLib_node src/main.cpp src/motor.cpp)
add_executable(compLib_node src/main.cpp src/motor.cpp src/controls.cpp)
ament_target_dependencies(compLib_node rclcpp rclcpp_action std_msgs irobot_create_msgs geometry_msgs)
target_include_directories(compLib_node PRIVATE include)