diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-13 09:13:11 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-13 09:13:23 +0100 |
commit | 1cff86b0b562301020973f354043f27272d29f5b (patch) | |
tree | 85bc611e83fa214d76c26551beffaa313e655989 /src/platforms/ros/nodes | |
parent | 2669c699c7974b9f1be5a0beb678dac724dfc909 (diff) | |
download | px4-firmware-1cff86b0b562301020973f354043f27272d29f5b.tar.gz px4-firmware-1cff86b0b562301020973f354043f27272d29f5b.tar.bz2 px4-firmware-1cff86b0b562301020973f354043f27272d29f5b.zip |
ros mixer: increase number of controls to default to fix undefined behaviour
Diffstat (limited to 'src/platforms/ros/nodes')
-rw-r--r-- | src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp index 3867d448e..1073833c0 100644 --- a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp +++ b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp @@ -68,11 +68,11 @@ private: unsigned _rotor_count; struct { - float control[6]; + float control[8]; } inputs; struct { - float control[6]; + float control[8]; } outputs; bool _armed; |