I have followed the course “How to build a Raspberry Pi Drone”. I can get my drone working (without propellers for now to be safe), with the python code. While testing (without props), I find that I cannot override the motors with my flysky transmitter. Before I test with props in the field (and with a tether string), I want to make sure I can override the autonomous code - what is the best way to do this? it’s not working for me. I turn on the drone, turn on my FlySky transmitter, do a manual test to control with the transmitter (works), then connect to my raspberry pi on a peer-to-peer connection (raspberry pi is broadcasting a wifi signal that I connect to with my phone), I connect over SSH to the raspberry pi and execute the python code. Motors start spinning (takeoff and land script), and I immediately try to takeover (as a test) with the transmitter. I am not able to override.
I’ve used ChatGPT to answer this, and the answer was that I had to reprogram the SwC switch on the transmitter to change the flight mode from STABALIZE to LOITER to GUIDED, and then update my python code to check for this while in flight. Is this the recommended way to ensure I will be able to override the drone with my manual transmitter?
Thanks
Philip Henderson