Commit 2b4ba7e9 authored by Capp's avatar Capp

[launch] add node for assemble scans in launch file

parent 778f8fa4
......@@ -7,7 +7,7 @@ project(sensor_training_result)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED roscpp std_msgs)
find_package(catkin REQUIRED roscpp std_msgs sensor_msgs)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
......@@ -130,6 +130,7 @@ include_directories(
## With catkin_make all packages are built within a single CMake context
## The recommended prefix ensures that target names across packages don't collide
add_executable(rotate_lidar_node src/rotate_lidar.cpp)
add_executable(assemble_scans_node src/assemble_scans.cpp)
## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
......@@ -145,6 +146,9 @@ add_executable(rotate_lidar_node src/rotate_lidar.cpp)
target_link_libraries(rotate_lidar_node
${catkin_LIBRARIES}
)
target_link_libraries(assemble_scans_node
${catkin_LIBRARIES}
)
#############
## Install ##
......
......@@ -21,4 +21,7 @@
<node pkg="laser_assembler" type="point_cloud_assembler" name="point_cloud_assembler_node">
<param name="fixed_frame" value="camera_link" type="string"/>
</node>
<node pkg="sensor_training_result" type="assemble_scans_node" name="assemble_scans"/>
</launch>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment