You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
524 B
22 lines
524 B
#pragma once |
|
|
|
#include <AP_Logger/LogStructure.h> |
|
|
|
#define LOG_IDS_FROM_RPM \ |
|
LOG_RPM_MSG |
|
|
|
// @LoggerMessage: RPM |
|
// @Description: Data from RPM sensors |
|
// @Field: TimeUS: Time since system startup |
|
// @Field: rpm1: First sensor's data |
|
// @Field: rpm2: Second sensor's data |
|
struct PACKED log_RPM { |
|
LOG_PACKET_HEADER; |
|
uint64_t time_us; |
|
float rpm1; |
|
float rpm2; |
|
}; |
|
|
|
#define LOG_STRUCTURE_FROM_RPM \ |
|
{ LOG_RPM_MSG, sizeof(log_RPM), \ |
|
"RPM", "Qff", "TimeUS,rpm1,rpm2", "sqq", "F00" , true },
|
|
|