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

[locomotion][centroidal_utils] fix bug where the timestep of dmodel is not being set

parent 42685053
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,7 @@ def createMultiphaseShootingProblem(rmodel, rdata, patch_name_map, cs, phi_c, ee ...@@ -190,7 +190,7 @@ def createMultiphaseShootingProblem(rmodel, rdata, patch_name_map, cs, phi_c, ee
dmodel = DifferentialActionModelFloatingInContact(rmodel, actuationff, dmodel = DifferentialActionModelFloatingInContact(rmodel, actuationff,
contact_model, cost_model) contact_model, cost_model)
imodel = IntegratedActionModelEuler(dmodel) imodel = IntegratedActionModelEuler(dmodel, timeStep=dt)
problem_models.append(imodel) problem_models.append(imodel)
#for the last model of the phase, add velocity cost on swing limbs. #for the last model of the phase, add velocity cost on swing limbs.
......
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