I am using astra depth camera and a kinect under same ros master but on different robots. Could someone please tell how to run multiple cameras on same master? [closed]

asked 2018-07-04 09:37:19 -0600

Aniket_Gujarathi gravatar image

updated 2018-07-05 04:14:46 -0600

I am using astra_launch package for astra cam and freenect_launch for kinect. When I try to launch both the cameras simultaneously, both the processes die and no topics are being published. I have already tried remapping the topics of astra camera but it is still not working. Steps:- 1. roslaunch astra_launch astra.launch 2. rostopic list /b1/camera/depth/camera_info /b1/camera/depth/image /b1/camera/depth/image/compressed......... like this 3. roslaunch freenect_launch freenect.launch 4. Error on freenect.launch [FATAL] [1530781907.874580827]: Failed to load nodelet '/camera/driverof typefreenect_camera/driverto managercamera_nodelet_manager' process[camera/depth_rectify_depth-7]: started with pid [25055] process[camera/depth_metric_rect-8]: started with pid [25060] process[camera/depth_metric-9]: started with pid [25075] process[camera/depth_points-10]: started with pid [25094] process[camera/register_depth_rgb-11]: started with pid [25105] process[camera/points_xyzrgb_sw_registered-12]: started with pid [25109] process[camera/depth_registered_sw_metric_rect-13]: started with pid [25110] process[camera/depth_registered_rectify_depth-14]: started with pid [25122] process[camera/points_xyzrgb_hw_registered-15]: started with pid [25150] process[camera/depth_registered_hw_metric_rect-16]: started with pid [25158] process[camera/depth_registered_metric-17]: started with pid [25174] process[camera/disparity_depth-18]: started with pid [25182] process[camera/disparity_registered_sw-19]: started with pid [25189] process[camera/disparity_registered_hw-20]: started with pid [25194] process[camera_base_link-21]: started with pid [25197] process[camera_base_link1-22]: started with pid [25216] process[camera_base_link2-23]: started with pid [25244] process[camera_base_link3-24]: started with pid [25255] [camera/driver-2] process has died [pid 25022, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load freenect_camera/driver camera_nodelet_manager --no-bond ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered projector:=projector __name:=driver __log:=/home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-driver-2.log]. log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-driver-2.log [camera/rgb_rectify_mono-4] process has died [pid 25029, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=rgb/image_mono image_rect:=rgb/image_rect_mono __name:=rgb_rectify_mono __log:=/home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_rectify_mono-4.log]. log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_rectify_mono-4.log [camera/rgb_rectify_color-5] process has died [pid 25042, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=rgb/image_color image_rect:=rgb/image_rect_color __name:=rgb_rectify_color __log:=/home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_rectify_color-5.log]. log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_rectify_color-5.log [camera/ir_rectify_ir-6] process has died [pid 25051, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=ir/image_raw image_rect:=ir/image_rect_ir __name:=ir_rectify_ir __log:=/home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-ir_rectify_ir-6.log]. log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-ir_rectify_ir-6.log [camera/camera_nodelet_manager-1] process has finished cleanly log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-camera_nodelet_manager-1.log [camera/rgb_debayer-3] process has died [pid 25023, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load image_proc/debayer camera_nodelet_manager --no-bond image_raw:=rgb/image_raw image_mono:=rgb/image_mono image_color:=rgb/image_color __name:=rgb_debayer __log:=/home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_debayer-3.log]. log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-rgb_debayer-3.log

  1. Error in astra cam [camera/driver-3] process has finished cleanly log file: /home/unmesh/.ros/log/0ae6c538-8033-11e8-b60b-3ca067dec7cb/camera-driver-3.log [camera/rgb_rectify_color-4] process has finished ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Aniket_Gujarathi
close date 2018-07-07 03:06:17.568662

Comments

Can you post a copy and paste of the error that you're getting?

jayess gravatar image jayess  ( 2018-07-04 10:33:41 -0600 )edit

I have posted the errors in the description

Aniket_Gujarathi gravatar image Aniket_Gujarathi  ( 2018-07-05 04:15:21 -0600 )edit
1

Try to change the name of one of the cameras.

roslaunch astra_launch astra.launch camera:=astra_camera
Sokrates gravatar image Sokrates  ( 2018-07-05 08:39:28 -0600 )edit

Thank you....... This worked for me

Aniket_Gujarathi gravatar image Aniket_Gujarathi  ( 2018-07-07 03:06:05 -0600 )edit