Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
pinocchio
Commits
816204b7
Unverified
Commit
816204b7
authored
Aug 27, 2018
by
Justin Carpentier
Browse files
[Test] Correct error accuracy checking
parent
09fdc614
Changes
1
Show whitespace changes
Inline
Side-by-side
unittest/dynamics.cpp
View file @
816204b7
...
...
@@ -145,7 +145,7 @@ BOOST_AUTO_TEST_CASE ( test_FD_with_damping )
// Actual Residuals
Eigen
::
VectorXd
constraint_residual
(
J
*
data
.
ddq
+
gamma
);
Eigen
::
VectorXd
dynamics_residual
(
data
.
M
*
data
.
ddq
+
data
.
nle
-
tau
-
J
.
transpose
()
*
data
.
lambda_c
);
BOOST_CHECK
(
constraint_residual
.
norm
()
<=
1e-
10
);
BOOST_CHECK
(
constraint_residual
.
norm
()
<=
1e-
9
);
BOOST_CHECK
(
dynamics_residual
.
norm
()
<=
1e-12
);
}
...
...
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