Skip to content
Snippets Groups Projects
Commit e0bf1e14 authored by Pierre-Alexandre Leziart's avatar Pierre-Alexandre Leziart
Browse files

Do not provide x, y, yaw of ideal world as goals for whole body control

parent c7f97d47
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ class Controller:
# Desired position, orientation and velocities of the base
if not self.gait.getIsStatic():
self.xgoals[[0, 1, 5], 0] = self.q_filt_mpc[[0, 1, 5], 0]
self.xgoals[[0, 1, 5], 0] = np.zeros((3,))
self.xgoals[2:5, 0] = [self.h_ref, 0.0, 0.0] # Height (in horizontal frame!)
else:
self.xgoals[2:5, 0] += self.vref_filt_mpc[2:5, 0] * self.dt_wbc
......
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