-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the GUI pop-up #8
Comments
It looks like the Cognifly object cannot reach the CogniflyController object running on the raspberry pi via your local network. |
I will try on a more permissible network then. |
Hi @yannbouteiller, I have tried running the code on another network and I ran the code on a pi 5 but both of these solutions failed. Also I tried with the IP address of the drone, but this did not resolve the issue. |
Mmh, first, can you successfully ping the raspberry pi from your machine ? Also, is the If you manually instantiate a |
Ah I see, yes, the script is not running properly on the pi. Probably it is trying to communicate with the FC and waiting for an answer. |
Hi,
I did the raspberry readme. everything works well. Now the GUI does not pop-up.
I ran this code on my window 11 computer
when I interrupt the program it gives me this response.
Traceback (most recent call last):
File "C:\Users\jonfe\Documents\DRONE\cognifly\test.py", line 5, in
cf = Cognifly(drone_hostname="cognifly.local")
File "C:\Users\jonfe\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\cognifly\cognifly_remote\cognifly_remote.py", line 211, in init
self.reset()
File "C:\Users\jonfe\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\cognifly\cognifly_remote\cognifly_remote.py", line 417, in reset
time.sleep(sleep_duration)
How could I resolve the issue?
The text was updated successfully, but these errors were encountered: