OrbbecSDK_ROS2 icon indicating copy to clipboard operation
OrbbecSDK_ROS2 copied to clipboard

Astra - Failed to setup devices

Open rafal-gorecki opened this issue 2 years ago • 4 comments

Hello, I have two orbbec camera: "Astra" and "Astra +". Using the ROS2 repo, I configured an environment on Ubuntu 22 with ROS humble installed. After building the package, however, I have a problem with initializing the "Astra" camera. As long as "Astra +" (ros2 launch orbbec_camera astra_adv.launch.py) starts without any problems. This is how executing ros2 launch orbbec_camera astra.launch.py ​​with only the "Astra" camera connected causes the following error:

Loaded node '/camera/camera' in container '/camera/camera_container'
[camera.camera]: OB_STREAM_IRsensor isn't supported by current device! -- Skipping...
[camera.camera]: OB_STREAM_COLORsensor isn't supported by current device! -- Skipping...
[camera.camera]: OB_STREAM_DEPTHsensor isn't supported by current device! -- Skipping...
[camera.camera]: Failed to setup devices: propertyManager have not been initialized
[ERROR] [camera.camera]: startDevice failed: This device has no valid sensor!
[camera.camera]: device list count 2
[camera.camera]: device list count 2

Output of command ros2 run orbbec_camera list_camera_profile_mode_node:

Context created with config: default config!
Context work_dir=/home/aayli
New openni device matched.
Create PollingDeviceWatcher!
Current found device(s): (2)
	- Name: BootDevice, PID: 0x0401, SN/ID: , Connection: USB2.0
	- Name: Astra, PID: 0x0401, SN/ID: , Connection: USB2.0

I would ask for help in starting the "Astra" camera. I will also add that I tested the devices separately (only one camera was connected at a time) and I don't know if it matters, but Astra was purchased over 1 year ago (mayby there was some changes in firmware). Both camera are also visible in lsusb devices.

rafal-gorecki avatar Oct 04 '23 12:10 rafal-gorecki

Same problem here!

Just one Astra camera connected, but the SDK finds 2 devices. Fails when trying to open the "default" device.

JGMonroy avatar Oct 19 '23 15:10 JGMonroy

Replicated the same issue on a different robot. This time with 2 Orbbec Astra cameras. Launching the default astra.launch detects 4 devices, and fails to open the camera.

JGMonroy avatar Oct 23 '23 08:10 JGMonroy

Any updates on this? I'm facing the same issue here.

albertoezquerro avatar Nov 14 '23 12:11 albertoezquerro

This repo is still working for Astra https://github.com/orbbec/ros2_astra_camera

swilcock0 avatar Sep 25 '24 08:09 swilcock0