Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions patch/ros-jazzy-pointcloud-to-laserscan.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d13488c..4d175f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,11 @@ project(pointcloud_to_laserscan)

find_package(ament_cmake REQUIRED)

+# MSVC does not define M_PI by default
+if(MSVC)
+ add_compile_definitions(_USE_MATH_DEFINES)
+endif()
+
find_package(laser_geometry REQUIRED)
find_package(message_filters REQUIRED)
find_package(rclcpp REQUIRED)
2 changes: 1 addition & 1 deletion vinca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ packages_select_by_deps:
- data_tamer_cpp

- point_cloud_transport_py
- pointcloud_to_laserscan

# SICK LiDAR drivers
- sick_scan_xd
Expand Down Expand Up @@ -267,7 +268,6 @@ packages_select_by_deps:
# see https://github.com/RoboStack/ros-jazzy/pull/79#issuecomment-2993499990
- grid_map
- dual-laser-merger
- pointcloud-to-laserscan
- laser-segmentation
- rqt_tf_tree
- rviz_satellite
Expand Down
Loading