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

Tweak WBC feet rotation matrix to have them in horizontal frame

parent 26558501
No related branches found
No related tags found
No related merge requests found
......@@ -663,7 +663,7 @@ class Controller:
R = pin.rpy.rpyToMatrix(0.0, 0.0, self.q_filtered[5]).transpose()
else:
T = -oTh - np.array([0.0, 0.0, self.h_ref]).reshape((3, 1))
R = hRb @ oRh.transpose()
R = oRh.transpose()
self.feet_a_cmd = R @ self.footTrajectoryGenerator.get_foot_acceleration()
self.feet_v_cmd = R @ self.footTrajectoryGenerator.get_foot_velocity()
......
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