Add subscription callback test with ping+pong nodes
This commit is contained in:
parent
3b85b3cbd8
commit
8f09ce339d
7 changed files with 158 additions and 9 deletions
|
@ -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}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue