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
sot-dynamic-pinocchio
Commits
0dfe6e08
Commit
0dfe6e08
authored
Sep 15, 2016
by
Rohan Budhiraja
Browse files
[c++] getFrameName is deprecated.
parent
cff464ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sot-dynamic.cpp
View file @
0dfe6e08
...
...
@@ -717,7 +717,7 @@ computeGenericEndeffJacobian(bool isFrame, int jointId,dg::Matrix& res,int time
if
(
isFrame
){
se3
::
framesForwardKinematics
(
*
m_model
,
*
m_data
);
se3
::
getFrameJacobian
<
true
>
(
*
m_model
,
*
m_data
,(
se3
::
Model
::
Index
)
jointId
,
m_output
);
temp
=
m_model
->
getFrameName
((
se3
::
Model
::
Index
)
jointId
);
temp
=
m_model
->
frames
.
at
((
se3
::
Model
::
Index
)
jointId
)
.
name
;
}
else
{
temp
=
m_model
->
getJointName
((
se3
::
Model
::
Index
)
jointId
);
...
...
@@ -739,7 +739,7 @@ computeGenericPosition(bool isFrame, int jointId, MatrixHomogeneous& res, int ti
if
(
isFrame
){
se3
::
framesForwardKinematics
(
*
m_model
,
*
m_data
);
res
.
matrix
()
=
m_data
->
oMf
[
jointId
].
toHomogeneousMatrix
();
temp
=
m_model
->
getFrameName
((
se3
::
Model
::
Index
)
jointId
);
temp
=
m_model
->
frames
.
at
((
se3
::
Model
::
Index
)
jointId
)
.
name
;
}
else
{
res
.
matrix
()
=
m_data
->
oMi
[
jointId
].
toHomogeneousMatrix
();
...
...
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