Open ELL4J4NE opened 5 years ago
you need to post your code and your OS so we can help more
Hi, I'm running Kali linux for raspberry pi and used the mambo claw demo code, thanks
Ok, so you are using the BLE protocol only and not wifi?
Yes, just BLE
Could you post the exact printouts from that script? I haven't run the BLE stuff in a long time but what I see says that the "asking for services" should also print success.
Yes, it prints that it has successfully connected but then fails to carry out any commands and eventually disconnects
Does it ever print any of the other printouts:
print("connected: %s" % success)
print("sleeping") mambo.smart_sleep(2) mambo.ask_for_state_update() mambo.smart_sleep(2)
print("taking off!") mambo.safe_takeoff(5)
print("open and close the claw") mambo.open_claw()
mambo.smart_sleep(5)
mambo.close_claw()
mambo.smart_sleep(5)
print("landing") mambo.safe_land(5) mambo.smart_sleep(5)
print("disconnect") mambo.disconnect()
No, nothing else is printed. It appears to get stuck at 'asking for services and characteristics' then eventually disconnects (nothing says this in the output, the headlights just go back to blinking)
Does it ever print this: "magic handshake to make the drone listen to our commandsandsensors"
No, it hasn't yet printed that
I am using a mambo drone and connecting using pyparrot. It successfully connects (full green headlights) then hangs on "asking for services and characteristics" and finally disconnects. I have no sleeps in the code and the same happens when I'm using the (BLE) sample code. Any idea what might be going wrong here?