Would it be possible to send large sets of instructions to one or more drones using radio/MAVLink? Alternatively WIFI but I'm not sure if that's 200m + communication
I would try in raspi shell to enable the serial port by 1) sudo raspi-config then 2) select interface, 3) select serial, 4) no to "Would you like a login shell to be accessible over serial?" and yes to "Would you like the serial port hardware to be enabled?". Then reboot your pi. It is explained in more detail here ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html
Nope, the ArduPilot flight controller does a TON of things to manage the flight, reading data from GPS and IMU, filtering it through an Extended Kalman Filter, and using a PID loop to decide what to tell each motor. And of course the flight controller hardware also connects to the ESCs to control the motor speeds.
Thanks for the comment. I believe that it is possible to to tune your drone PIDs and filters with ardupilot however, I didn't change any of those settings.
I tried for a very long time but I couldn't get a guided flight mode or something similar to autonomous flight. It might be possible but I couldn't find a way.
It's a really good idea to know how to fly a drone on a gyro only, with your own muscle memory. Sensors fail, radio links drop, power spikes can crash or reset a SBC. Try to have as many fallback positions to fail as safely as you can. Take the props off if you're running bench tests, or put it in a net cage suspended with elastic cord if you're testing flight dynamics. Easy to build; get some shock cord, wood or pvc and zip ties. Don't forget that crashes with lithium batteries can immediately result in a white-hot waterproof fire, and if you get a flyaway it can go many miles away and start a huge brush fire or worse. Think ahead and don't cut corners. Also, you need a magnetometer, otherwise Ardupilot has no heading information for autopilot modes, and can lead to toiletbowling and fly-aways. You also can't program moves relative to the aircraft's position, you'll only be able to issue raw stick commands via code, which is extremely dangerous and unpredictable. Don't be afraid to test code on a boat or rover first; way less risky. Be safe bro, and don't ever forget that you're liable for all damages / injuries.
Did I miss something? "You also can't program moves relative to the aircraft's position, you'll only be able to issue raw stick commands via code, which is extremely dangerous and unpredictable" - why do you think this is true? As far as I know it's completely not true.
Would it be possible to send large sets of instructions to one or more drones using radio/MAVLink? Alternatively WIFI but I'm not sure if that's 200m + communication
Good info for those getting started
Thanks
Can you please upload step by step full tutorial of your drone how to make everything detailed video please ?!
hi ! i'm actually waiting for the parts to try to do the very same thing you do ))) don't stop !!!
Good luck!
Please always test with props off, so you don't loose your face if something goes wrong.
Hey, I followed same steps as you did but or some reason I got an error "permission denied:'/dev/serial0'". I tried to find solution but no luck
I would try in raspi shell to enable the serial port by 1) sudo raspi-config then 2) select interface, 3) select serial, 4) no to "Would you like a login shell to be accessible over serial?" and yes to "Would you like the serial port hardware to be enabled?". Then reboot your pi. It is explained in more detail here ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html
would't this be simpler just to send PWM to the flight controller inputs?
The way I did it was the recommended way per Ardupilot mavlink communication page. Thanks for the suggestion though.
Nope, the ArduPilot flight controller does a TON of things to manage the flight, reading data from GPS and IMU, filtering it through an Extended Kalman Filter, and using a PID loop to decide what to tell each motor. And of course the flight controller hardware also connects to the ESCs to control the motor speeds.
@@seanowens2 Its not about the flight controller but rather how to communicate with it. Regards,
Hi BigBrain, thanks for the video. Did you tune drone's PIDs and filters? Is it possible to do using Ardupilot?
Thanks for the comment. I believe that it is possible to to tune your drone PIDs and filters with ardupilot however, I didn't change any of those settings.
Is your flight controller speedybee f405 v3?
It's the v4 but the process is essentially the same.
Good video 👍
Keep it up
Thanks
hey! does this work for iNav?
I tried for a very long time but I couldn't get a guided flight mode or something similar to autonomous flight. It might be possible but I couldn't find a way.
I'm pretty sure iNav only supports oneway mavlink, i.e. sending telemetry to the ground, and does not support commanding the drone from the ground.
That is something I was thinking about as well. Let me know if you will create a github depository.
Sure. I'll let you know if I create one in another video. Thanks for the comment.
awesome)
Thanks
Hi! You can help me? I want connect analog camera to raspberry pi. Can you think how it's create? Pls don't ignore me. You is my last shans.
For simplicity, I recommend a raspberry pi with dedicated camera ports. Like raspberry pi 4.
Please give more details like which raspberry are you using or which camera in order to know if there is a solution
@@robsoft_gt i use paspberry pi zero 2 w and camera Caddx Ratel 2 V2 analog this camera is for fpv drone
It's a really good idea to know how to fly a drone on a gyro only, with your own muscle memory. Sensors fail, radio links drop, power spikes can crash or reset a SBC. Try to have as many fallback positions to fail as safely as you can. Take the props off if you're running bench tests, or put it in a net cage suspended with elastic cord if you're testing flight dynamics. Easy to build; get some shock cord, wood or pvc and zip ties. Don't forget that crashes with lithium batteries can immediately result in a white-hot waterproof fire, and if you get a flyaway it can go many miles away and start a huge brush fire or worse. Think ahead and don't cut corners. Also, you need a magnetometer, otherwise Ardupilot has no heading information for autopilot modes, and can lead to toiletbowling and fly-aways. You also can't program moves relative to the aircraft's position, you'll only be able to issue raw stick commands via code, which is extremely dangerous and unpredictable. Don't be afraid to test code on a boat or rover first; way less risky. Be safe bro, and don't ever forget that you're liable for all damages / injuries.
Do you know of any good instructions on how to make that cage?😅
Thank you for the insight. I appreciate it.
Did I miss something? "You also can't program moves relative to the aircraft's position, you'll only be able to issue raw stick commands via code, which is extremely dangerous and unpredictable" - why do you think this is true? As far as I know it's completely not true.