-
Notifications
You must be signed in to change notification settings - Fork 10
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
Corrupt Timestamps after calling EnableDeviceClockSync with Femto Bolts #37
Comments
You are using the C# wrapper. Future C# issues can be reported in this repository. |
SDK version 2.1.1 #define ob_frame_time_stamp(frame, err) (ob_frame_get_timestamp_us(frame, err)) |
I get an overflow. The Timestamp (in milliseconds) is supposed to be within the bounds of datatype ulong. but when i try to convert it to TimeSpan.FromMilliseconds() I get the overflow error, that the timestamp is too large: ulong timestamp = depthFrame.GetTimeStampUs(); ulong timestamp = depthFrame.GetTimeStamp(); Edit: I just tested both Timestamp-Functions: And you are right, the MS-Timestamp is the same as the US-Timestamp, in my case which is a quite large timestamp by the way. Anyway, the error occurred when trying to convert it to the TimeSpan-Datatype, which was possible before I used the context.EnableDeviceClockSync(timeinterval); ... |
After I call context.EnableDeviceClockSync(timeinterval); over the c# api I get corrupt Timestamps via depthFrame.GetTimeStamp(), depthFrame.GetTimeStampUs() still works...
SDK version 2.1.1
Windows 11
2x Orbbec Femto Bolt
The text was updated successfully, but these errors were encountered: