Hi,
I am trying to access the video stream of an ANAFI AI drone from Olympe by connecting through the skycontroller. I use the streamng.py example. The example works fine when I directly connect (in wifi) to the drone. When I use the skycontroller I chnage the ip adress to 192.168.53.1
. Olympe can connect to the drone but is fails when we try to start streaming.
Here is the error I get:
Olympe streaming example output dir: /tmp/olympe_streaming_test_4ggxtcxh
Traceback (most recent call last):
File "/home/thgral/workspace/drone/streaming.py", line 215, in <module>
test_streaming()
File "/home/thgral/workspace/drone/streaming.py", line 203, in test_streaming
streaming_example.start()
File "/home/thgral/workspace/drone/streaming.py", line 70, in start
self.drone.streaming.start()
File "/home/thgral/miniconda3/envs/drone9/lib/python3.9/site-packages/olympe/video/pdraw.py", line 1174, in start
return self.play(*args, **kwds)
File "/home/thgral/miniconda3/envs/drone9/lib/python3.9/site-packages/olympe/video/pdraw.py", line 1220, in play
return self.pdraw_thread_loop.run_async(
File "/home/thgral/miniconda3/envs/drone9/lib/python3.9/site-packages/olympe/concurrent/future.py", line 143, in result_or_cancel
return self.result(timeout=timeout)
File "/home/thgral/miniconda3/envs/drone9/lib/python3.9/concurrent/futures/_base.py", line 448, in result
raise TimeoutError()
concurrent.futures._base.TimeoutError
2023-06-28 15:40:59,100 [ERROR] olympe.pdraw.Skycontroller 4 - destroy - Pdraw.destroy() timedout
2023-06-28 15:40:59,103 [ERROR] ulog - pomp - fd=40, cb=0x7f34e3a12880 still in loop
2023-06-28 15:40:59,103 [ERROR] ulog - pomp - fd=41, cb=0x7f34e3a12880 still in loop
2023-06-28 15:40:59,103 [ERROR] olympe.backend - _destroy_pomp_loop - Error while destroying pomp loop: -16
Thank you in advance for your answers