-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
patch rosdep to work with conda-forge/robostack packages #41
Comments
Hi @chisarie, many thanks for opening this issue! Unfortunately we don't have a solution for this yet, but we have been talking about this previously as it would be a great feature. Stay tuned, it's on our to-do list. |
Thank you very much for letting me know. Keep up with the great work! |
I think we can leave this open until we have some solution (either in rosdep, or as a seperate tool). How did everything work for you @chisarie ? |
Ok let's leave it open then.
I might try again in the next weeks if I have more time. If you have the chance to try using Moveit in ros-noetic while on Ubuntu 18.04, I would be interested to hear how it goes for you :). |
Hi @chisarie, many thanks for your feedback! I tried running the moveit tutorials (or at least the very basic one) and it was working fine with me, with an almost identical setup. The only thing to do with a system wide ROS installation is to not source the setup.sh, as otherwise the Python path of the system installation is conflicting with the conda installation. When you have more time it would be great if you could report the precise issue you were running into, so we can fix potential issues. |
Another possible source of difference is whether you were using the system compilers and build tools, or the conda-forge provided ones (i.e. |
That's a good point! I think we should add installing these packages in the readme, at least optionally. |
@Tobias-Fischer Hi, thank you for letting me know that it works for you! I will try again next week and let you know how it goes. @traversaro Yes you are right, I was probably using the system compilers and build tools. I could also try with conda installed ones next time. |
An interesting related PR is ros-infrastructure/rosdep#697, that added support in rosdep for nix, that similarly to robostack is used in https://github.com/lopsided98/nix-ros-overlay to mantain a user-level distribution mechanism for ROS. |
I think I got it working :). I think there are some improvements that can be made, but overall it should be a good start. It would be great if you could have a look @wolfv @traversaro.
You can test the new functionality by applying the PRs, adding |
Nice, thanks for the reviews @wolfv! Now I think we need to rebuild the rospkg, rosdep & rosdistro packages with the patches from the respective PRs applied. Some might not apply cleanly .. will have to check. |
I think it would be good to also make upstream PRs, and use them as reference in the patches. |
Ok. So I opened an upstream PR in ros-infrastructure/rospkg#224 As soon as that's merged, we can tackle rosdep. I don't think that they'll merge the rosdistro changes and it might be inconvenient for us to have the mapping robostack.yaml file upstream, so I suggest to patch that locally instead. I also opened a conda-forge PR in the rospkg-feedstock: ros-infrastructure/rospkg#224 |
rosdep and rospkg in the feedstocks are merged :) |
Nice! It would be great if someone could test whether this works okay on Windows. I can give it a try on OSX tomorrow. I think it's easiest to do in a fresh environment. |
If that works, we can modify the moveit CI PR to make use of this functionality - that would be amazing! |
good idea re. the moveit PR. |
Done - let's close this :) |
We are currently adding rosdep functionality to the RoboStack project which builds ROS binaries with Conda. The first step towards this aim is adding an OsDetector here. Locally, we already have a working version of rosdep that makes use of the new RoboStack OsDetector, and would like to merge as many changes as possible upstream. See RoboStack/ros-noetic#41 for more information This modification was inspired by #171. In that case, Nix could be used either as the package manager of the NixOs operating system, as a "user" package manager on any Linux distribution, a bit similar to how conda works.
Hi,
thank you very much for this project! I am trying it out to see if I can finally use ROS in a conda environment :).
I had a question: I am trying to run a moveit example from their documentation, and I am asked to run rosdep in order to install the missing dependencies:
rosdep install -y --from-paths . --ignore-src --rosdistro noetic
Unfortunately it seems to me that it is not able to find the missing packages, since I get errors similar to
ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: moveit_tutorials: Cannot locate rosdep definition for [pcl_conversions]
Installing all the packages individually with
conda install ros-noetic-my-package
works, so this is what I am doing now, but I am wondering if there is a way to make rosdep work with your system.Thank you in advance for your help!
Eugenio
The text was updated successfully, but these errors were encountered: