diff options
author | tumbili <bapstr@ethz.ch> | 2015-01-18 17:46:25 +0100 |
---|---|---|
committer | tumbili <bapstr@ethz.ch> | 2015-01-18 18:00:14 +0100 |
commit | 3a05b571690ce675f56184cd5c5168f7699f9a03 (patch) | |
tree | 1d659cd5183d800a25e1ff635b6c620769cfd9e1 /src/modules/sdlog2/sdlog2_messages.h | |
parent | beab89367f5cc2765c747fb463a27ce001206dd9 (diff) | |
download | px4-firmware-3a05b571690ce675f56184cd5c5168f7699f9a03.tar.gz px4-firmware-3a05b571690ce675f56184cd5c5168f7699f9a03.tar.bz2 px4-firmware-3a05b571690ce675f56184cd5c5168f7699f9a03.zip |
log total airspeed for vtol
Diffstat (limited to 'src/modules/sdlog2/sdlog2_messages.h')
-rw-r--r-- | src/modules/sdlog2/sdlog2_messages.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/sdlog2/sdlog2_messages.h b/src/modules/sdlog2/sdlog2_messages.h index 99f70a948..c9221d58a 100644 --- a/src/modules/sdlog2/sdlog2_messages.h +++ b/src/modules/sdlog2/sdlog2_messages.h @@ -426,6 +426,11 @@ struct log_ENCD_s { /* --- AIR SPEED SENSORS - DIFF. PRESSURE --- */ #define LOG_AIR1_MSG 40 +/* --- VTOL - VTOL VEHICLE STATUS */ +#define LOG_VTOL_MSG 42 +struct log_VTOL_s { + float airspeed_tot; +}; /********** SYSTEM MESSAGES, ID > 0x80 **********/ @@ -468,6 +473,7 @@ static const struct log_format_s log_formats[] = { LOG_FORMAT_S(ATTC, ATTC, "ffff", "Roll,Pitch,Yaw,Thrust"), LOG_FORMAT_S(ATC1, ATTC, "ffff", "Roll,Pitch,Yaw,Thrust"), LOG_FORMAT(STAT, "BBBfBB", "MainState,ArmState,FailsafeState,BatRem,BatWarn,Landed"), + LOG_FORMAT(VTOL, "f", "Arsp"), LOG_FORMAT(RC, "ffffffffBB", "Ch0,Ch1,Ch2,Ch3,Ch4,Ch5,Ch6,Ch7,Count,SignalLost"), LOG_FORMAT(OUT0, "ffffffff", "Out0,Out1,Out2,Out3,Out4,Out5,Out6,Out7"), LOG_FORMAT(AIRS, "fff", "IndSpeed,TrueSpeed,AirTemp"), |