orbbec / OrbbecSDK_ROS2

OrbbecSDK ROS2 wrapper
https://orbbec.github.io/OrbbecSDK_ROS2/
Apache License 2.0
57 stars 19 forks source link

3 x astra_embedded_s camera, cannot run all 3 cameras #21

Closed falinuxKr closed 5 months ago

falinuxKr commented 6 months ago

Thanks

jian-dong commented 6 months ago

Hello @falinuxKr what resolution are you using and how many streams are on?

falinuxKr commented 6 months ago

Hello @falinuxKr what resolution are you using and how many streams are on?

Hello @jian-dong, All cameras-RGB, Depth, IR- have 640x480 30fps by default.

Sorry. RGB has 640x480 @30, and depth/ir have 640x400@30.

jian-dong commented 5 months ago

Hello @falinuxKr This resolution setting exceeds the maximum bandwidth of USB 3.0; you can lower the resolution and frame rate and try again.

falinuxKr commented 5 months ago

Hello @falinuxKr This resolution setting exceeds the maximum bandwidth of USB 3.0; you can lower the resolution and frame rate and try again.

Thanks @jian-dong,

Would you look into what I did?

1. USB bandwidth

2. recommended resolutions

Thanks

falinuxKr commented 5 months ago

@jian-dong

I changed Depth to 320x200 @5, and IR to 320x200@5. RGB as it is. According tolist_camera_profile_mode_mode, RGB does not have lower mode than 640x480@30. But failed to see all 3 cameras. Depth and IR of one camera show very low outputs(fps) instead of other 2 cameras.

zhonghong322 commented 5 months ago

Please modify the buffer size of the kernel and test it with the following command, making sure to run it with root permissions.

echo 128 > /sys/module/usbcore/parameters/usbfs_memory_mb
cat /sys/module/usbcore/parameters/usbfs_memory_mb

After modifying the kernel buffer size, we tested it with three devices and it worked fine. 1ab974a54502b0386592fd2fbd5ef598

falinuxKr commented 5 months ago

@zhonghong322 VERY thanks. You saved lots of time.