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

Ubuntu 24.04/ ROS2 jazzy compatibility #131

Open
cn999 opened this issue Jun 25, 2024 · 6 comments
Open

Ubuntu 24.04/ ROS2 jazzy compatibility #131

cn999 opened this issue Jun 25, 2024 · 6 comments

Comments

@cn999
Copy link

cn999 commented Jun 25, 2024

I want to use the LIVOX HAP with Ubuntu 24.04 LTS and ROS2 Jazzy.
Thanks to Livox-SDK/Livox-SDK2#76 I was able to build livox_sdk2 but building the livox_ros_driver2 fails.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
myws2/src/livox_ros_driver2/LIVOX_INTERFACES_INCLUDE_DIRECTORIES

Any ideas?
Thanks!

@JoLichtenfeld
Copy link

I'm not sure about this specific error, but you might want to checkout our fork for ros2:
https://github.com/tu-darmstadt-ros-pkg/livox_ros_driver2

I am able to build it with Ubuntu 24.04.

@cn999
Copy link
Author

cn999 commented Jun 26, 2024

That worked for me aswell. Thanks!

@cn999
Copy link
Author

cn999 commented Jun 26, 2024

I'm not sure about this specific error, but you might want to checkout our fork for ros2: https://github.com/tu-darmstadt-ros-pkg/livox_ros_driver2

I am able to build it with Ubuntu 24.04.

In case you also have any experience in simulating with ROS2 jazzy and gazebo instead of gazebo classic let me know.
Livox-SDK/livox_laser_simulation#28

@xx-tao
Copy link

xx-tao commented Nov 25, 2024

@cn999 Hi, Could you tell me how to proceed? I try to exec 'colcon build' but get errors.
Could not find a package configuration file provided by "livox_sdk2" with
any of the following names:

livox_sdk2Config.cmake
livox_sdk2-config.cmake

but i have install liblivox_lidar_sdk_shared.so liblivox_lidar_sdk_static.a in /usr/local/lib

@JoLichtenfeld
Copy link

JoLichtenfeld commented Nov 25, 2024

It seems like you are using our fork @xx-tao ?
I recently turned the Livox SDK into a ROS2 package, too. Here's the fork: https://github.com/tu-darmstadt-ros-pkg/Livox-SDK2/tree/jazzy

Then I added it as a dependency to the livox_ros_driver2 pkg. This allows to install/build the whole thing with colcon and rosdep. Soyou can try to build the livox_sdk using our fork, let me know if it works. I will also add an info for this in the README.

Alternatively, it should be fine if you just comment out the line in the package.xml mentioning livox_sdk2.

@xx-tao
Copy link

xx-tao commented Nov 25, 2024

Thanks @JoLichtenfeld , This fork work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants