mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 18:13:34 +08:00
Weathervane: pass quaterionon as constant reference
Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
bool auto_enabled() { return _wv_auto_enabled.get(); }
|
||||
|
||||
void update(matrix::Quatf q_sp_prev, float yaw);
|
||||
void update(const matrix::Quatf &q_sp_prev, float yaw);
|
||||
|
||||
float get_weathervane_yawrate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user