mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 04:51:36 +08:00
Refactor velocity reset (#788)
* Refactor velocity reset * Add unit tests for velocity resets * Expand updates to vertical buffer to velocity resets outside of resetHeight * Improve matrix library usage * Improve naming of vertical output samples * Fix update of output_vert_new during reset * Improve naming of vertical output samples 2
This commit is contained in:
+2
-2
@@ -81,8 +81,8 @@ struct outputSample {
|
||||
};
|
||||
|
||||
struct outputVert {
|
||||
float vel_d; ///< D velocity calculated using alternative algorithm (m/sec)
|
||||
float vel_d_integ; ///< Integral of vel_d (m)
|
||||
float vert_vel; ///< Vertical velocity calculated using alternative algorithm (m/sec)
|
||||
float vert_vel_integ; ///< Integral of vertical velocity (m)
|
||||
float dt; ///< delta time (sec)
|
||||
uint64_t time_us; ///< timestamp of the measurement (uSec)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user