-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basic implementation of `compute_head_direction_vector()` * Minor fixes docstring * Added unit test for `compute_head_direction_vector()` * Bug fixes for `test_compute_head_direction_vector()` * Added validator (and test) to ensure input is 2D * Refactored `navigation.py` and implemented PR review feedback * Extended testing and added `front_keypoint` argument to `compute_head_direction_vector()` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Implemented PR feedback and bugfixes for `compute_2d_head_direction_vector()` * Removed uppercase letters from function names * Tweaked `compute_polar_coordinates.py` to use new function * Implemented feedback from Zulip discussion and created `compute_head_direction_vector()` alias function * Fixed typo in docstring * Tweaked `compute_forward_vector()` to use new validator * More fixes for `test_kinematics.py` * Bugfix for `compute_forward_vector()` and expanded `test_compute_forward_vector` to cover both `camera_view` options * Added test coverage for `compute_head_direction_vector()` alias * Reversed changes to `compute_polar_coordinates.py` and implemented final feedback --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9c80786
commit 9973c2e
Showing
2 changed files
with
345 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters