Why is this UAV project Arduino based?

.. as far as I can see it would be easier on most or all respects to develop if it were just plain C++.

Especially since the new HAL layer replaces (and needs to defeat) the final Arduino abstractions still used.

Is it because of the bootloader and the programmer device free firmware upload that Arduino is used?

Regards

Soren

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Hi Soren,

    The remaining pieces of Arduino-like structure are there to make it possible for people to use the arduino build environment, which provides an easy starting point for people getting into the project. It is also to give a reasonably smooth transition from earlier versions of the code which was more tightly tied to Arduino.

    I've recently pushed some changes to git master which now allow some of our build targets (such as SITL and PX4) to build without having the arduino toolchain installed at all. On the AVR based APM1 and APM2 we still use some Arduino header files, but we don't use any of the library functions.

    Cheers, Tridge

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…