-
Notifications
You must be signed in to change notification settings - Fork 15
Reading device intrinsics fails... #62
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
Comments
ob_stream_profile_list *stream_profile_list = ob_pipeline_get_stream_profile_list(pipeline, OB_SENSOR_DEPTH, &error);
|
Or getthe stream_profile through the sensor, and then retrieve the intrinsic parameters. ob_sensor_list *sensor_list = ob_device_get_sensor_list(device, &error);
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I don't know if anyone else is using the C library, but I've written a simple Qt widget that tries to connect to an Orbbec device and read its intrinsics, and I'm not having any luck. I can't exactly find any examples in C. So maybe someone else has gotten this to work. Here is my code. Am I doing it in the wrong order? Should I be using a different Profile?
`
// INITIALIZE STRUCTURE POINTERS
ob_context *context = NULL;
ob_pipeline *pipeline = NULL;
ob_stream_profile *depthProfile = NULL;
ob_stream_profile *colorProfile = NULL;
ob_stream_profile_list *depthProfiles = NULL;
ob_stream_profile_list *colorProfiles = NULL;
`
The text was updated successfully, but these errors were encountered: