From a93362c70013281457fb44ab0494157325eb28f9 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Thu, 25 Dec 2014 11:50:41 +0100 Subject: [PATCH] re-add accidentally removed parameter init --- src/modules/mc_att_control/mc_att_control.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/mc_att_control/mc_att_control.cpp b/src/modules/mc_att_control/mc_att_control.cpp index 66ceb6d778..822a504b52 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 */