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

python3-vcstool python3-colcon-common-extensions python3-rosdep are from the ROS package repository #12

Closed
rjoomen opened this issue Jun 19, 2024 · 9 comments

Comments

@rjoomen
Copy link

rjoomen commented Jun 19, 2024

If ros-enabled is false, colcon-action@v7 fails because python3-vcstool, python3-colcon-common-extensions, and python3-rosdep cannot be found. See also tesseract-robotics/tesseract#1006

@marip8
Copy link
Contributor

marip8 commented Jun 19, 2024

Is the issue here that the name ros-enabled is a bit misleading? I would be okay with renaming it something like add-ros-sources

@rjoomen
Copy link
Author

rjoomen commented Jun 19, 2024

No, the issue is that colcon-action currently will fail when ros-enabled is set to false.

@marip8
Copy link
Contributor

marip8 commented Jun 19, 2024

I guess we should just get rid of that option since colcon itself can't be installed now unless you add the ROS sources

@rjoomen
Copy link
Author

rjoomen commented Jun 19, 2024

Seems logical. It's the ROS build tool after all, not to mention rosdep, which even has ROS in the name :)

@rjoomen
Copy link
Author

rjoomen commented Jun 19, 2024

@Levi-Armstrong do you agree? We'll be requiring ROS for the CI of the intentionally ROS-agnostic Tesseract framework.

@marip8
Copy link
Contributor

marip8 commented Jun 19, 2024

FWIW, it seems like adding the ROS sources is equivalent to adding a PPA. It doesn't force us to embed ROS into our code or force us to link against ROS; it just gives us the ability to use ROS infrastructure tools that happen to be convenient for building our projects whether they depend on ROS or not

@johnwason
Copy link

You can install these packages using Python Pip without using APT packages. To deal with the pip root issue, you can either install using "user" install with the --user flag, or install the Python packages somewhere under /opt using the --target flag to install the packages to a non-system directory, and modify PYTHONPATH to point to that directory. There is no need to use ROS or any other package manager beyond the built in Python Pip.

@Levi-Armstrong
Copy link
Contributor

If one of the option @johnwason proposed works I prefer that over adding the PPA.

@Levi-Armstrong
Copy link
Contributor

Should be addressed by #14

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