orbbec / OrbbecSDK_ROS2

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

Does not support Gemini E? #25

Open June-Jo opened 3 months ago

June-Jo commented 3 months ago

I'm using ROS2 humble, Ubuntu 22.04, and Gemini E.

I followed the instruction and launched gemini_e.launch.xml file. But it seems like that the camera can not be found. It waits the camera connection.

irobot@irobot:~/cam_ws$ ros2 launch orbbec_camera gemini_e.launch.xml [INFO] [launch]: All log files can be found below /home/irobot/.ros/log/2024-03-18-16-02-34-050774-irobot-17788 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [orbbec_camera_node-1]: process started with pid [17789] [orbbec_camera_node-1] WARNING: Logging before InitGoogleLogging() is written to STDERR [orbbec_camera_node-1] [I20240318 16:02:34.545207 17789 Context.cpp:13] Context creating! [orbbec_cameranode-1] [I20240318 16:02:34.545459 17789 XmlConfig.cpp:108] loadConfigFile() using defaultConfig==/home/irobot/orbbec_ws/install/orbbec_camera/share/orbbec_camera/config/OrbbecSDKConfig_v1.0.xml [orbbec_camera_node-1] [I20240318 16:02:34.545469 17789 Context.cpp:33] Config file version=1.1 [orbbec_camera_node-1] [I20240318 16:02:34.545476 17789 FrameBufferManager.cpp:23] Max global frame buffer size updated! Size=2048MB [orbbec_camera_node-1] [I20240318 16:02:34.545496 17789 DeviceManager.cpp:56] DeviceManager init ... [orbbec_camera_node-1] [I20240318 16:02:34.545576 17789 LinuxPal.cpp:22] createObPal: create LinuxPal! [orbbec_camera_node-1] [I20240318 16:02:34.667402 17789 EnumeratorLibusb.cpp:325] queryDevicesInfo done! [orbbec_camera_node-1] [I20240318 16:02:34.667450 17789 DeviceManager.cpp:382] Current usb device port list:: [orbbec_camera_node-1] [I20240318 16:02:34.667454 17789 DeviceManager.cpp:384] - 1-3.3-7.0 | Orbbec Gemini E RGB Camera [orbbec_camera_node-1] [I20240318 16:02:34.667457 17789 DeviceManager.cpp:384] - 1-3.1-8.0 | Orbbec(R) Astra(TM) 3D Camera(F) Depth [orbbec_camera_node-1] [W20240318 16:02:34.667467 17789 OpenNIDeviceInfo.cpp:172] New openni device matched. [orbbec_camera_node-1] [I20240318 16:02:34.667475 17789 DeviceManager.cpp:352] Devices matched: [orbbec_camera_node-1] [I20240318 16:02:34.667479 17789 DeviceManager.cpp:368] - openniDevice = 1 [orbbec_camera_node-1] [I20240318 16:02:34.667569 17789 LinuxPal.cpp:150] Create PollingDeviceWatcher! [orbbec_camera_node-1] [I20240318 16:02:34.667574 17789 DeviceManager.cpp:101] DeviceManager init done! [orbbec_camera_node-1] [I20240318 16:02:34.667577 17789 DeviceManager.cpp:52] DeviceManager construct done [orbbec_camera_node-1] [I20240318 16:02:34.667582 17789 Context.cpp:56] Context created! [orbbec_camera_node-1] [INFO] [1710745354.667948579] [camera.camera]: Waiting for device connection...

[orbbec_camera_node-1] [INFO] [1710745354.668076449] [camera.camera]: Connecting to the default device [orbbec_camera_node-1] [ERROR] [1710745354.687790561] [camera.camera]: startDevice failed: No required type sensor found! sensorType: OB_SENSOR_IR [orbbec_camera_node-1] [ERROR] [1710745355.667797401] [camera.camera]: checkConnectTimer: device not connected [orbbec_camera_node-1] [INFO] [1710745355.667945322] [camera.camera]: Waiting for device connection...

[orbbec_camera_node-1] [ERROR] [1710745356.667788760] [camera.camera]: checkConnectTimer: device not connected [orbbec_camera_node-1] [INFO] [1710745356.667945300] [camera.camera]: Waiting for device connection...

And I launched the "ros2 run orbbec_camera list_camera_profile_mode_node", I got the message below.

No executable found

Also I tested the recent Viewer of SDK 1.9.4 from the orbbec hompage. It can do streaming the rgb image.

irobot@irobot:~/OrbbecSDK-1.9.4/build/bin$ ./OBMultiStream [03/18 16:15:12.789819][info][18182][Context.cpp:69] Context created with config: default config! [03/18 16:15:12.789828][info][18182][Context.cpp:74] Context work_dir=/home/irobot/OrbbecSDK-1.9.4/build/bin [03/18 16:15:12.789832][info][18182][Context.cpp:77] - SDK version: 1.9.4 [03/18 16:15:12.789835][info][18182][Context.cpp:78] - SDK stage version: main [03/18 16:15:12.789846][info][18182][Context.cpp:82] get config EnumerateNetDevice:false [03/18 16:15:12.789854][info][18182][LinuxPal.cpp:38] createObPal: create LinuxPal! [03/18 16:15:12.906541][warning][18182][OpenNIDeviceInfo.cpp:186] New openni device matched. [03/18 16:15:12.906649][info][18182][LinuxPal.cpp:112] Create PollingDeviceWatcher! [03/18 16:15:12.906674][info][18182][DeviceManager.cpp:15] Current found device(s): (1) [03/18 16:15:12.906680][info][18182][DeviceManager.cpp:24] - Name: Gemini E, PID: 0x065c, SN/ID: AY4J53100EX, Connection: USB2.0 [03/18 16:15:12.906690][info][18182][Pipeline.cpp:15] Try to create pipeline with default device. Get version failed![03/18 16:15:12.926364][error][18182][OpenNISensorFirmware.cpp:28] ~OpenNI2 device get version failed! [03/18 16:15:12.926379][error][18182][OpenNIDevice.cpp:423] ~OpenNI Sensor Firmware init failed! [03/18 16:15:12.926401][warning][18182][ObException.cpp:5] Unsupported property id! [03/18 16:15:12.926468][warning][18182][AbstractDevice.cpp:125] Execute failure! A libobsensor_exception has occurred!

capture

Can I do something to solve this problem?