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
Stack Of Tasks
pinocchio
Commits
b162d1f2
Verified
Commit
b162d1f2
authored
Dec 18, 2019
by
Justin Carpentier
Browse files
joint/mimic: keeps S
parent
4001ca67
Changes
1
Show whitespace changes
Inline
Side-by-side
src/multibody/joint/joint-mimic.hpp
View file @
b162d1f2
...
...
@@ -286,14 +286,14 @@ namespace pinocchio
const
Scalar
&
scaling
)
:
m_jdata_ref
(
jdata
.
derived
())
,
m_scaling
(
scaling
)
,
m_
S
(
m_jdata_ref
.
S
,
scaling
)
,
S
(
m_jdata_ref
.
S
,
scaling
)
{}
JointDataMimic
&
operator
=
(
const
JointDataMimic
&
other
)
{
m_jdata_ref
=
other
.
m_jdata_ref
;
m_scaling
=
other
.
m_scaling
;
m_
S
=
Constraint_t
(
m_jdata_ref
.
S
,
other
.
m_scaling
);
S
=
Constraint_t
(
m_jdata_ref
.
S
,
other
.
m_scaling
);
return
*
this
;
}
...
...
@@ -308,8 +308,8 @@ namespace pinocchio
}
// Accessors
ConstraintTypeConstRef
S_accessor
()
const
{
return
m_
S
;
}
ConstraintTypeRef
S_accessor
()
{
return
m_
S
;
}
ConstraintTypeConstRef
S_accessor
()
const
{
return
S
;
}
ConstraintTypeRef
S_accessor
()
{
return
S
;
}
TansformTypeConstRef
M_accessor
()
const
{
return
m_jdata_ref
.
M
;
}
TansformTypeRef
M_accessor
()
{
return
m_jdata_ref
.
M
;
}
...
...
@@ -351,7 +351,7 @@ namespace pinocchio
public:
// data
Constraint_t
m_
S
;
Constraint_t
S
;
};
// struct JointDataMimic
...
...
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