ArduPilot vs PX4 programming

Hello! I'm an IT student and I've been programming for years. However I am a total newbie when it comes to drones.

I'm interested in developing simple onboard applications.

What it is easier/higher level/better documented/updated software?

I mean, should I write programs directly for PX4, thus for NuttX? (i.e. http://pixhawk.org/dev/start )

Or should I edit ArduPilot code? (i.e. http://dev.ardupilot.com )

Furthermore, does ArduPilot (or its abstraction layer) relies on PX4 code in some way (e.g. middleware, NuttX)?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hello Socrates,

    1. In my Oppinion: The PX4 stack by far.

    2. I cannot comment on that... Also, well this really depends on how you integrate Python code. Do you want to send it via telemetry? Are you looking into a companion Computer?

    Best Phil

    Socrates Ponnusamy said:

    Philip

    We are working on a project to program the drone to fly around and scan the barcodes from the boxes stacked in racks. I have couple of questions.

    1. Which is easy to program? PX4 or pixhawk and in what language?

    2.  I have a X8 and is it to big to fly it indoor? can I control X8 to do fine movements using python?

    Thanks for your help.

    Socrates


  • Hello Marco,

    no, I dont know any other resources...

    Phil
    Marco Colli said:

    Thanks! I'm not planning any big project, only experiments in my free time (e.g. simple DIY programmed autonomous flights).

    Do you know any useful resource for getting started with PX4/NuttX (besides the official website)?

  • Hi Philippe,

    I am working on my thesis project. The goal is to develop a follow algorithm for the Pixhawk to follow a car. I am new to PX4 programming. After a little research I found that 'follow_target' has been implemented in /modules/navigator/ . I am not sure on how to go ahead.... Should I modify follow_target file or I need to make my changes in the px4_simple_app.

    Any help regarding this is highly appreciated.



    Philippe Petit said:

    Hi,

    I am unsure what you want to develop, however I wrote some code for the PX4 over NuttX and found it very convenient. The advantage is that you do not have to interfere in the code which is already set up, but rather you create you own app which runs in parallel. Therefore integrating your software is pretty easy. The documentation is only medium, however the IRC group and the exisitng code plus the website which you listed in your poste makes it Okayish to start. If you already developped code before it should be no problem.

    What do you want to do? Or what are you planning to do?

    phil

  • Hi,

    I am unsure what you want to develop, however I wrote some code for the PX4 over NuttX and found it very convenient. The advantage is that you do not have to interfere in the code which is already set up, but rather you create you own app which runs in parallel. Therefore integrating your software is pretty easy. The documentation is only medium, however the IRC group and the exisitng code plus the website which you listed in your poste makes it Okayish to start. If you already developped code before it should be no problem.

    What do you want to do? Or what are you planning to do?

    phil

    • Philip

      We are working on a project to program the drone to fly around and scan the barcodes from the boxes stacked in racks. I have couple of questions.

      1. Which is easy to program? PX4 or pixhawk and in what language?

      2.  I have a X8 and is it to big to fly it indoor? can I control X8 to do fine movements using python?

      Thanks for your help.

      Socrates

    • Thanks! I'm not planning any big project, only experiments in my free time (e.g. simple DIY programmed autonomous flights).

      Do you know any useful resource for getting started with PX4/NuttX (besides the official website)?

This reply was deleted.

Activity

DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
18 hours ago
DIY Drones via Twitter
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
Friday
DIY Robocars via Twitter
Friday
DIY Drones via Twitter
Thursday
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Thursday
DIY Robocars via Twitter
Thursday
David Hori liked Isabella Domi's profile
Jan 12
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Jan 11
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
DIY Robocars via Twitter
Dec 23, 2020
More…