ifm / libo3d3xx

Driver and utilities for IFM Efector O3D3xx depth cameras
Apache License 2.0
38 stars 39 forks source link

std::condition_variable does not use monotonic clock #122

Closed graugans closed 5 years ago

graugans commented 6 years ago

The WaitForFrame method in the framegrabber uses a std::condition_variable which can use the system clock as a reference which can lead to unexpected behaviours like hanging for a long time or returning WaitForFrame with NULL. See this github issue for reference It is also stated in the online c++ reference.

theseankelly commented 5 years ago

@graugans correctly pointed out that the fix to ifm3d (https://github.com/ifm/ifm3d/pull/180) should be backported to libo3d3xx.