Skip to content
GitLab
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
d22012bf
Commit
d22012bf
authored
Mar 27, 2019
by
Joseph Mirabel
Browse files
[Minor] Make Model::operator<< easier to read.
parent
904d7f9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hxx
View file @
d22012bf
...
...
@@ -48,7 +48,7 @@ namespace pinocchio
os
<<
"Nb joints = "
<<
model
.
njoints
<<
" (nq="
<<
model
.
nq
<<
",nv="
<<
model
.
nv
<<
")"
<<
std
::
endl
;
for
(
Index
i
=
0
;
i
<
(
Index
)(
model
.
njoints
);
++
i
)
{
os
<<
" Joint "
<<
model
.
names
[
i
]
<<
": parent="
<<
model
.
parents
[
i
]
<<
std
::
endl
;
os
<<
" Joint "
<<
i
<<
" "
<<
model
.
names
[
i
]
<<
": parent="
<<
model
.
parents
[
i
]
<<
std
::
endl
;
}
return
os
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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