-
Notifications
You must be signed in to change notification settings - Fork 95
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
Launching multiple devices by serial number sometimes fails #24
Comments
What type of devices are using? Do they normally return serial numbers? (I know certain firmware revisions do not return serial numbers at all). |
Shortrange and longrange carmines. They normally return valid serial numbers; only fail sometimes if you launch two instances of the driver at the same time. |
stwirth
added a commit
to stwirth/openni2_camera
that referenced
this issue
Dec 10, 2014
…stead of doing it once on device connected, fixes ros-drivers#24
stwirth
added a commit
to stwirth/openni2_camera
that referenced
this issue
Dec 10, 2014
…stead of doing it once on device connected, fixes ros-drivers#24
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When starting two instances of the driver together (e.g. from the same launch file) and both try to access all openni2 devices to request their serial number, one (or both) can (silently) fail. This makes resolving the device URI by serial number impossible (serial numbers for devices that could not be opened on startup are empty).
A possible solution might be to retry reading the serial numbers instead of doing it only once on startup.
The text was updated successfully, but these errors were encountered: