Thank you for your work on this very useful project! It's a pleasure accessing the Kinect 2 from Python.
I'd like to submit this pull request, which makes the following additions:
Fixes frame access time logic
Addes a relative_time field to body frame data (which was previously inaccessible from the Python API).
As for the first point above, variables like _last_body_frame_access were used instead of self._last_body_frame_access, which caused functions such as get_last_body_frame() to always incorrectly return that there is new data (even if there isn't).
Hello,
Thank you for your work on this very useful project! It's a pleasure accessing the Kinect 2 from Python.
I'd like to submit this pull request, which makes the following additions:
As for the first point above, variables like
_last_body_frame_access
were used instead ofself._last_body_frame_access
, which caused functions such asget_last_body_frame()
to always incorrectly return that there is new data (even if there isn't).Thank you very much again!
All the best, Steve