[rcl action] Add action services and topics name getters
This commit is contained in:
parent
77ef88a4f6
commit
8b65abeed5
4 changed files with 409 additions and 1 deletions
|
@ -33,6 +33,7 @@ add_executable(test_compile_headers
|
|||
|
||||
set(rcl_action_sources
|
||||
src/${PROJECT_NAME}/goal_state_machine.c
|
||||
src/${PROJECT_NAME}/names.c
|
||||
src/${PROJECT_NAME}/types.c
|
||||
)
|
||||
|
||||
|
@ -95,6 +96,16 @@ if(BUILD_TESTING)
|
|||
target_link_libraries(test_types
|
||||
${PROJECT_NAME}
|
||||
)
|
||||
ament_add_gtest(test_names
|
||||
test/rcl_action/test_names.cpp
|
||||
)
|
||||
if(TARGET test_names)
|
||||
target_include_directories(test_names PUBLIC
|
||||
${rcl_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(test_names
|
||||
${PROJECT_NAME}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -104,4 +115,4 @@ ament_export_libraries(${PROJECT_NAME})
|
|||
ament_export_dependencies(ament_cmake)
|
||||
ament_export_dependencies(rcl)
|
||||
ament_export_dependencies(action_msgs)
|
||||
ament_package()
|
||||
ament_package()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue