Jump to content

Yea, I see nothing wrong with this Using a pi as a flight controler What could go wrong?


G+_610GARAGE
 Share

Recommended Posts

Yea, I see nothing wrong with this. Using a pi as a flight controler. What could go wrong?.......

 

Its an interesting idea, but I would not use a general purpose operating system for a flight controller. Too much of a chance that it could lock up.

 

To be fair, I am assuming that it is using linux. They could have built a dedicated os. But I couldn't find anything about the os from my quick look.

http://hackaday.com/2016/02/16/a-quadcopter-controlled-by-a-pi-zero/

Link to comment
Share on other sites

Dan Hockey Yea, that's the problem. Raspbian uses threading. Threads can lock up. A standard flight controller doesn't really use an os. It's like an arduino. It executes code on a loop, barring any interrupts.

 

Also, a lack of threads makes programing WAY simpler. Which makes the the code easier to test; easier to debug and overall, makes for sturdier code.

Link to comment
Share on other sites

Dan Hockey Yea, that would have been nice. Having an avr onboard to maintain level and the pi to control it would be great. Than if the pi stalls out, it could be rebooted by the avr and the avr can maintain level.

 

There was a company doing something similar, though not with a pi.

Link to comment
Share on other sites

Wayne Hobbins The nerd appeal of having a pi in your quadcopter? This seems like overkill for %99 of the drones out there. Evan photograph/videography drones. That said, there may be more complicated sensors that this would allow for. Which would be interesting. 

 

Ben Reese That's what I would hope. Unfortunately, they don't have schematics up yet. They also didn't say that there was a flight controller onboard. Maby it was an oversight.

 

http://erlerobotics.com/docs/Artificial_Brains_and_Autopilots/Autopilot_shields/PXFmini/Intro.html

Link to comment
Share on other sites

 Share

×
×
  • Create New...