Fix upstream versions to enable patches to always apply

This commit is contained in:
Matt Spencer
2026-07-31 17:49:20 +00:00
parent 93e9291e19
commit 44e039beac
4 changed files with 91 additions and 95 deletions
+25 -40
View File
@@ -1,3 +1,6 @@
diff --git a/unitree_lidar_ros/src/unitree_lidar_ros/COLCON_IGNORE b/unitree_lidar_ros/src/unitree_lidar_ros/COLCON_IGNORE
new file mode 100644
index 0000000..e69de29
diff --git a/unitree_lidar_ros2/src/unitree_lidar_ros2/CMakeLists.txt b/unitree_lidar_ros2/src/unitree_lidar_ros2/CMakeLists.txt
index 041ef0d..dd57d47 100644
--- a/unitree_lidar_ros2/src/unitree_lidar_ros2/CMakeLists.txt
@@ -37,15 +40,12 @@ index 041ef0d..dd57d47 100644
install(TARGETS
diff --git a/unitree_lidar_ros2/src/unitree_lidar_ros2/package.xml b/unitree_lidar_ros2/src/unitree_lidar_ros2/package.xml
index 74539aa..69bb645 100644
index 74539aa..8b186d8 100644
--- a/unitree_lidar_ros2/src/unitree_lidar_ros2/package.xml
+++ b/unitree_lidar_ros2/src/unitree_lidar_ros2/package.xml
@@ -15,14 +15,15 @@
<depend>rclcpp</depend>
<depend>std_msgs</depend>
@@ -17,10 +17,11 @@
<depend>sensor_msgs</depend>
-
+
<depend>pcl_conversions</depend>
- <depend>pcl</depend>
+ <depend>libpcl-all-dev</depend>
@@ -56,12 +56,8 @@ index 74539aa..69bb645 100644
<export>
<build_type>ament_cmake</build_type>
</export>
-</package>
+</package>
\ No newline at end of file
diff --git a/unitree_lidar_sdk/CMakeLists.txt b/unitree_lidar_sdk/CMakeLists.txt
index 80af9c9..0d9a334 100644
index 80af9c9..00725ea 100644
--- a/unitree_lidar_sdk/CMakeLists.txt
+++ b/unitree_lidar_sdk/CMakeLists.txt
@@ -1,39 +1,14 @@
@@ -114,35 +110,24 @@ index 80af9c9..0d9a334 100644
-target_link_libraries(set_to_udp_mode libunilidar_sdk2.a )
\ No newline at end of file
+ament_package()
\ No newline at end of file
diff --git a/unitree_lidar_sdk/package.xml b/unitree_lidar_sdk/package.xml
index ef88d9a..68ab313 100644
--- a/unitree_lidar_sdk/package.xml
new file mode 100644
index 0000000..ef88d9a
--- /dev/null
+++ b/unitree_lidar_sdk/package.xml
@@ -1,15 +1,15 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
- <name>unitree_lidar_sdk</name>
- <version>0.0.0</version>
- <description>Unitree LiDAR SDK (prebuilt static library and headers)</description>
- <maintainer email="lukelbmeng@gmail.com">jo</maintainer>
- <license>BSD-3-Clause</license>
+ <name>unitree_lidar_sdk</name>
+ <version>0.0.0</version>
+ <description>Unitree LiDAR SDK (prebuilt static library and headers)</description>
+ <maintainer email="lukelbmeng@gmail.com">jo</maintainer>
+ <license>BSD-3-Clause</license>
- <buildtool_depend>ament_cmake</buildtool_depend>
+ <buildtool_depend>ament_cmake</buildtool_depend>
- <export>
- <build_type>ament_cmake</build_type>
- </export>
-</package>
+ <export>
+ <build_type>ament_cmake</build_type>
+ </export>
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
+<package format="3">
+ <name>unitree_lidar_sdk</name>
+ <version>0.0.0</version>
+ <description>Unitree LiDAR SDK (prebuilt static library and headers)</description>
+ <maintainer email="lukelbmeng@gmail.com">jo</maintainer>
+ <license>BSD-3-Clause</license>
+
+ <buildtool_depend>ament_cmake</buildtool_depend>
+
+ <export>
+ <build_type>ament_cmake</build_type>
+ </export>
+</package>
\ No newline at end of file