diff options
author | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 00:30:49 +0200 |
---|---|---|
committer | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 12:02:32 +0200 |
commit | 8fadbdcf2fee463498228abeac038260f51460b1 (patch) | |
tree | 3565012071000d69d820ec26c6f8428826feb9fb /src/modules/systemlib/mixer/mixer_multirotor.cpp | |
parent | 388833a1fa56b40034333ba6bbef376fabcc1320 (diff) | |
download | px4-firmware-8fadbdcf2fee463498228abeac038260f51460b1.tar.gz px4-firmware-8fadbdcf2fee463498228abeac038260f51460b1.tar.bz2 px4-firmware-8fadbdcf2fee463498228abeac038260f51460b1.zip |
Automated generation of the Geometry enum to make addition of the new multirotor a really simple task
Diffstat (limited to 'src/modules/systemlib/mixer/mixer_multirotor.cpp')
-rw-r--r-- | src/modules/systemlib/mixer/mixer_multirotor.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/systemlib/mixer/mixer_multirotor.cpp b/src/modules/systemlib/mixer/mixer_multirotor.cpp index bb3868c34..42e3513f4 100644 --- a/src/modules/systemlib/mixer/mixer_multirotor.cpp +++ b/src/modules/systemlib/mixer/mixer_multirotor.cpp @@ -55,6 +55,9 @@ #include "mixer.h" +// This file is generated by the multi_tables script which is invoked during the build process +#include "mixer_multirotor.generated.h" + #define debug(fmt, args...) do { } while(0) //#define debug(fmt, args...) do { printf("[mixer] " fmt "\n", ##args); } while(0) //#include <debug.h> @@ -72,10 +75,6 @@ float constrain(float val, float min, float max) { return (val < min) ? min : ((val > max) ? max : val); } - -// This file is generated by the multi_tables script which is invoked during the build process -#include "mixer_multirotor.generated.h" - } MultirotorMixer::MultirotorMixer(ControlCallback control_cb, |