Acro Mode
Acro mode (Rate mode) uses the RC sticks to control the angular velocity of the copter. Release the sticks and the vehicle will not return to level. Acro mode is useful for aerobatics such as flips or rolls, or FPV when smooth and fast control is desired.And for that we have written the program below.
// Do not remove the include below
#include "PlutoPilot.h"
#include "User.h"
#include "Utils.h"
//The setup function is called once at Pluto's hardware startup
void plutoInit()
{
// Add your hardware initialization code here
}
//The function is called once before plutoLoop when you activate Developer Mode
void onLoopStart()
{
// do your one time stuff here
}
// The loop function is called in an endless loop
void plutoLoop()
{
FlightMode.set(RATE);
//Add your repeated code here
}
//The function is called once after plutoLoop when you deactivate Developer Mode
void onLoopFinish()
{
LED.flightStatus(ACTIVATE);
// do your cleanup stuffs here
}
Last updated
Was this helpful?