SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

ROS2 compilation fails on `SickLDMRS` dependency #248

Closed Timple closed 8 months ago

Timple commented 8 months ago

The error originates here: https://github.com/SICKAG/sick_scan_xd/blob/master/CMakeLists.txt#L357

But BUILD_WITH_LDMRS_SUPPORT should be default off: https://github.com/SICKAG/sick_scan_xd/blob/master/CMakeLists.txt#L19C8-L19C32

Not running with any arguments. Just a git clone of this repository and a colcon build without any arguments in ROS Humble (and Iron).

Version 3.1.5 works.

rostest commented 8 months ago

Thanks for your feedback. Option BUILD_WITH_LDMRS_SUPPORT is activated by default (https://github.com/SICKAG/sick_scan_xd/blob/master/CMakeLists.txt#L25), unless LDMRS is set 0.

You can build sick_scan_xd with the following options:

See https://github.com/SICKAG/sick_scan_xd/blob/master/INSTALL-ROS2.md#build-on-linux-ros2 for further details and build options.