-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c737c3
commit 3fc7692
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
import numpy as np | ||
|
||
import gtsam | ||
from gtsam import Point2, Point2Pairs, Pose2 | ||
from gtsam import align, Point2, Point2Pairs, Pose2 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
johnwlambert
Author
Contributor
|
||
from gtsam.utils.test_case import GtsamTestCase | ||
|
||
|
||
|
@@ -58,7 +58,7 @@ def test_align(self) -> None: | |
|
||
# fmt: on | ||
ab_pairs = Point2Pairs(list(zip(pts_a, pts_b))) | ||
bTa = Pose2.align(ab_pairs) | ||
bTa = align(ab_pairs) | ||
aTb = bTa.inverse() | ||
assert aTb is not None | ||
|
||
|
Only import classes. Use gtsam.align below