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
3917b447
Commit
3917b447
authored
Sep 23, 2016
by
Joseph Mirabel
Committed by
Joseph Mirabel
Dec 19, 2016
Browse files
[C++] Fix JointModelPlanar::isSameConfiguration_impl
parent
40c08c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/joint/joint-planar.hpp
View file @
3917b447
...
...
@@ -514,7 +514,7 @@ namespace se3
Eigen
::
VectorXd
::
ConstFixedSegmentReturnType
<
NQ
>::
Type
&
q_1
=
q1
.
segment
<
NQ
>
(
idx_q
());
Eigen
::
VectorXd
::
ConstFixedSegmentReturnType
<
NQ
>::
Type
&
q_2
=
q2
.
segment
<
NQ
>
(
idx_q
());
return
q_1
.
isApprox
(
q_2
,
prec
)
;
return
q_1
.
head
<
2
>
().
isApprox
(
q_2
.
head
<
2
>
(),
prec
)
&&
std
::
fmod
(
std
::
abs
(
q_1
[
2
]
-
q_2
[
2
]),
2
*
M_PI
)
<
prec
;
}
static
std
::
string
classname
()
{
return
std
::
string
(
"JointModelPlanar"
);}
...
...
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