mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 11:40:28 +08:00
lib/wind_estimator: pass q_att as const reference
This commit is contained in:
1 parent
4cbee44220
commit
2fb82789fe
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@
|
||||
|
||||
bool
|
||||
WindEstimator::initialise(const matrix::Vector3f &velI, const matrix::Vector2f &velIvar, const float tas_meas,
|
||||
const matrix::Quatf q_att)
|
||||
const matrix::Quatf &q_att)
|
||||
{
|
||||
// do no initialise if ground velocity is low
|
||||
// this should prevent the filter from initialising on the ground
|
||||
|
||||
@@ -124,7 +124,7 @@ private:
|
||||
|
||||
// initialise state and state covariance matrix
|
||||
bool initialise(const matrix::Vector3f &velI, const matrix::Vector2f &velIvar, const float tas_meas,
|
||||
const matrix::Quatf q_att);
|
||||
const matrix::Quatf &q_att);
|
||||
|
||||
void run_sanity_checks();
|
||||
};
|
||||
Reference in new issue
Block a user