How to improve stabilization algorithm
Posted: Mon Jul 08, 2013 3:18 pm
As reported, the stabilization algorithm has sometimes difficulty to recover especially in aggressive maneuvers. The current stabilization algorithm consists of a P-only on the gyro values with a target equal to the output of a PI on the integrated Euler angles derived from quaternion and computed only every other iteration. I'm a little bit confused by such algorithm.
First, is it a consequence of processor speed limitation or is it an intentional choice to do only every other iteration for the Euler angles?
Secondly, wouldn't it be more efficient to do a full PID on the Euler angles at each iteration? Note that a D on the Euler angles is actually a P on the gyro values.
First, is it a consequence of processor speed limitation or is it an intentional choice to do only every other iteration for the Euler angles?
Secondly, wouldn't it be more efficient to do a full PID on the Euler angles at each iteration? Note that a D on the Euler angles is actually a P on the gyro values.