Skip to content
GitLab
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
ndcurves
Commits
6796c8f5
Commit
6796c8f5
authored
Nov 26, 2019
by
Pierre Fernbach
Browse files
[Tests] SO3Linear : correctly check the value of the angular velocity
parent
b7634c93
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Main.cpp
View file @
6796c8f5
...
...
@@ -1658,6 +1658,11 @@ void so3LinearTest(bool& error) {
error
=
true
;
std
::
cout
<<
"second order derivative should be null"
<<
std
::
endl
;
}
point3_t
angular_vel
=
so3Traj
.
derivate
(
0
,
1
);
if
(
angular_vel
[
1
]
!=
0.
||
angular_vel
[
2
]
!=
0
){
error
=
true
;
std
::
cout
<<
"Angular velocity around y and z axis should be null"
<<
std
::
endl
;
}
// check if errors are correctly raised :
try
{
so3Traj
(
-
0.1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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