-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
udev rules should be bundled with ROS packages #1426
Comments
Hi @jarvisschultz Thanks very much for your feedback. I emphasise first that I am not a RealSense ROS wrapper developer and the developer viewpoint may be different. This is how I view the situation though ... I can foresee the possibility of the multiple udev rules warning occurring if the udev rules were installed automatically as part of the ROS wrapper installation process. Whilst the Manual (source code) librealsense installation process places the udev rules in the etc folder, the package method of installaing librealsense places the rules in the /lib/udev/ folder. So if a RealSense user had installed librealsense with the package method for example and then the ROS wrapper install process installed the udev rules to the etc folder then you would potentially end up with a rules conflict and the multiple udev rules warning. It is therefore likely a better solution to make the manual udev installation workaround more visible (perhaps a paragraph in the documentation) rather than install the rules for all ROS wrapper users and risk numerous occurrences of conflicts to solve a problem that affects a small number of users. More information about the conflicts caused by udev rules in two different locations is in the link below. |
Better documentation could definitely help this confusion, but I still think there are flaws with the reasoning. To me it seems the ROS package The multiple I'm no debian packaging expert, but I do think that requiring manual steps feels very out of the ordinary. Here are a couple of thoughts on how one could solve this issue:
|
Thanks so much @jarvisschultz for your very detailed feedback about your viewpoint that the ROS wrapper should install the udev rules during its installation. As I am not a RealSense developer, I will refer your feedback first to @doronhi the RealSense ROS wrapper developer by tagging him to this discussion. |
Reminder please to @doronhi to look at the suggestion of @jarvisschultz above about installing udev rules with the ROS wrapper. Thanks! |
Reminder @doronhi please to look at the suggestion of @jarvisschultz above about installing udev rules with the ROS wrapper. Thanks! |
Thank you @jarvisschultz for your insight and @MartyG-RealSense for your persistent reminders. I think this is a good idea and will make sure to create a matching udev-rules debian package for the ROS installation. |
Okay, thank you very much @doronhi - I will keep this case open. |
Adding a note to keep this case open for a further time period. |
6 similar comments
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Adding a note to keep this case open for a further time period. |
Hi @doronhi Does this case, which acts as a reminder about the idea of creating a matching udev-rules debian package for the ROS installation, still need to be kept open please? Thanks! |
Case closed due to no comments received since October 2020. |
On recent versions of the ROS packages there is a permissions issue when trying to run a camera. Running
rs_rgbd.launch
yields the following on both D415 and D435 on several different computers I've tried this on.This exact issue was also reported in #1408 and #1228. In both of those cases, it was mentioned to download the udev rules and place into
/etc/udev/rules.d/
. While that is a workaround, it doesn't seem like the right solution. It would seem to me that bundling the udev rules with eitherros-kinetic-realsense2-camera
orros-kinetic-librealsense2
would be much more appropriate. Alternatively, thelibrealsense2-udev-rules
package could also be released as a ROS package and listed as a dependency of one of the above packages.I can also confirm that installing
librealsense2-udev-rules
from http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo also fixes the issue.The text was updated successfully, but these errors were encountered: