Currently i’m using Raspberry Pi Zero W as my controller, and install Olympe based on this article
Build run succesfully, and installation is OK.
But when i run this User guide - 7.7, i have an error like this:
2022-04-25 17:22:07,389 [INFO] olympe.backend - _create_pomp_loop - Creating pomp loop
2022-04-25 17:22:07,402 [INFO] olympe.backend - _do_create - device callbacks have been added to arsdk_ctrl
2022-04-25 17:22:07,411 [INFO] olympe.backend - create_timer - Creating pomp timer
2022-04-25 17:22:07,417 [INFO] olympe.scheduler - _create_pomp_loop - Creating pomp loop
2022-04-25 17:22:10,978 [INFO] olympe.backend - create_timer - Creating pomp timer
2022-04-25 17:22:11,008 [INFO] olympe.backend - _device_added_cb - New device has been detected: 'ANAFI-L122635'
2022-04-25 17:22:11,030 [INFO] olympe.drone - _connecting_cb - Connecting to device: ANAFI-L122635
2022-04-25 17:22:11,037 [INFO] olympe.drone - _connection_impl - Connection in progress...
2022-04-25 17:22:11,062 [INFO] olympe.drone.ANAFI-L122635 - _connected_cb - Connected to device: ANAFI-L122635
2022-04-25 17:22:11,080 [INFO] olympe.drone.ANAFI-L122635 - _connected_cb - {'json': {'c2d_port': 2233,
'c2d_update_port': 51,
'c2d_user_port': 21,
'proto_v': 1,
'qos_mode': 0,
'status': 0}}
2022-04-25 17:22:11,096 [INFO] olympe.media.ANAFI-L122635 - _create_pomp_loop - Creating pomp loop
2022-04-25 17:22:11,113 [ERROR] olympe.drone.ANAFI-L122635 - __call__ - Unhandled exception
Traceback (most recent call last):
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/_private/__init__.py", line 104, in __call__
return self.func(*args, **kwargs)
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/arsdkng/drone.py", line 257, in _connected_cb
self._media = Media(
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/media.py", line 1257, in __init__
self._scheduler.decorate(
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/arsdkng/expectations.py", line 371, in decorate
self._decorated.__class__ = type(
TypeError: __class__ assignment: 'MediaScheduler' object layout differs from 'DefaultScheduler'
2022-04-25 17:22:16,017 [ERROR] olympe.drone.ANAFI-L122635 - connect - connection time out for device: b'192.168.42.1'
2022-04-25 17:22:16,039 [ERROR] olympe.drone.ANAFI-L122635 - __call__ - Unhandled exception
Traceback (most recent call last):
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/_private/__init__.py", line 104, in __call__
return self.func(*args, **kwargs)
File "/home/pi/code/parrot-groundsdk/packages/olympe/src/olympe/arsdkng/drone.py", line 608, in _send_command_impl
raise RuntimeError("[sendcmd] Error cmd interface seems to be destroyed")
RuntimeError: [sendcmd] Error cmd interface seems to be destroyed
2022-04-25 17:22:16,062 [INFO] olympe.drone.ANAFI-L122635 - _disconnected_cb - Disconnected from device: ANAFI-L122635
Traceback (most recent call last):
File "/home/pi/ta/test-takeoff.py", line 19, in <module>
test_takeoff()
File "/home/pi/ta/test-takeoff.py", line 12, in test_takeoff
assert drone(TakeOff()).wait().success()
AssertionError
2022-04-25 17:22:16,172 [INFO] olympe.scheduler - _destroy_pomp_loop - Pomp loop has been destroyed
2022-04-25 17:22:16,178 [INFO] olympe.backend - _destroy - Manager has been destroyed
2022-04-25 17:22:16,190 [INFO] olympe.backend - destroy_timer - Pomp loop timer has been destroyed
2022-04-25 17:22:16,197 [INFO] olympe.backend - destroy_timer - Pomp loop timer has been destroyed
2022-04-25 17:22:16,204 [INFO] olympe.backend - _destroy_pomp_loop - Pomp loop has been destroyed
Anyone can help please? Thank you