diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-25 11:50:41 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-25 11:50:41 +0100 |
commit | a93362c70013281457fb44ab0494157325eb28f9 (patch) | |
tree | bdfd0a6102f5260a30c6795f52d924b5a548f255 | |
parent | ef61ba5454153c8cff21345f4930203cc22505c7 (diff) | |
download | px4-firmware-a93362c70013281457fb44ab0494157325eb28f9.tar.gz px4-firmware-a93362c70013281457fb44ab0494157325eb28f9.tar.bz2 px4-firmware-a93362c70013281457fb44ab0494157325eb28f9.zip |
re-add accidentally removed parameter init
-rw-r--r-- | src/modules/mc_att_control/mc_att_control.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/mc_att_control/mc_att_control.cpp b/src/modules/mc_att_control/mc_att_control.cpp index 66ceb6d77..822a504b5 100644 --- a/src/modules/mc_att_control/mc_att_control.cpp +++ b/src/modules/mc_att_control/mc_att_control.cpp @@ -98,6 +98,9 @@ MulticopterAttitudeControl::MulticopterAttitudeControl() : _params_handles.acro_pitch_max = PX4_PARAM_INIT(MC_ACRO_P_MAX); _params_handles.acro_yaw_max = PX4_PARAM_INIT(MC_ACRO_Y_MAX); + /* fetch initial parameter values */ + parameters_update(); + /* * do subscriptions */ |