Skip to content

Refactor capture and transformation handles - #59

Merged
lpasselin merged 84 commits into
etiennedub:developfrom
shagren:refactor-transformation
Sep 17, 2020
Merged

lpasselin merged 84 commits into
etiennedub:developfrom
shagren:refactor-transformation

Conversation

@shagren

@shagren shagren commented Sep 3, 2020 •

Copy link
Copy Markdown
Contributor

Big refactoring

  • Calibration and Transformation now has corresponding python classes. Many related logic refactored.
  • device_containers not used anymore in k4a_module.
  • playback can return captures.
  • examples for transformation, playback, benchmark
  • lots of tests

@shagren shagren changed the title Refactor transformation Refactor capture and transformation handles Sep 10, 2020
Comment thread example/viewer_depth.py Resolved
Comment thread Makefile Resolved
Comment thread example/viewer_depth.py Resolved
Comment thread example/viewer_transformation.py Resolved
Comment thread pyk4a/calibration.py Resolved
Comment thread pyk4a/pyk4a.cpp Resolved
Comment thread pyk4a/pyk4a.cpp Resolved
Comment thread pyk4a/pyk4a.cpp Resolved
Comment thread pyk4a/pyk4a.cpp Resolved
Comment thread pyk4a/pyk4a.cpp Resolved
@shagren
shagren marked this pull request as ready for review September 10, 2020 17:31
@shagren

shagren commented Sep 10, 2020

Copy link
Copy Markdown
Contributor Author

@lpasselin can you review this minor ;-) PR ?

@lpasselin lpasselin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work, we are really lucky that you worked on this project!
I left some small comments but nothing major that can't be merged already.

Great job on the testing. I did not go into details for the tests yet but I will when implementing the body tracking.

Thanks for the PR it's great work again!

Comment thread example/bench.py Resolved
Comment thread example/playback.py Resolved
Comment thread pyk4a/calibration.py Resolved
Comment thread pyk4a/calibration.py Resolved
Comment thread pyk4a/calibration.py Resolved
Comment thread pyk4a/pyk4a.py
You must open device before querying any information
"""
if self.opened:
raise K4AException("Device already opened")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to raise exception here? or do nothing is already open

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to raise exception here.
Let's leave as is and review open/start logic in future.
I.e. _start_imu and _start_cameras can be public: use can start only required modules.

Comment thread pyk4a/pyk4a.py Resolved
Comment thread pyk4a/pyk4a.py Resolved
Comment thread pyk4a/pyk4a.py Resolved
Comment thread pyk4a/result.py Resolved
Comment thread setup.cfg Resolved
@lpasselin

Copy link
Copy Markdown
Collaborator

Let me know when you feel it is ready to merge into develop. I'll test with my device then.

@shagren

shagren commented Sep 14, 2020

Copy link
Copy Markdown
Contributor Author

@lpasselin , i think this PR can be merged now.
I will work on some other features after.

@shagren shagren mentioned this pull request Sep 15, 2020
@lpasselin
lpasselin merged commit c407f3e into etiennedub:develop Sep 17, 2020
@shagren
shagren deleted the refactor-transformation branch March 1, 2021 08:57
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