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
9d424968
Commit
9d424968
authored
Oct 05, 2016
by
Rohan Budhiraja
Browse files
[c++] se3::Model has member njoints instead of njoint
parent
0dfe6e08
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sot-dynamic.cpp
View file @
9d424968
...
...
@@ -229,7 +229,7 @@ Dynamic::setModel(se3::Model* modelPtr){
if
(
se3
::
nv
(
this
->
m_model
->
joints
[
1
])
==
6
)
sphericalJoints
.
push_back
(
3
);
//FreeFlyer Orientation
for
(
int
i
=
1
;
i
<
this
->
m_model
->
njoint
;
i
++
)
//0: universe
for
(
int
i
=
1
;
i
<
this
->
m_model
->
njoint
s
;
i
++
)
//0: universe
if
(
se3
::
nq
(
this
->
m_model
->
joints
[
i
])
==
4
)
//Spherical Joint Only
sphericalJoints
.
push_back
(
se3
::
idx_v
(
this
->
m_model
->
joints
[
i
]));
}
...
...
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