-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ros-humble-ublox-dgnss-node.patch
- Loading branch information
1 parent
498e20c
commit dfaf3fd
Showing
1 changed file
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7e849fe..427c5cf 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -26,6 +26,7 @@ find_package(ublox_ubx_msgs REQUIRED) | ||
find_package(ublox_ubx_interfaces REQUIRED) | ||
diff --git a/ublox_dgnss_node/CMakeLists.txt b/ublox_dgnss_node/CMakeLists.txt | ||
index c136270..21d6703 100644 | ||
--- a/ublox_dgnss_node/CMakeLists.txt | ||
+++ b/ublox_dgnss_node/CMakeLists.txt | ||
@@ -30,6 +30,7 @@ find_package(ublox_ubx_interfaces REQUIRED) | ||
find_package(rtcm_msgs REQUIRED) | ||
|
||
find_package(PkgConfig REQUIRED) | ||
+pkg_check_modules(libudev REQUIRED libudev) | ||
pkg_check_modules(libusb REQUIRED libusb-1.0) | ||
|
||
include_directories(include SYSTEM) | ||
@@ -45,11 +46,14 @@ ament_target_dependencies(ublox_dgnss_components | ||
std_msgs | ||
@@ -50,10 +51,8 @@ ament_target_dependencies(ublox_dgnss_components | ||
ublox_ubx_msgs | ||
ublox_ubx_interfaces | ||
rtcm_msgs | ||
-) | ||
- | ||
-target_link_libraries(ublox_dgnss_components | ||
- usb-1.0 | ||
+ libusb | ||
+ libudev | ||
) | ||
|
||
-target_link_libraries(ublox_dgnss_components | ||
- usb-1.0 | ||
-) | ||
+# target_link_libraries(ublox_dgnss_components | ||
+# ${libusb_LIBRARIES} | ||
+# ${libudev_LIBRARIES} | ||
+# ) | ||
|
||
rclcpp_components_register_node(ublox_dgnss_components PLUGIN "ublox_dgnss::UbloxDGNSSNode" EXECUTABLE ublox_dgnss_node) | ||
|
||
rclcpp_components_register_node(ublox_dgnss_components |