mirror of
https://github.com/apirrone/Open_Duck_Mini_Runtime.git
synced 2025-09-03 03:33:54 +00:00
update
This commit is contained in:
parent
0d71a47e31
commit
2ea34de1db
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ if __name__ == "__main__":
|
|||
# imu = Imu(50, upside_down=False)
|
||||
while True:
|
||||
data = imu.get_data(as_mat=True)
|
||||
if data is None:
|
||||
continue
|
||||
# print(data)
|
||||
# print("gyro", np.around(data["gyro"], 3))
|
||||
# print("orientation", np.around(data["orientation"], 3))
|
||||
|
|
Loading…
Reference in a new issue