The initial flight test of our geometric attitude controller compared to the standard quaternion based controller on the PX4 flight stack. Both controllers use the same position controller to determine the desired attitude (a 90degree rotation).
Plot showing the norm of the attitude error of the standard attitude controller performing a 90 degree rotation. The gains are well tuned as the error converges exponentially without any overshoot. The rotate command was sent at 36.24s. The controller took 1.23s to complete the rotation.
Plot showing the norm of the attitude error of the geometric attitude controller performing a 90 degree rotation. The convergence rate seems to be exponential, but there is overshoot and the quadrotor has to adjust once to correct it. The rotate command was sent at 35.07s. The controller took 0.76s to first reach the desired attitude before overshooting.
Plot showing the norm of the position error of the standard attitude controller performing a 90 degree rotation. The position error is larger than the geometric controller before the rotate command was sent at 36.24s. Note that the sudden increase in error is due to us landing the quadrotor.
Plot showing the norm of the position error of the geometric attitude controller performing a 90 degree rotation. The geometric controller seems to be more stable at holding the position than the standard controller. Note that the sudden increase in error is due to us landing the quadrotor.
Plot showing the control torque requirements for the geometric attitude controller as it performs a 90 degree rotation. The solid lines indicates the desired torques along the roll, pitch, and yaw axes, while the dashed lines indicates the hardware/software limits.
Plot showing the feasible gain pairs that will guarantee exponential convergence with some minimum convergence rate.
The desired control torque for the geometric attitude controller performing a 90 degree rotation with gains k_d = 1.4, k_v = 2.5. None of the control torque exceeds the maximum bounds. In fact, the gains can be increased for faster convergence
The norm of the attitude error now convergences exponentially with no overshoot for the geometric controller with gains k_d = 1.4, k_v = 2.5. However with the weaker controller, the attitude converges in about 3s.