Wonseok Kwak

IMU Serial logging 및 monitoring을 위한 소스

import CoDrone
def main():
drone = CoDrone.CoDrone()
drone.pair()
# print the acceleration of drone
while 1:
acceleration = drone.get_accelerometer()
print(acceleration.X, acceleration.Y, acceleration.Z)
if __name__ == '__main__':
main()