Astra camera stops working after several seconds

asked 2022-05-13 16:06:49 -0500

Hi, I am running ros_astra_camera package on my Orbbec astra mini camera. Everything works fine for a few second then I get this error message:

process[camera/camera_nodelet_manager-1]: started with pid [18396]
process[camera/driver-2]: started with pid [18397]
process[camera/rgb_rectify_color-3]: started with pid [18398]
process[camera/depth_rectify_depth-4]: started with pid [18399]
process[camera/depth_metric_rect-5]: started with pid [18400]
process[camera/depth_metric-6]: started with pid [18407]
[ INFO] [1652475544.674618616]: Initializing nodelet with 4 worker threads.
process[camera/depth_points-7]: started with pid [18420]
process[camera/depth_registered_rectify_depth-8]: started with pid [18430]
process[camera/points_xyzrgb_hw_registered-9]: started with pid [18436]
process[camera/depth_registered_hw_metric_rect-10]: started with pid [18438]
process[camera/depth_registered_metric-11]: started with pid [18446]
process[camera_base_link-12]: started with pid [18457]
process[camera_base_link1-13]: started with pid [18462]
process[camera_base_link2-14]: started with pid [18467]
process[camera_base_link3-15]: started with pid [18470]
[ INFO] [1652475544.855550539]: Device "2bc5/0407@1/107" found.
Warning: USB events thread - failed to set priority. This might cause loss of data...
[camera/driver-2] process has finished cleanly
log file: /home/robin/.ros/log/b752a402-cfaa-11ec-8188-f8b46abc65a9/camera-driver-2*.log

I also checked the log file, and here it is:

[ INFO] [1652474958.718279274]: Loading nodelet /camera/driver of type astra_camera/AstraDriverNodelet to manager camera_nodelet_manager with the following remappings:
[ INFO] [1652474958.718988260]: /camera/depth -> /camera/depth
[ INFO] [1652474958.718999931]: /camera/depth/image -> /camera/depth_registered/image_raw
[ INFO] [1652474958.719006287]: /camera/depth_registered -> /camera/depth_registered
[ INFO] [1652474958.719011485]: /camera/ir -> /camera/ir
[ INFO] [1652474958.719016939]: /camera/rgb -> /camera/rgb
[ INFO] [1652474958.719022234]: /camera/rgb/image -> /camera/rgb/image_raw
[ INFO] [1652474958.720515724]: waitForService: Service [/camera/camera_nodelet_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1652474958.763314267]: waitForService: Service [/camera/camera_nodelet_manager/load_nodelet] is now available.
[ INFO] [1652474972.137358671]: Bond broken, exiting

It looks like an issue with the nodelet communication to me, but I have no idea how to fix it. I've been stuck on this for hours, any help is appreciated, thanks!

edit retag flag offensive close merge delete