first prototype of templated rcl, using non-templated middleware interface, implemented by connext using dynamic data
This commit is contained in:
parent
a226aecd96
commit
bcecf00928
13 changed files with 416 additions and 0 deletions
23
userland/CMakeLists.txt
Normal file
23
userland/CMakeLists.txt
Normal file
|
@ -0,0 +1,23 @@
|
|||
cmake_minimum_required(VERSION 2.8.3)
|
||||
|
||||
project(userland)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-std=c++0x")
|
||||
|
||||
find_package(ros_middleware_interface REQUIRED)
|
||||
find_package(ros_dds_connext_dynamic REQUIRED)
|
||||
|
||||
find_package(ament_cmake REQUIRED)
|
||||
find_package(rclcpp REQUIRED)
|
||||
find_package(std_msgs REQUIRED)
|
||||
|
||||
ament_package()
|
||||
|
||||
include_directories(${rclcpp_INCLUDE_DIRS} ${std_msgs_INCLUDE_DIRS})
|
||||
add_executable(userland src/main.cpp)
|
||||
target_link_libraries(userland ${rclcpp_LIBRARIES} ${std_msgs_LIBRARIES})
|
||||
|
||||
install(
|
||||
TARGETS userland
|
||||
DESTINATION bin
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue