Skip to content
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

Closed
stwirth opened this issue Dec 10, 2014 · 2 comments · Fixed by #25
Closed

Launching multiple devices by serial number sometimes fails #24

stwirth opened this issue Dec 10, 2014 · 2 comments · Fixed by #25

Comments

@stwirth
Copy link
Contributor

stwirth commented Dec 10, 2014

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.

@mikeferguson
Copy link
Member

What type of devices are using? Do they normally return serial numbers? (I know certain firmware revisions do not return serial numbers at all).

@jonbinney
Copy link

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
stwirth added a commit to stwirth/openni2_camera that referenced this issue Dec 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants