-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Breakout vector valiadator with skeleton test * Write validator tests, fix bug in missing .get method * Fix dims and coords returned by `compute_forward_vector` (#382) * Implement the expected fix updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.6](astral-sh/ruff-pre-commit@v0.8.1...v0.8.6) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](pre-commit/mirrors-mypy@v1.13.0...v1.14.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Revert "Implement the expected fix" This reverts commit edbaa9c. * Update method to explicitly construct and drop spatial z dimensions * Force nan test to check for preserved coordinates * Force explicit coordinate preservation checks in input/output test --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Standardise compute_signed_angle_2d function as a purely mathematical impementation * Patch up compute_forward_vector_angle * Start on tests but encounter NaN bug that needs rebase fix * Fix mapping of -pi to pi in signed_angle * Write antisymmetry test * Write invariance under transforms test * Add tests for missing lines * Apply batch suggestions from code review Co-authored-by: Niko Sirmpilatze <[email protected]> * Fix computer_forward_vector__angle docstring * Remove unnecessary validation checks * Use camera view variable name for codebase consistency * Fix validator docstring backticks * Move ref vector validator into array validators * Fix typehints and test broken by removing earlier error check --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Niko Sirmpilatze <[email protected]>
- Loading branch information
1 parent
5f28f01
commit ac22354
Showing
6 changed files
with
805 additions
and
183 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
Oops, something went wrong.