Slashdot Mirror


Quadcopter Drone Packs First All-Linux Autopilot

DeviceGuru writes: Erle Robotics has launched what is claimed to be the first drone to run both a Pixhawk APM autopilot and ROS directly on Linux. Over the last year Erle Robotics and 3DRobotics have collaborated on developing an open source, all-Linux BeagleBone Black-based autopilot for drones using the popular 3DR APM architecture, but without using Nuttx RTOS for the real-time bits. In addition to being used on a new 'Erle-copter' quadcopter drone, the new all-Linux 'Erle-brain' APM will ship in both a two-winged UAV and a four-wheeled robotic vehicle, due next spring.

31 comments

  1. Many hobby drones already run on Linux by stephanruby · · Score: 1

    Many drone auto-pilots already run on embedded Linux.

    The AR Drone 2.0 (which is quite old already) runs on Linux 2.6.32 for instance.

    1. Re:Many hobby drones already run on Linux by Anonymous Coward · · Score: 0

      There're many drones running Linux. The AR Drone is not even close to be the first one. Erle-brain represents the first Linux autopilot "running APM".

  2. Misleading by Squash · · Score: 1

    The Linux OS is not running the flight controller, it has a flight controller (Arduino-based) plugged into it. Seriously, who approves this nonsense?

    --
    Squash
    1. Re:Misleading by Anonymous Coward · · Score: 0

      Squash you should do a bit of research before speaking nonsense. The autopilot run in Linux itself. There's research behind it https://github.com/beaglepilot/beaglepilot and a whole community supporting it.

  3. When that thing causes an air disaster ... by Taco+Cowboy · · Score: 2

    If a drone running Linux causes a crash of a passenger plane the whole world around newspapers would carry " Linux crashes an air disaster " as their headlines

    --
    Muchas Gracias, Señor Edward Snowden !
    1. Re:When that thing causes an air disaster ... by thegarbz · · Score: 1

      If a drone running Linux causes a crash of a passenger plane the whole world around newspapers would carry " Linux crashes an air disaster " as their headlines

      More than likely the plane will go down and no one will be able to identify the drone or the pilot much less care what controller it had and if it ran Linux or not.

    2. Re:When that thing causes an air disaster ... by Anonymous Coward · · Score: 0

      More than likely the plane will go down and no one will be able to identify the drone or the pilot much less care what controller it had and if it ran Linux or not.

      I think they're crowdsourcing the piloting duties.

      With enough eyes, all approaches are shallow.

    3. Re:When that thing causes an air disaster ... by Anonymous Coward · · Score: 0

      This is widely discussed already at DIYDrones. Refer to http://diydrones.com/profiles/blogs/erle-brain-an-open-hardware-linux-autopilot?id=705844%3ABlogPost%3A1863551&page=6#comments for more. Short answer, it should not be that way if the system work the way they say it does.

  4. And why would I care? by thegarbz · · Score: 1

    There are several other open source projects out there for autopilot and flight control. Why should I care that this runs Linux? What benefits does Linux bring to the table?

    From what I can tell from TFA the only feature this brings to the table is that it's slow enough to require an entire ARM based board instead of the dirt cheap AVRs that are from what I can tell equally capable on the software level and are used in other platforms.

    Is this just Linux for Linux sake?

    1. Re:And why would I care? by drinkypoo · · Score: 1

      From what I can tell from TFA

      You needed to dig down one more link from TFA, and read TFA linked from TFA, which says "(Incidentally, the acronym âoeAPMâ comes from âoeArduPilot Mega. âoeIt was originally based on the Arduino Mega, back in the day, and the initials stuck,â wrote 3D Robotics CEO Chris Anderson in an email to LinuxGizmos.)" That puts (from TFA, not TFA^2) "3DRâ(TM)s popular, Arduino-based APM (ArduPilot Mega) platform" in a different light.

      Unfortunately, I haven't been able to get any good pictures of the flip side of the Pixhawk Fire, mostly it's crap like which just underscores the stupidity of using flash while shooting electronics, or at damned near any other time. So I can't actually tell what's on there. It's possible that there's not actually an AVR on that board, but then, it's possible that there is :p

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  5. Source code? by Midnight+Thunder · · Score: 1

    It runs Linux, but is the controller code open source? I couldn't find any links to the source code and without it, whether it runs Linux or something else becomes irrelevant. If anyone finds the link, please share it.

    --
    Jumpstart the tartan drive.
    1. Re:Source code? by Midnight+Thunder · · Score: 3, Informative

      Found it. For anyone else interested: https://github.com/erlerobot

      --
      Jumpstart the tartan drive.
  6. Yeh its real old! by Anonymous Coward · · Score: 0

    Us AR Drone owners are *still* waiting for Directors mode to be released for Android.

    http://ardrone2.parrot.com/apps/director-mode/

    So yeh, it is real old, yet I've yet to use the GPS module in it because Parrot never finished the software, and probably never will now that they've long moved onto new models.

    POS, I'll never buy another Parrot product again.

  7. Mislead by samson13 · · Score: 2

    The Linux OS is not running the flight controller, it has a flight controller (Arduino-based) plugged into it. Seriously, who approves this nonsense?

    The flight controller is running under linux. It is just a standard linux process.

    From what I've seen (crawing throught he source tree), the fire cape basically provides lots of sensors running on SPI (and maybe I2C), bus protection/voltage conversion for lots of UARTS, PWM,etc as well as maybe voltage regulators. The only part of this that is sort handled out of under linux is the use of the BBB's PRUs to handle some of the extra PWM requirements in software since the BBB doesn't really have enough in hardware for most projects and linux can't do the hard real time reliably enough to keep servos free of jitter using GPIOs.

    The project is using the APM hardware abstraction layer which makes porting to different architectures "relatively" easy. APM was originally written for the Arduino but has moved on since then.

    1. Re:Mislead by Anonymous Coward · · Score: 0

      Also there is little need for hard-realtime in this case. An update rate of 50Hz is more than enough for stability for all but the smallest platforms.

    2. Re:Mislead by tristes_tigres · · Score: 1

      Wrong wrong wrong. Distinction between hard and soft realtime is not the minimum latency, it's about guaranteeing the latency. Linux provides no such guarantee and is inappropriate for the job.

    3. Re:Mislead by BennyB2k4 · · Score: 1

      That's not necessarily true either. A scheduling analysis could be performed to determine the real-time capabilities of the system. A simple stability program running on a massively overpowered linux system could be proven to guarantee scheduling at a low update rate. It's just not an efficient real-time system.

    4. Re:Mislead by tristes_tigres · · Score: 1

      Maybe so, but they are selling it with claims that more powerful linux board may be used to additional things like robotic vision while running autpilot at the same time/

    5. Re:Mislead by Anonymous Coward · · Score: 0

      Current commercial autopilots based in microcontrollers assume soft realtime (the scheduler does not always meet the maximum latencies). The fact that it's now ported to Linux will allow a bigger community to jump in and develop on top.

  8. Re:Joke by Anonymous Coward · · Score: 0

    So... elevators?

  9. What flavor of Linux by Curunir_wolf · · Score: 1

    And does it use systemd?

    --
    "Somebody has to do something. It's just incredibly pathetic it has to be us."
    --- Jerry Garcia
    1. Re:What flavor of Linux by Anonymous Coward · · Score: 0

      Debian, so yeah, it could conceivably run systemd and Gnome. So you could give your inflatable autopilot a full GUI desktop.

      https://www.google.ae/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http%3A%2F%2Fwww.wings900.com%2Fvb%2Fgeneral-squawk-talk%2F29551-air-hostesses-111.html&ei=9KGZVPyGIoWYPPqdgNgN&bvm=bv.82001339,d.ZWU&psig=AFQjCNGi3L7tc418uc2cr1XlcHKh8bvccg&ust=1419441028155376

  10. Linux Odyssey 2001 by sinij · · Score: 2

    I am sorry Dave, I cannot open the door because there is a driver issue with the device.

  11. They tried Windows first, but... by Anonymous Coward · · Score: 0

    The drone got stuck in a loop and finally crashed.

  12. Clarifying quotation by __aajbyc7391 · · Score: 1

    From the full article, but with added bolding:

    ...The Linux port of APM involved compiling the Linux kernel with some options that make it “pseudo-real time,” wrote Mayoral Vilches. “It responds nicely to the higher priority threads that APM launches,” he added. “The fact that the APM autopilot runs in Linux means that we can now have flying computers with a state-of-the-art software autopilot that are easier than ever to use. The big community of Linux experts can now jump into creating practical applications with their flying computers easier, without the need of interacting with a highly complicated system such as NuttX-based autopilots.”...

    Víctor Mayoral Vilches is CTO and co-founder of Erle Robotics.

  13. Microsoft announces Windows Drone beta by Anonymous Coward · · Score: 0

    After intensive development, and rebounding from the unfortunate deaths of three of their executives during a demo in September, Microsoft today announced the availability of Windows Drone 3.1 beta. Asked about the development team wearing helmets during the work day, and if it was a result of Microsoft's policy of "eating their own dog food", development lead Bindar Srinkavar said that it was for "maximum flexibility in choosing who will host the GoPro camera."

  14. Well, they did act like rapid transport... by Anonymous Coward · · Score: 0

    for anyone left in the WTC from the top floor to the ground floor....

    Too soon?

  15. Obligatory by ClickOnThis · · Score: 2

    Imagine a Beowulf cluster of these!

    [For some reason, I'm hearing Flight of the Valkyries right now...]

    --
    If it weren't for deadlines, nothing would be late.
    1. Re:Obligatory by Anonymous Coward · · Score: 0
    2. Re:Obligatory by ClickOnThis · · Score: 1

      The latter. Thanks for the improvement.

      --
      If it weren't for deadlines, nothing would be late.