Commit d22012bf authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Minor] Make Model::operator<< easier to read.

parent 904d7f9c
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment