Skip to content
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

Drone Reconnecting bug #3

Closed
Djsurry opened this issue Mar 17, 2018 · 3 comments
Closed

Drone Reconnecting bug #3

Djsurry opened this issue Mar 17, 2018 · 3 comments

Comments

@Djsurry
Copy link

Djsurry commented Mar 17, 2018

So I am working on a voice-activated drone. the general gist of my code is that I use my mac to access the google speech api for voice recognition, then i use flask and requests to send the commands over to my rpi which controls the drone. Connecting at first is fine, but then when I give the command to take-off, i get the following error messages:
reconnecting to wait
trying to re-connect to the mambo at address 'my addr'
retrying connections
trying to re-connect to the mambo at address 'my addr'
It keeps doing that so my command to take off doesn't work. Any help would be appreciated!

@amymcgovern
Copy link
Owner

Are you using BLE? Or wifi? If you are using wifi, I don't see how your network is working. Presumably your Mac needs internet for voice and then you send to the RPI but the RPI needs to be on the mambo wifi to talk to it over wifi.

@amymcgovern
Copy link
Owner

And if you are using BLE, when you need a real address. 'my addr' isn't valid. It needs to be a hex string found by findMambo.py

@amymcgovern
Copy link
Owner

Also, you need to be using the pyparrot package. This one is no longer maintained.
https://github.com/amymcgovern/pyparrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants