-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
Tools: add ignore information in ros-ubuntu installation shell #22484
Conversation
Hi @lukezhqin, Thanks very much for this. Can you change the prefix from "fix:" to "Tools:"? |
41b999e
to
093d098
Compare
@rmackay9 I've already change the name and the commit comment also, thanks! |
@srmainwaring @jmachuca77 @snktshrma how does this look to you guys? |
I've received some external comments from @jmachuca77 who thinks that the "-i" may not be necessary. Also he wonders if it is a good idea to ignore errors. Isn't it important to see errors? |
I remove this '-i' as a new commit here. Indeed, The option "-r" just ignores the errors and keep installing the required dependencies. However, I just install ROS using this script, but got error then. I refer to this LINK and solve this error, which displayed as ""Cannot locate rosdep"". Didn't anyone else met same installation issue? |
093d098
to
156d951
Compare
There are still some issues with the script when running on an Ubuntu 20.04 VM. Host: macOS Monterey 12.6, Intel Mac Pro After: Add ardupilot-ws to your home folder [N/y]? y we eventually see: ardupilot_ros: Cannot locate rosdep definition for [cartographer_ros] This is because the Noetic distro https://github.com/ros/rosdistro/blob/master/noetic/distribution.yaml does not have an entry for cartographer_ros:
doc:
type: git
url: https://github.com/googlecartographer/cartographer_ros.git
version: 1.0.0
release:
packages:
- cartographer_ros
- cartographer_ros_msgs
- cartographer_rviz
tags:
release: release/melodic/{package}/{version}
url: https://github.com/ros-gbp/cartographer_ros-release.git
version: 1.0.0-1
status: developed => ignoring the errors with the We may need to extend the rosdep rules. According to https://answers.ros.org/question/207771/custom-rosdepyaml-in-my-package/ custom rules for a package are no longer supported. Instead we can contribute rules using http://docs.ros.org/en/independent/api/rosdep/html/contributing_rules.html. Or in the meanwhile, if we don't want an upstream dependency, we add a step to the script to clone the additional dependencies into |
Hi @srmainwaring! |
@snktshrma do you plan to edit the rosdep yaml (one way would be to add an entry in /etc/apt/sources.list.d/ros-latest.list pointing to a custom yaml maintained by ardupilot, or add another file), or will you take a different approach? Happy to test now I have an environment set up. |
@srmainwaring I am thinking to add a rosinstall file with the ardupilot_ros repo. This rosinstall file will point to cartographer and cartographer_ros repositories and will be installed through wstools. This can be a good approach to resolve the issue. Do let me know your views. |
The dev team is currently only able to support ROS 2. If anyone wants to contribute a fix for the ROS install that works with ROS 1 melodic, go for it, but adding |
#22482