-
Notifications
You must be signed in to change notification settings - Fork 43
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
Problems running 2 Pico Flexx at the same time. #13
Comments
Unfortunately I only have a single camera for testing, so I don't know how to debug this. Does it work if you run the 2 nodelets in the same nodelet manager? |
Also, is it always the second nodelet that fails, no matter which order you start them in? |
@mintar: Thanks for the quick replies! It took me a bit to get back to testing the sensors. Running both nodelets in the same nodelet manager worked! I've verified streaming of both pointclouds in rviz. I haven't looked at the libroyale code, but it looks like only one copy per process can grab the sensors. There does seem to be a dynamic reconfigure setup clash, since the dynamic reconfigure servers are not currently namespaced by the nodelet itself. I still need to look into this in more detail. Some trivial attempts at remapping failed:
I'll leave this open for now. I'll try and figure out a fix for the reconfigure clash without without affecting backwards compatibility. If you have any suggestions for the problem, let me know! |
Fix for dynamic reconfigure ns clash. Closes #13
I am using Pico Flexx camera ,connected to my system with ubuntu 14.04 .It gives me following error But the camera is connected and shows when i give dmesg command also where am i going wrong ? and I am using Tegra board. |
@chetansarmak That's a different problem than the one in this issue. Please open a new issue for this. |
Hello, I am experiencing this exact issue. If I try to run 2 different node managers each for a different pico_flexx then the first one will connect but the second will fail to run. I'm working around it by running each sensor under the same node manager. I'm using Ubuntu 16.06 + ROS Kinetic with the latest driver on master branch and SDK 3.15.0.50 |
I don't have two pico flexx cameras for testing, so I'm afraid I can't help fixing this. According to the comments by @piyushk , this seems to be a limitation of libroyale, so there's little we can do anyway. Also note that running both nodelets in the same nodelet manager works around the problem. If you still absolutely have to run the nodelets in separate nodelet managers, I guess you'll have to follow up with PMD directly and ask how to access two cameras from two separate processes on the same PC. Please let me know if you find out more. |
To overcame [PicoFlexx::selectCamera] no cameras connected! problem, add your user to 'plugdev' group. In terminal type : The pico flexx camera uses 'plugdev' group for administration privilege. pmd camera udev rules readme : "This directory contains udev-rules files. |
Tested on Ubuntu 16.04 + ROS Kinetic
I'm running 2 different Pico Flexx sensors on the same machine. Individually, they work correctly, but I get a
[PicoFlexx::selectCamera] no cameras connected!
from one of the nodelets when running 2 copies of the driver with correctly set sensor ids. The other one works correctly. I'm running 2 copies of the driver in 2 separate nodelet managers.The text was updated successfully, but these errors were encountered: