mirror of
https://github.com/apirrone/Open_Duck_Mini_Runtime.git
synced 2025-09-02 11:13:55 +00:00
update
This commit is contained in:
parent
992a093223
commit
47486650fc
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class RLWalk:
|
|||
if imu_data is None:
|
||||
print("IMU data is None, skipping observation retrieval")
|
||||
return None
|
||||
gravity = imu_data["orientation"] @ np.array([0, 0, -1])
|
||||
gravity = np.array(imu_data["orientation"]).reshape((3, 3)).T @ np.array([0, 0, -1])
|
||||
gyro = imu_data["gyro"]
|
||||
|
||||
dof_pos = self.hwi.get_present_positions(
|
||||
|
|
Loading…
Reference in a new issue