orbbec / OrbbecSDK_ROS2

OrbbecSDK ROS2 wrapper
Apache License 2.0
92 stars 36 forks source link

Astra - Failed to setup devices #8

Open rafal-gorecki opened 1 year ago

rafal-gorecki commented 1 year ago

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.

JGMonroy commented 1 year ago

Same problem here!

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

JGMonroy commented 1 year ago

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.

albertoezquerro commented 1 year ago

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

swilcock0 commented 2 months ago

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