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
4947e157
Unverified
Commit
4947e157
authored
Aug 24, 2018
by
Justin Carpentier
Committed by
GitHub
Aug 24, 2018
Browse files
Merge pull request #502 from jcarpent/devel
Fix bugs in exp6
parents
ac2cba4a
0962b9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/spatial/explog.hpp
View file @
4947e157
...
...
@@ -255,7 +255,7 @@ namespace se3
typename
SE3
::
Angular_t
&
rot
=
res
.
rotation
();
const
Scalar
t
=
std
::
sqrt
(
t2
);
if
(
t
>
Eigen
::
NumTraits
<
Scalar
>::
dummy_precision
()
)
if
(
t
>
1e-4
)
{
Scalar
ct
,
st
;
SINCOS
(
t
,
&
st
,
&
ct
);
...
...
@@ -278,7 +278,7 @@ namespace se3
{
const
Scalar
alpha_wxv
=
Scalar
(
1
)
/
Scalar
(
2
)
-
t2
/
24
;
const
Scalar
alpha_v
=
Scalar
(
1
)
-
t2
/
6
;
const
Scalar
alpha_w
=
Scalar
(
1
)
/
Scalar
(
6
)
-
t2
/
120
;
const
Scalar
alpha_w
=
(
Scalar
(
1
)
/
Scalar
(
6
)
-
t2
/
120
)
*
w
.
dot
(
v
)
;
// Linear
trans
.
noalias
()
=
(
alpha_v
*
v
+
alpha_w
*
w
+
alpha_wxv
*
w
.
cross
(
v
));
...
...
Write
Preview
Markdown
is supported
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