diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-08 11:38:00 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-08 11:38:00 +0400 |
commit | 320624e995d46d80db0d219d9c61af08e1b8cadf (patch) | |
tree | 6c41aa76675cab6c8ef6a668ee4505f913bff44e /src/modules/mc_att_control/mc_att_control_main.cpp | |
parent | 39b1f7244ce06ff89492ad6843c5fc74a30dfe67 (diff) | |
parent | cf9fa61a39f83e6fe4611ecf9336c1fcd1faaa78 (diff) | |
download | px4-firmware-320624e995d46d80db0d219d9c61af08e1b8cadf.tar.gz px4-firmware-320624e995d46d80db0d219d9c61af08e1b8cadf.tar.bz2 px4-firmware-320624e995d46d80db0d219d9c61af08e1b8cadf.zip |
Merge branch 'master' into beta_mavlink2
Diffstat (limited to 'src/modules/mc_att_control/mc_att_control_main.cpp')
-rw-r--r-- | src/modules/mc_att_control/mc_att_control_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mc_att_control/mc_att_control_main.cpp b/src/modules/mc_att_control/mc_att_control_main.cpp index 24226880e..9cb8e8344 100644 --- a/src/modules/mc_att_control/mc_att_control_main.cpp +++ b/src/modules/mc_att_control/mc_att_control_main.cpp @@ -262,8 +262,10 @@ MulticopterAttitudeControl::MulticopterAttitudeControl() : { memset(&_v_att, 0, sizeof(_v_att)); memset(&_v_att_sp, 0, sizeof(_v_att_sp)); + memset(&_v_rates_sp, 0, sizeof(_v_rates_sp)); memset(&_manual_control_sp, 0, sizeof(_manual_control_sp)); memset(&_v_control_mode, 0, sizeof(_v_control_mode)); + memset(&_actuators, 0, sizeof(_actuators)); memset(&_armed, 0, sizeof(_armed)); _params.att_p.zero(); |