diff options
author | dominiho <dominik.honegger@inf.ethz.ch> | 2014-10-30 16:39:02 +0100 |
---|---|---|
committer | dominiho <dominik.honegger@inf.ethz.ch> | 2014-10-30 16:39:02 +0100 |
commit | 9f64953bb9f7a51042922f30ad15a367d82fb4d5 (patch) | |
tree | 3c82c31c18f23703127f5e89ac7fc0b2937c8805 /src/modules/sdlog2/sdlog2_messages.h | |
parent | aba77d062f414f4a1760bc9b4f267f099206b8df (diff) | |
download | px4-firmware-9f64953bb9f7a51042922f30ad15a367d82fb4d5.tar.gz px4-firmware-9f64953bb9f7a51042922f30ad15a367d82fb4d5.tar.bz2 px4-firmware-9f64953bb9f7a51042922f30ad15a367d82fb4d5.zip |
replaced optical_flow mavlink message with optical_flow_rad, added gyro_temperature, adapted sd2log for px4flow integral frame
Diffstat (limited to 'src/modules/sdlog2/sdlog2_messages.h')
-rw-r--r-- | src/modules/sdlog2/sdlog2_messages.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/modules/sdlog2/sdlog2_messages.h b/src/modules/sdlog2/sdlog2_messages.h index d49fc0c79..5264ff1c8 100644 --- a/src/modules/sdlog2/sdlog2_messages.h +++ b/src/modules/sdlog2/sdlog2_messages.h @@ -200,13 +200,19 @@ struct log_ARSP_s { /* --- FLOW - OPTICAL FLOW --- */ #define LOG_FLOW_MSG 15 struct log_FLOW_s { - int16_t flow_raw_x; - int16_t flow_raw_y; - float flow_comp_x; - float flow_comp_y; - float distance; - uint8_t quality; + uint64_t timestamp; uint8_t sensor_id; + float pixel_flow_x_integral; + float pixel_flow_y_integral; + float gyro_x_rate_integral; + float gyro_y_rate_integral; + float gyro_z_rate_integral; + float ground_distance_m; + uint32_t integration_timespan; + uint32_t time_since_last_sonar_update; + uint16_t frame_count_since_last_readout; + int16_t gyro_temperature; + uint8_t quality; }; /* --- GPOS - GLOBAL POSITION ESTIMATE --- */ |