Skip to content

Handle get_device_time delay - #6043

Merged
dorodnic merged 1 commit into
realsenseai:developmentfrom
doronhi:handle_device_ts_delay
Mar 25, 2020
Merged

dorodnic merged 1 commit into
realsenseai:developmentfrom
doronhi:handle_device_ts_delay

Conversation

@doronhi

@doronhi doronhi commented Mar 12, 2020

Copy link
Copy Markdown
Contributor

fix bug: sometimes, calls for get_device_time_ms() takes very long (~250 ms).
The assumption is that the system time corresponding with device time is in the midpoint between start and end of get_device_time_ms().
In these cases, this assumption is not true.

…the assumption that the system time corresponding with hw time is in the midpoint between start and end of call is not true.

That is caused by multiple retries to call the device. Without more specific information about the duration of the call, we choose to ignore this data.
@doronhi

doronhi commented Mar 17, 2020

Copy link
Copy Markdown
Contributor Author

Tracked on RSS-5450

@dorodnic
dorodnic merged commit c8dc5a9 into realsenseai:development Mar 25, 2020
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

Successfully merging this pull request may close these issues.

2 participants