46 #include <matrix/matrix/math.hpp> 55 void activate() {_is_active =
true;}
57 void deactivate() {_is_active =
false;}
59 bool is_active() {
return _is_active;}
61 bool weathervane_enabled() {
return _param_wv_en.get(); }
63 void update(
const matrix::Quatf &q_sp_prev,
float yaw);
65 float get_weathervane_yawrate();
70 matrix::Dcmf _R_sp_prev;
73 bool _is_active =
true;
76 (ParamBool<px4::params::WV_EN>) _param_wv_en,
Definition: WeatherVane.hpp:48
Definition: px4_param.h:318
C++ base class for modules/classes using configuration parameters.
Definition: px4_module_params.h:46
virtual void updateParams()
Call this method whenever the module gets a parameter change notification.
Definition: px4_module_params.h:79