Skip to content
Snippets Groups Projects
Commit 9d424968 authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[c++] se3::Model has member njoints instead of njoint

parent 0dfe6e08
No related branches found
No related tags found
No related merge requests found
......@@ -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->njoints; 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]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment