-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Gyroscope coordinates in c # #8746
Comments
Hi @anomal3 There is not a lot of information available for accessing IMU streams with C#. There was a RealSense user who did so by using callbacks. https://support.intelrealsense.com/hc/en-us/community/posts/360044035053-C-Time-out-with-D435i-IMU-data-enabled An alternative approach suggested was to access the information through the RealSense SDK's Low-Level API (accessing the camera hardware directly). |
thank you very much. var accelFrame = frameset.FirstOrDefault<Frame>(Stream.Accel, Format.MotionXyz32f).DisposeWith(frameset);
var b = Marshal.PtrToStructure<Vector3>(accelFrame.Data); in win forms Error. PtrToStructure cannot be used with type arguments If you use a console application, everything works fine. |
Thanks very much @anomal3 - I'm pleased that I could help! Do you require further assistance with this case, please? |
Problems with PtrToStructure only |
Great to hear. Please feel free to close the case with the Close Issue button underneath the comment writing box if you are satisfied with the outcome. Thanks again! |
Issue Description
Good afternoon friends. I found a great example that I need, but I cannot implement it in c #
link to Exaple! and link to source code C++
I do not need such a graph in 3d
I just need the position coordinates.
Has anyone already done this? Pulling out the coordinates?
I'm talking about it

If you know how to implement in c # please share an example with me
The text was updated successfully, but these errors were encountered: