Closed jsolderitsch closed 3 years ago
yeah, in python<3.8 apparently you need to call asyncio.get_child_watcher() before starting an event loop in a worker thread
The address already in use error is my fault - I changed the drone.start_video() method to automatically connect by default
Maybe I am doing something wrong but I am following the docs for the asyncio package. I see:
This is in a VM emulating a Raspberry Pi. Looks like the wifi check fails because of the separate threads? I don't know what address is already in use. The video UDP connection should not have been established before since this is the first time I am running the example.
On the Mac it's a very similar result:
Could I need to update the version of Python? -- in both cases, a version of Python 3.7 is in use.