Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to run examples/color_view.py and examples/save_image_to_disk.py with Astra S #27

Open
cg3dland opened this issue Feb 29, 2024 · 1 comment

Comments

@cg3dland
Copy link

I follow up the guide to install the Python binding for Orbbec SDK on my Linux PC (Ubuntu 22.04.4), attach an Astra S camera to this Linux PC, and then run the sample app depth_viewer.py successfully, please refer to the attached log depth.log.

But when I run the sample app color_viewer.py, I get following error and app abort abnormally, please refer to the attached log color_view.log:
[02/29 16:11:43.291181][warning][449991][ObException.hpp:40] Start stream failed, OB_SENSOR_COLOR Match openni video mode failed!
[02/29 16:11:43.291247][warning][449991][Pipeline.cpp:233] Execute failure! A libobsensor_exception has occurred!
- where:233#start
- msg:Start stream failed, OB_SENSOR_COLOR Match openni video mode failed!
- type:N11libobsensor12io_exceptionE

BTW,I get following error when I run the sample app save_image_to_disk.py, and the app abort abnormally, please refer to the attached log save_image.log:
[02/29 16:15:53.070439][warning][450206][ObException.hpp:40] Request failed, statusCode: 6, msg: device response with in
consistent response id, nId=42, nRequestId=43
[02/29 16:15:53.070625][warning][450206][AbstractDevice.cpp:1272] Execute failure! A libobsensor_exception has occurred! - where:1272#switchD2CParams
- msg:Request failed, statusCode: 6, msg: device response with inconsistent response id, nId=42, nRequestId=43
- type:N11libobsensor12io_exceptionE
[02/29 16:15:53.070639][warning][450206][AbstractDevice.cpp:1272] set align hardware mode int failed!
[02/29 16:15:53.070651][warning][450206][OpenNIDevice.cpp:805] current d2c param index out of range!
[02/29 16:15:53.070678][info][450206][Pipeline.cpp:239] Try to start streams!
[02/29 16:15:53.070692][error][450206][OpenNIVideoSensor.cpp:427] Match openni video mode failed!
[02/29 16:15:53.070709][warning][450206][ObException.hpp:40] Start stream failed, OB_SENSOR_COLOR Match openni video mod
e failed!
[02/29 16:15:53.070759][warning][450206][Pipeline.cpp:233] Execute failure! A libobsensor_exception has occurred!
- where:233#start
- msg:Start stream failed, OB_SENSOR_COLOR Match openni video mode failed!
- type:N11libobsensor12io_exceptionE

Could you please help me to resolve the issues and make these 2 apps run at my side with Astra S?

Thanks,

color_view.log
depth.log
save_image.log

@thaiph99
Copy link

thaiph99 commented Apr 5, 2024

@cg3dland I have the same problems with Astra Pro, so do you have any solutions for this?
Any maintainer in here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants