File tree 6 files changed +15
-14
lines changed
include/laser_segmentation
6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 2
2
Changelog for package laser_segmentation
3
3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4
4
5
+ 3.0.2 (31-07-2024)
6
+ ------------------
7
+ * Update to use modern CMake idioms.
8
+
5
9
3.0.1 (12-06-2024)
6
10
------------------
7
11
* Remove nav2_util dependency.
Original file line number Diff line number Diff line change @@ -77,27 +77,22 @@ target_include_directories(${library_name}
77
77
"$<INSTALL_INTERFACE:include/${PROJECT_NAME} >" )
78
78
target_link_libraries (${library_name}
79
79
PUBLIC
80
+ rclcpp::rclcpp
80
81
rclcpp_lifecycle::rclcpp_lifecycle
81
- ${rclcpp_components_TARGETS}
82
82
${sensor_msgs_TARGETS}
83
83
${slg_msgs_TARGETS}
84
+ slg_msgs::slg_core
84
85
${visualization_msgs_TARGETS}
85
86
PRIVATE
86
- rclcpp::rclcpp
87
+ rclcpp_components:: component
87
88
)
88
89
89
90
# Add executables
90
91
add_executable (${PROJECT_NAME} src/main.cpp)
91
- target_include_directories (${PROJECT_NAME}
92
- PUBLIC
93
- "$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR} /include>"
94
- "$<INSTALL_INTERFACE:include/${PROJECT_NAME} >" )
95
92
target_link_libraries (${PROJECT_NAME}
96
- PUBLIC
97
- rclcpp_lifecycle::rclcpp_lifecycle
98
93
PRIVATE
99
- rclcpp::rclcpp
100
94
${library_name}
95
+ rclcpp::rclcpp
101
96
)
102
97
103
98
rclcpp_components_register_nodes(${library_name} "laser_segmentation::LaserSegmentation" )
@@ -106,6 +101,7 @@ rclcpp_components_register_nodes(${library_name} "laser_segmentation::LaserSegme
106
101
# # Install ##
107
102
# ############
108
103
install (TARGETS ${library_name}
104
+ EXPORT ${library_name}
109
105
ARCHIVE DESTINATION lib
110
106
LIBRARY DESTINATION lib
111
107
RUNTIME DESTINATION bin
Original file line number Diff line number Diff line change @@ -129,8 +129,7 @@ class LaserSegmentation : public rclcpp_lifecycle::LifecycleNode
129
129
* @return slg_msgs::msg::SegmentArray The segment array message
130
130
*/
131
131
visualization_msgs::msg::MarkerArray create_segment_viz_points (
132
- std_msgs::msg::Header header,
133
- std::vector<slg::Segment2D> segment_list);
132
+ std_msgs::msg::Header header, std::vector<slg::Segment2D> segment_list);
134
133
135
134
/* *
136
135
* @brief Get the parula color object
Original file line number Diff line number Diff line change 19
19
#include < string>
20
20
#include < vector>
21
21
22
- #include " rclcpp/rclcpp.hpp"
22
+ #include " rclcpp/logger.hpp"
23
+ #include " rclcpp/parameter.hpp"
23
24
#include " rclcpp_lifecycle/lifecycle_node.hpp"
25
+ #include " rcl_interfaces/msg/set_parameters_result.hpp"
24
26
25
27
namespace laser_segmentation
26
28
{
Original file line number Diff line number Diff line change 2
2
<?xml-model href =" http://download.ros.org/schema/package_format3.xsd" schematypens =" http://www.w3.org/2001/XMLSchema" ?>
3
3
<package format =" 3" >
4
4
<name >laser_segmentation</name >
5
- <version >3.0.1 </version >
5
+ <version >3.0.2 </version >
6
6
<description >Implementation of algorithms for segmentation of laserscans.</description >
7
7
<
maintainer email =
" [email protected] " >Alberto Tudela</
maintainer >
8
8
<
maintainer email =
" [email protected] " >Manuel Fernandez-Carmona</
maintainer >
Original file line number Diff line number Diff line change 1
1
# Test for segmentations algorithm
2
2
ament_add_gtest(test_segmentations test_segmentations.cpp)
3
- target_link_libraries (test_segmentations ${library_name} ${slg_msgs_TARGETS} )
3
+ target_link_libraries (test_segmentations ${library_name} slg_msgs::slg_core )
4
4
5
5
# Test for laser_segmentation
6
6
ament_add_gtest(test_laser_segmentation test_laser_segmentation.cpp)
You can’t perform that action at this time.
0 commit comments