Ajout launch file
This commit is contained in:
parent
edc072b0be
commit
b146bbbb94
7 changed files with 22 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 2.8.3)
|
cmake_minimum_required(VERSION 2.8.3)
|
||||||
project(my_pcl_tutorial)
|
project(pcl_tests)
|
||||||
|
|
||||||
## Compile as C++11, supported in ROS Kinetic and newer
|
## Compile as C++11, supported in ROS Kinetic and newer
|
||||||
# add_compile_options(-std=c++11)
|
# add_compile_options(-std=c++11)
|
||||||
|
@ -135,8 +135,8 @@ include_directories(
|
||||||
## With catkin_make all packages are built within a single CMake context
|
## With catkin_make all packages are built within a single CMake context
|
||||||
## The recommended prefix ensures that target names across packages don't collide
|
## The recommended prefix ensures that target names across packages don't collide
|
||||||
# add_executable(${PROJECT_NAME}_node src/my_pcl_tutorial_node.cpp)
|
# add_executable(${PROJECT_NAME}_node src/my_pcl_tutorial_node.cpp)
|
||||||
add_executable(example src/plannar_segmentation.cpp)
|
add_executable(plannar_seg src/plannar_segmentation.cpp)
|
||||||
target_link_libraries(example ${catkin_LIBRARIES})
|
target_link_libraries(plannar_seg ${catkin_LIBRARIES})
|
||||||
|
|
||||||
|
|
||||||
## Rename C++ executable without prefix
|
## Rename C++ executable without prefix
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 2.8.3)
|
cmake_minimum_required(VERSION 2.8.3)
|
||||||
project(my_pcl_tutorial)
|
project(my_pcl_tests)
|
||||||
|
|
||||||
## Compile as C++11, supported in ROS Kinetic and newer
|
## Compile as C++11, supported in ROS Kinetic and newer
|
||||||
# add_compile_options(-std=c++11)
|
# add_compile_options(-std=c++11)
|
||||||
|
@ -135,8 +135,8 @@ include_directories(
|
||||||
## With catkin_make all packages are built within a single CMake context
|
## With catkin_make all packages are built within a single CMake context
|
||||||
## The recommended prefix ensures that target names across packages don't collide
|
## The recommended prefix ensures that target names across packages don't collide
|
||||||
# add_executable(${PROJECT_NAME}_node src/my_pcl_tutorial_node.cpp)
|
# add_executable(${PROJECT_NAME}_node src/my_pcl_tutorial_node.cpp)
|
||||||
add_executable(example src/example.cpp)
|
add_executable(plannar_seg src/plannar_segmentation.cpp)
|
||||||
target_link_libraries(example ${catkin_LIBRARIES})
|
target_link_libraries(plannar_seg ${catkin_LIBRARIES})
|
||||||
|
|
||||||
|
|
||||||
## Rename C++ executable without prefix
|
## Rename C++ executable without prefix
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<package format="2">
|
<package format="2">
|
||||||
<name>my_pcl_tutorial</name>
|
<name>pcl_tests</name>
|
||||||
<version>0.0.0</version>
|
<version>0.0.0</version>
|
||||||
<description>The my_pcl_tutorial package</description>
|
<description>The pcl_tests package</description>
|
||||||
|
|
||||||
<!-- One maintainer tag required, multiple allowed, one person per tag -->
|
<!-- One maintainer tag required, multiple allowed, one person per tag -->
|
||||||
<!-- Example: -->
|
<!-- Example: -->
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<package format="2">
|
<package format="2">
|
||||||
<name>my_pcl_tutorial</name>
|
<name>my_pcl_tests</name>
|
||||||
<version>0.0.0</version>
|
<version>0.0.0</version>
|
||||||
<description>The my_pcl_tutorial package</description>
|
<description>The my_pcl_tests package</description>
|
||||||
|
|
||||||
<!-- One maintainer tag required, multiple allowed, one person per tag -->
|
<!-- One maintainer tag required, multiple allowed, one person per tag -->
|
||||||
<!-- Example: -->
|
<!-- Example: -->
|
||||||
|
@ -62,6 +62,9 @@
|
||||||
<exec_depend>roscpp</exec_depend>
|
<exec_depend>roscpp</exec_depend>
|
||||||
<exec_depend>sensor_msgs</exec_depend>
|
<exec_depend>sensor_msgs</exec_depend>
|
||||||
|
|
||||||
|
<build_depend>libpcl-all-dev</build_depend>
|
||||||
|
<exec_depend>libpcl-all</exec_depend>
|
||||||
|
|
||||||
|
|
||||||
<!-- The export tag contains other, unspecified, tags -->
|
<!-- The export tag contains other, unspecified, tags -->
|
||||||
<export>
|
<export>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<launch>
|
||||||
|
<node name="rviz" pkg="rviz" type="rviz"/>
|
||||||
|
<node name="RvizInterface" pkg="rviz_interface" type="RvizInterface"/>
|
||||||
|
<node name="plannar_seg" pkg="pcl_tests" type="plannar_seg"/>
|
||||||
|
</launch>
|
|
@ -0,0 +1,4 @@
|
||||||
|
<launch>
|
||||||
|
<node name="RvizInterface" pkg="rviz_interface" type="RvizInterface"/>
|
||||||
|
<node name="plannar_seg" pkg="pcl_tests" type="plannar_seg"/>
|
||||||
|
</launch>
|
Loading…
Add table
Add a link
Reference in a new issue