Tests for the backwards compatibility for the Python wrapper.
Definition at line 31 of file test_backwards_compatibility.py.
◆ generate_measurements()
def test_backwards_compatibility.TestBackwardsCompatibility.generate_measurements |
( |
|
self, |
|
|
|
calibration |
|
) |
| |
◆ setUp()
def test_backwards_compatibility.TestBackwardsCompatibility.setUp |
( |
|
self | ) |
|
◆ test_align()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align |
( |
|
self, |
|
|
|
None |
|
) |
| |
Ensure estimation of the Pose2 element to align two 2d point clouds succeeds.
Two point clouds represent horseshoe-shapes of the same size, just rotated and translated:
| X---X
| |
| X---X
------------------
|
|
O | O
| | |
O---O
Definition at line 363 of file test_backwards_compatibility.py.
◆ test_align_poses2_along_straight_line()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses2_along_straight_line |
( |
|
self, |
|
|
|
None |
|
) |
| |
Test Align of list of Pose2Pair.
Scenario:
3 object poses
same scale (no gauge ambiguity)
world frame has poses rotated about 180 degrees.
world and egovehicle frame translated by 15 meters w.r.t. each other
Definition at line 482 of file test_backwards_compatibility.py.
◆ test_align_poses2_along_straight_line_gauge()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses2_along_straight_line_gauge |
( |
|
self | ) |
|
Test if Align Pose2Pairs method can account for gauge ambiguity.
Scenario:
3 object poses
with gauge ambiguity (2x scale)
world frame has poses rotated by 90 degrees.
world and egovehicle frame translated by 11 meters w.r.t. each other
Definition at line 517 of file test_backwards_compatibility.py.
◆ test_align_poses2_scaled_squares()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses2_scaled_squares |
( |
|
self | ) |
|
Test if Align Pose2Pairs method can account for gauge ambiguity.
Make sure a big and small square can be aligned.
The u's represent a big square (10x10), and v's represents a small square (4x4).
Scenario:
4 object poses
with gauge ambiguity (2.5x scale)
Definition at line 552 of file test_backwards_compatibility.py.
◆ test_align_poses3_along_straight_line()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses3_along_straight_line |
( |
|
self | ) |
|
Test Align Pose3Pairs method.
Scenario:
3 object poses
same scale (no gauge ambiguity)
world frame has poses rotated about x-axis (90 degree roll)
world and egovehicle frame translated by 15 meters w.r.t. each other
Definition at line 590 of file test_backwards_compatibility.py.
◆ test_align_poses3_along_straight_line_gauge()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses3_along_straight_line_gauge |
( |
|
self | ) |
|
Test if Align Pose3Pairs method can account for gauge ambiguity.
Scenario:
3 object poses
with gauge ambiguity (2x scale)
world frame has poses rotated about z-axis (90 degree yaw)
world and egovehicle frame translated by 11 meters w.r.t. each other
Definition at line 625 of file test_backwards_compatibility.py.
◆ test_align_poses3_scaled_squares()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_poses3_scaled_squares |
( |
|
self | ) |
|
Test if Align Pose3Pairs method can account for gauge ambiguity.
Make sure a big and small square can be aligned.
The u's represent a big square (10x10), and v's represents a small square (4x4).
Scenario:
4 object poses
with gauge ambiguity (2.5x scale)
Definition at line 660 of file test_backwards_compatibility.py.
◆ test_align_squares()
def test_backwards_compatibility.TestBackwardsCompatibility.test_align_squares |
( |
|
self | ) |
|
◆ test_Cal3Fisheye_triangulation_rectify()
def test_backwards_compatibility.TestBackwardsCompatibility.test_Cal3Fisheye_triangulation_rectify |
( |
|
self | ) |
|
◆ test_Cal3Unified_triangulation_rectify()
def test_backwards_compatibility.TestBackwardsCompatibility.test_Cal3Unified_triangulation_rectify |
( |
|
self | ) |
|
◆ test_constructorBetweenFactorPose2s()
def test_backwards_compatibility.TestBackwardsCompatibility.test_constructorBetweenFactorPose2s |
( |
|
self, |
|
|
|
None |
|
) |
| |
Check if ShonanAveraging2 constructor works when not initialized from g2o file.
GT pose graph:
| cam 1 = (0,4)
--o
| .
. .
. .
| |
o-- ... o--
cam 0 cam 2 = (4,0)
(0,0)
Definition at line 428 of file test_backwards_compatibility.py.
◆ test_factor()
def test_backwards_compatibility.TestBackwardsCompatibility.test_factor |
( |
|
self | ) |
|
◆ test_find()
def test_backwards_compatibility.TestBackwardsCompatibility.test_find |
( |
|
self | ) |
|
◆ test_find_karcher_mean_identity()
def test_backwards_compatibility.TestBackwardsCompatibility.test_find_karcher_mean_identity |
( |
|
self | ) |
|
◆ test_FixedLagSmootherExample()
def test_backwards_compatibility.TestBackwardsCompatibility.test_FixedLagSmootherExample |
( |
|
self | ) |
|
Simple test that checks for equality between C++ example
file and the Python implementation. See
gtsam_unstable/examples/FixedLagSmootherExample.cpp
Definition at line 182 of file test_backwards_compatibility.py.
◆ test_ordering()
def test_backwards_compatibility.TestBackwardsCompatibility.test_ordering |
( |
|
self | ) |
|
◆ test_outliers_and_far_landmarks()
def test_backwards_compatibility.TestBackwardsCompatibility.test_outliers_and_far_landmarks |
( |
|
self, |
|
|
|
None |
|
) |
| |
◆ test_sfm_track_2d_constructor()
def test_backwards_compatibility.TestBackwardsCompatibility.test_sfm_track_2d_constructor |
( |
|
self, |
|
|
|
None |
|
) |
| |
◆ test_track_generation()
def test_backwards_compatibility.TestBackwardsCompatibility.test_track_generation |
( |
|
self, |
|
|
|
None |
|
) |
| |
◆ test_triangulation_robust_three_poses()
def test_backwards_compatibility.TestBackwardsCompatibility.test_triangulation_robust_three_poses |
( |
|
self, |
|
|
|
None |
|
) |
| |
◆ test_TriangulationExample()
def test_backwards_compatibility.TestBackwardsCompatibility.test_TriangulationExample |
( |
|
self, |
|
|
|
None |
|
) |
| |
◆ camera
test_backwards_compatibility.TestBackwardsCompatibility.camera |
|
static |
◆ cameras
test_backwards_compatibility.TestBackwardsCompatibility.cameras |
|
static |
◆ fisheye_cameras
test_backwards_compatibility.TestBackwardsCompatibility.fisheye_cameras |
◆ fisheye_measurements
test_backwards_compatibility.TestBackwardsCompatibility.fisheye_measurements |
test_backwards_compatibility.TestBackwardsCompatibility.K |
|
static |
◆ landmark
test_backwards_compatibility.TestBackwardsCompatibility.landmark |
◆ measurements
test_backwards_compatibility.TestBackwardsCompatibility.measurements |
|
static |
◆ origin
test_backwards_compatibility.TestBackwardsCompatibility.origin |
◆ poses
test_backwards_compatibility.TestBackwardsCompatibility.poses |
◆ stereographic
test_backwards_compatibility.TestBackwardsCompatibility.stereographic |
◆ triangulation_poses
test_backwards_compatibility.TestBackwardsCompatibility.triangulation_poses |
◆ unified_cameras
test_backwards_compatibility.TestBackwardsCompatibility.unified_cameras |
◆ unified_measurements
test_backwards_compatibility.TestBackwardsCompatibility.unified_measurements |
test_backwards_compatibility.TestBackwardsCompatibility.z |
|
static |
The documentation for this class was generated from the following file: