Skip to content
Snippets Groups Projects
Commit 74012a3b authored by odri's avatar odri
Browse files

Forgot line that set value to Ngait

parent c9d4f143
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ def init_robot(q_init, params):
shoulders_init[:, i] = solo.data.oMf[indexes[i]].translation
# Saving data
params.N_gait = int(5 + params.T_mpc / params.dt_mpc)
params.h_ref = h_init
params.mass = solo.data.mass[0] # Mass of the whole urdf model (also = to Ycrb[1].mass)
params.I_mat = solo.data.Ycrb[1].inertia.ravel().tolist() # Composite rigid body inertia in q_init position
......
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