Documentation
Pluto-IDE & MagisV2 SDK
Pluto-IDE & MagisV2 API Reference
PlutoPilot
Code with Pluto-IDE
Pluto-IDE is the professional development environment required to build, flash, and monitor firmware using the MagisV2 library on Pluto Drones.
PlutoPilot.h
Main system interface for MagisV2 flight controller initialization and loop management.
Functions
void plutoRxConfig(void)
Configures receiver settings and communication protocols.
void plutoInit(void)
Main system initialization function called once at startup.
void onLoopStart(void)
Called at the beginning of each control loop iteration.
void plutoLoop(void)
Main control loop containing primary flight control logic.
void onLoopFinish(void)
Called at the end of each control loop iteration.
Usage Example
#include "API/PlutoPilot.h"
void plutoRxConfig() {
Receiver_Mode(Rx_ESP);
Receiver_Config_Arm(Rx_AUX1, 1300, 1700);
}
void plutoInit() {
// Initialize sensors and peripherals
Oled_Init();
XRanging.init();
}
void plutoLoop() {
if (FlightStatus_Check(FS_ARMED)) {
Command_TakeOff(150);
}
}
