+ /* Trim velocity
+ *
+ * Once a second, remove any velocity from
+ * a second ago
+ */
+ if ((int16_t) (ao_flight_tick - ao_old_vel_tick) >= AO_SEC_TO_TICKS(1)) {
+ ao_old_vel_tick = ao_flight_tick;
+ ao_flight_vel -= ao_old_vel;
+ ao_old_vel = ao_flight_vel;
+ }