About PX4 Autopilot
PX4 is an open source flight control software for drones and other unmanned vehicles.
What is PX4 Autopilot?
PX4 is an open source flight control software for drones and other unmanned vehicles. The project provides a flexible set of tools for drone developers to share technologies to create tailored solutions for drone applications. PX4 provides a standard to deliver drone hardware support and software stack, allowing an ecosystem to build and maintain hardware and software in a scalable way.
PX4 is part of Dronecode, a non-profit organization administered by Linux Foundation to foster the use of open source software on flying vehicles. Dronecode also hosts QGroundControl, MAVLink & the SDK. -- PX4 website
PX4 Autopilot for UCANS32K146 is build on top of NuttX. Therefore, most of the information in the "Apache NuttX" section also applies to PX4! Besides flight control and autopilot software, it also contains additional tools, drivers and middleware.
Why use PX4 Autopilot on UCANS32K146?
The UCAN board is not an Autopilot, so why consider using PX4 on it? There are a number of reasons for this:
Building a PX4 distributed architecture. The same peripheral drivers running on an FMU can be reused here on the UCAN board, with only the CAN bus (UAVCAN) separating them. This means a common codebase is developed and used for something like a sensor or actuator.
PX4 carefully maintains and updates their branch of NuttX, and regularly backports to mainstream NuttX. This means PX4/Nuttx is more stable and there are minimal "surprises" due to untested code making it's way into the OS.
PX4 includes and tests additional tools and methods within their distribution. i.e 'top'
Connection with the PX4.io community ecosystem through slack, discourse and regular standards bodies meetings.
PX4 support for UCANS32K146
The PX4 development team provides basic support for UCANS32K146. A board configuration is available from which a binary can easily be build. Because PX4 is build on top of NuttX, it supports most of the features that were enabled in the NuttX build for UCANS32K146.
There are some additional features offered by PX4:
PWM generation
Most PX4 drivers and modules can be enabled
There is currently no driver support in PX4 or NuttX for the NXP EdgeLock SE050 secure element.
Documentation and getting help
Documentation for PX4 is available on their website:
PX4 Autopilot is originally a drone flight control stack, therefore most of the documentation is focused on using PX4 on flight management units. Not all features may be directly available on UCANS32K146, though you can potentially enable all modules in the source code.
Issues can be reported on the PX4 GitHub. There are various support channels available where you can ask questions and discuss your ideas.
Last updated