Skip to content
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

Add functions to access system timestamps for each image #122

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

johan12345
Copy link
Contributor

The system timestamps in nanoseconds are available from the C SDK using the k4a_image_get_system_timestamp_nsec() function. These correspond quite well to Python's time.perf_counter_ns(), so I suppose they should be useful in Python as well (e.g. for synchronization with other cameras).

@codecov
Copy link

codecov bot commented Apr 19, 2021

Codecov Report

❗ No coverage uploaded for pull request base (develop@a103046). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #122   +/-   ##
==========================================
  Coverage           ?   86.47%           
==========================================
  Files              ?       10           
  Lines              ?      710           
  Branches           ?        0           
==========================================
  Hits               ?      614           
  Misses             ?       96           
  Partials           ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a103046...1f1dd81. Read the comment docs.

@lpasselin
Copy link
Collaborator

Thanks a lot for the PR!

@lpasselin lpasselin merged commit 6865de7 into etiennedub:develop Apr 19, 2021
lpasselin added a commit that referenced this pull request May 19, 2021
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (#122)

* fix memory usage problem for calls to capture.transformed_ir (#125)

* version 1.2.4

Co-authored-by: Johan von Forstner <[email protected]>
@lpasselin lpasselin mentioned this pull request Aug 7, 2021
lpasselin added a commit that referenced this pull request Aug 7, 2021
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (#122)

* fix memory usage problem for calls to capture.transformed_ir (#125)

* version 1.2.4

* Adding a context manager for playback objects (#130)


* Added support for with statements

Co-authored-by: David Dunn <[email protected]>

* Windows sdk autodetection (#132)

* Autodetecting Kinect SDK for windows

* Fixes

* Fixes

* DLL Autodetection

* Latest fixes

* update version

* rephrase readme

* refactor and add K4A_DLL_DIR

* minor readme change

* rename loader to module

* fix multiline string

* Update module.py

fix lint

* Minor fix

Co-authored-by: Louis-Philippe Asselin <[email protected]>

* Add develop branch for ci target (#139)

Co-authored-by: Johan von Forstner <[email protected]>
Co-authored-by: Louis-Philippe Asselin <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Ilya Gruzinov <[email protected]>
lpasselin added a commit that referenced this pull request Aug 7, 2021
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (#122)

* fix memory usage problem for calls to capture.transformed_ir (#125)

* version 1.2.4

* Adding a context manager for playback objects (#130)


* Added support for with statements

Co-authored-by: David Dunn <[email protected]>

* Windows sdk autodetection (#132)

* Autodetecting Kinect SDK for windows

* Fixes

* Fixes

* DLL Autodetection

* Latest fixes

* update version

* rephrase readme

* refactor and add K4A_DLL_DIR

* minor readme change

* rename loader to module

* fix multiline string

* Update module.py

fix lint

* Minor fix

Co-authored-by: Louis-Philippe Asselin <[email protected]>

* Add develop branch for ci target (#139)

* rename 1.2.5 to 1.3.0

Co-authored-by: Johan von Forstner <[email protected]>
Co-authored-by: Louis-Philippe Asselin <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Ilya Gruzinov <[email protected]>
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