GetIntrinsics() bad function call #3304
crisannik26
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi @crisannik26 The RealSense SDK's official 'C# Cookbook' page of C# example code demonstrates a different way of configuring the stream profile for the purpose of retrieving the intrinsics.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
My C# programming knowledge is admittedly limited. In the code section below:
Does it make a difference when not running in debug mode if you comment out one of the above 'intrinsics' lines so that only one set of intrinsics is retrieved? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello everyone,
I am trying to extrapolate the intrinsic parameters of the colour camera (Format RGB8) and the depth camera (Format Z16).
If I launch the C# application in debug mode everything works correctly, but when I run it without debugging, I get the following error:
Error during initialize procedure. Error: bad function call Exception: System.Runtime.InteropServices.ExternalException (0x80004005): rs2_get_video_stream_intrinsics(from:000002597BE872C8, intr:[ 0x0 p[0 0] f[0 0] None [0 0 0] ])
I am using the .NetFramework 4.8 and C#12.
I am also inserting the code portion:
Beta Was this translation helpful? Give feedback.
All reactions