Wonseok Kwak

Update : IMU Serial logging 및 monitoring을 위한 소스

......@@ -18,7 +18,7 @@ def main():
drone.pair()
# print the acceleration of drone
while 1:
while drone.isConnected():
normal_x = 0
normal_y = 0
normal_z = 0
......@@ -81,7 +81,7 @@ def main():
deltha_z[0] = abs(deltha_z[1]-deltha_z[2])
deltha = deltha_x[0] + deltha_y[0] + deltha_z[0]
print("AcX : ", deltha_x[0], "AcY : ", deltha_y[0], "AcZ : ", deltha_z[0], "Total : ", deltha)
drone.close()
if __name__ == '__main__':
main()
......