mirror of
https://github.com/apirrone/Open_Duck_Mini_Runtime.git
synced 2025-09-02 11:13:55 +00:00
raw imu
This commit is contained in:
parent
cb2fa40aff
commit
7725fd45d0
1 changed files with 4 additions and 1 deletions
|
@ -124,7 +124,10 @@ class RLWalk:
|
|||
|
||||
def get_obs(self):
|
||||
|
||||
imu_data = self.imu.get_data(as_mat=True)
|
||||
|
||||
# imu_data = self.imu.get_data(as_mat=True)
|
||||
# raw
|
||||
imu_data = self.imu.get_data()
|
||||
if imu_data is None:
|
||||
print("IMU data is None, skipping observation retrieval")
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue