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

Connect to camera using unique id #18

Closed
reaganlo opened this issue Mar 24, 2016 · 2 comments
Closed

Connect to camera using unique id #18

reaganlo opened this issue Mar 24, 2016 · 2 comments

Comments

@reaganlo
Copy link

The user will be able to specify a unique id in the launch file using the parameter "serial_no".

This was referenced Mar 24, 2016
@reaganlo
Copy link
Author

This issue has been fixed in Release 1.0.2

Details

Note: The term "camera" here refers to Intel RealSense R200 cameras. It has been tested only for Linux Kernel version 4.4.0-040400-generic, librealsense version: 0.9 and R200 Firmware version: 1.0.72.06

  • The nodelet will exit with error if no cameras are detected by the system.
  • The nodelet will print the serial_no of all the cameras detected by the system.
  • The nodelet will connect to a camera based on the serial_no parameter in the launch file.
  • If only one camera is detected by the system, the nodelet will connect to it even if the serial_no is not specified in the launch file.
  • The nodelet will exit with error if multiple cameras are detected by the system but no serial_no is specified in the launch file.
  • The nodelet will exit with error if an incorrect serial_no is specified in the launch file.

Note: Launching multiple cameras simultaneously using serial_no has not be fully tested and must not be considered as part of this issue. It will be tested and confirmed in our future release. Although you may try by creating launch files similar to realsense_r200_rgbd.launch and giving a unique value for the "camera" namespace and "serial_no" parameter for each camera. E.g camera = "camera1" and serial_no = "2131007626".

@mirzashah
Copy link

@reaganlo just tested out the latest release, configuring by serial number works. Even though you said it's untested, it appears two cameras work simultaneously using the method you suggested . Great job! :)

I did notice though that when running two simultaneously, both cameras retain the parent link of "camera_link". e.g. If you set camera:=camera1, the rgb and depth links will be camera1_rgb_frame and camera1_depth_frame, but the parent link will be camera_link instead of camera1_link. I filed an issue for this #21

nlyubova pushed a commit to nlyubova/realsense that referenced this issue Apr 25, 2016
This fixes Issue IntelRealSense#18.
Added code to handle various use cases for input serial number such as
--Exit with error if no serial number is specified and multiple cameras are detected.
--Exit with error if no camera is detected that matches the input serial number.
--Prints all the detected cameras.
Updated launch files with a placeholder for serial number.
Updated rgbd_launch test code to remove hardcoded topic names.
mdhorn added a commit to mdhorn/realsense that referenced this issue Jul 13, 2016
…updates

Update ignore file to Team Standard
icarpis pushed a commit to icarpis/realsense that referenced this issue Sep 17, 2017
person tracking: README & launch file fixes
@comwise comwise mentioned this issue Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants