Skip to content
Snippets Groups Projects
Commit 8688336d authored by Ale's avatar Ale
Browse files

improved tracking

parent ee9ffa69
No related branches found
No related tags found
No related merge requests found
Pipeline #20916 failed
......@@ -22,7 +22,7 @@ robot:
# q_init: [0.0, 0.764, -1.407, 0.0, 0.76407, -1.4, 0.0, 0.76407, -1.407, 0.0, 0.764, -1.407] # h_com = 0.218
q_init: [0.0, 0.7, -1.4, 0.0, 0.7, -1.4, 0.0, -0.7, 1.4, 0.0, -0.7, 1.4] # Initial articular positions
dt_wbc: 0.001 # Time step of the whole body control
dt_mpc: 0.001 # Time step of the model predictive control
dt_mpc: 0.015 # Time step of the model predictive control
type_MPC: 3 # Which MPC solver you want to use: 0 for OSQP MPC, 1, 2, 3 for Crocoddyl MPCs
save_guess: false # true to interpolate the impedance quantities between nodes of the MPC
interpolate_mpc: true # true to interpolate the impedance quantities between nodes of the MPC
......
......@@ -9,7 +9,7 @@ class problemDataAbstract:
self.dt_wbc = param.dt_wbc
self.mpc_wbc_ratio = int(self.dt / self.dt_wbc)
self.init_steps = 0
self.target_steps = 60
self.target_steps = 150
self.T = self.init_steps + self.target_steps - 1
self.robot = erd.load("solo12")
......
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