Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to build on Iron fails - workaround possible? #15

Open
Ennar1991 opened this issue Aug 6, 2023 · 1 comment
Open

Trying to build on Iron fails - workaround possible? #15

Ennar1991 opened this issue Aug 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Ennar1991
Copy link

Ennar1991 commented Aug 6, 2023

Describe the bug
I was trying to get into ROS2 for a bit and had an LDLidar LD19 lying around, trying to make it work in ROS2 Iron.
I chose Iron as that was what the website suggested to use, as other versions are officially marked as EOL.

On compiling I got the following error:


ubuntu@raspi-ROS2:~/ros2_ws$ colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release

Starting >>> ldlidar_component
--- stderr: ldlidar_component
CMake Error at CMakeLists.txt:71 (message):
  ROS2 iron is not officially supported by this package.  Correct working is
  not guarantee.


---
Failed   <<< ldlidar_component [2.66s, exited with code 1]

Summary: 0 packages finished [4.14s]
  1 package failed: ldlidar_component
  1 package had stderr output: ldlidar_component
  2 packages not processed

Desktop (please complete the following information):

  • OS: Ubuntu
  • ROS2 version: Iron
  • Device type: Rpi3B+

Is there a workaround method to get the code to compile anyway? Afaik the data coming out of the Lidar is a stream of bytes being piped in through a USB/TTY interface.

@Ennar1991 Ennar1991 added the bug Something isn't working label Aug 6, 2023
@Myzhar
Copy link
Owner

Myzhar commented Aug 7, 2023

@Ennar1991 Iron is not LTS, I'm not sure I will make my package compatible with it.

You can try to remove the DISTRO check in CMakeFiles.txt, maybe it already compile and works correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants