Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
its
cam_lidar_calibration
Commits
8b1d2f42
Commit
8b1d2f42
authored
Nov 24, 2019
by
James Ward
Browse files
Check for translation values in test
parent
ebc51723
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_optimiser.cpp
View file @
8b1d2f42
...
...
@@ -104,8 +104,10 @@ TEST(OptimiserTest, fullRunTest)
{
Optimiser
o
(
createParams
());
o
.
samples_
=
createSamples
(
99
);
o
.
optimise
();
EXPECT_TRUE
(
true
);
auto
result
=
o
.
optimise
();
EXPECT_NEAR
(
result
.
x
/
1000.
,
0.120
,
0.005
);
EXPECT_NEAR
(
result
.
y
/
1000.
,
0.006
,
0.005
);
EXPECT_NEAR
(
result
.
z
/
1000.
,
-
0.132
,
0.005
);
}
int
main
(
int
argc
,
char
**
argv
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment