Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Call rbdlModel_t::Init before building model.

  • Loading branch information...
commit 5186df5b3eb2bf841fd733db6bdc2442f1390832 1 parent 9c319d1
Antonio El Khoury authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/dynamic-robot.cc
View
7 src/dynamic-robot.cc
@@ -91,13 +91,14 @@ namespace ard
if (!buildJointVector (rootJoint_))
return false;
+ // Initialize rbdl model. This method is called before building
+ // the model.
+ rbdlModel_.Init ();
+
// Build rbdl model.
if (!buildRbdlModel ())
return false;
- // Initialize rbdl model.
- rbdlModel_.Init ();
-
return true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.