Add subscription callback test with ping+pong nodes

This commit is contained in:
Christophe Bedard 2019-06-03 11:16:05 +02:00
parent 3b85b3cbd8
commit 8f09ce339d
7 changed files with 158 additions and 9 deletions

View file

@ -30,10 +30,26 @@ if(BUILD_TESTING)
rclcpp
std_msgs
)
add_executable(test_ping
src/test_ping.cpp
)
ament_target_dependencies(test_ping
rclcpp
std_msgs
)
add_executable(test_pong
src/test_pong.cpp
)
ament_target_dependencies(test_pong
rclcpp
std_msgs
)
install(TARGETS
test_publisher
test_subscription
test_ping
test_pong
DESTINATION lib/${PROJECT_NAME}
)