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

ROS2 Support #288

Open
joewong00 opened this issue Jul 24, 2023 · 3 comments
Open

ROS2 Support #288

joewong00 opened this issue Jul 24, 2023 · 3 comments

Comments

@joewong00
Copy link

joewong00 commented Jul 24, 2023

I need to use this serial library in my ROS2 package. However, I cannot build and install this package because it has the dependency of catkin. Catkin is not supported by ROS2 now and I could not install it, how do I fix this issue?

I came across another issue mentioning that we can remove the catkin dependency entirely. I tried doing it and it successfully installed. But how do I include the serial in my package? Building my ROS2 package gives the error "could not find a package configuration file provided by "serial" with any of the following names.

@aserbremen
Copy link

Check out: https://github.com/RoverRobotics-forks/serial-ros2

clone it into your src folder of your colcon workspace and colcon build. Afterwards, you should be able to find_package(serial REQUIRED) and ament_target_dependencies(target serial) after sourcing the setup.bash of your colcon workspace.

@jhrncar
Copy link

jhrncar commented Feb 18, 2024

Check out: https://github.com/RoverRobotics-forks/serial-ros2

clone it into your src folder of your colcon workspace and colcon build. Afterwards, you should be able to find_package(serial REQUIRED) and ament_target_dependencies(target serial) after sourcing the setup.bash of your colcon workspace.

Hello, your reply helped me, thanks so much! But unfortunately, when I started my program using this library, i got the following error:
image
Any ideas please on how to fix this?

@Owhenthesaints
Copy link

A bit late, but this could possibly help (seeing as how it is permission denied) https://answers.ros.org/question/369846/ros2-start-node-with-sudo-rights/

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

4 participants