The PICPilot is our former custom autopilot board, designed to control all aspects of our aircraft. The design allowed for us to incorporate multi-path algorithm support, circuit-wide timing sync, low latency communications, and seamless camera integration. Not to mention the spotless hand soldering.
PICPilot's autopilot system was designed to control all aspects of most vehicles. The autopilot system is split into two separate subsystems: An Attitude Manager and a Path Manager.
The Attitude Manager’s primary task is to track and maintain the rotational position of the aircraft in 3D space. This includes pitch, roll, and yaw, as well as the pitch rate, roll rate, and yaw rate of the aircraft. The Attitude Manager does so via a series of tuned control loops integrated with sensor feedback. Additionally, the Attitude Manager is responsible for managing communications between Ground Control and the aircraft. This subsystem has controlled many WARG vehicles, including quadcopters, planes, and cars.
The Path Manager is responsible for maintaining the course of the aircraft. It provides course corrections in the form of altitude and heading changes. The Path Manager maintains a list of “checkpoints” or waypoints through which the vehicle must fly through, guiding the aircraft from one checkpoint to another through feedback from the GPS. The Path Manager has been optimized for aerial reconnaissance and mapping.
These two subsystems have their own dedicated microcontroller. The Attitude Manager and the Path Manager both use the Microchip dsPIC33FJ256GP710A. Each processor runs at 80 MHz and has support for multiple UART, SPI, I2C, and PWM interfaces.
Github Link: Here
Download Link: Here
Instructions to compile: Here