logger: Add mode for thermal calibration logging

Logs the IMU and baro data at 10Hz
This commit is contained in:
Paul Riseborough
2017-01-21 11:48:02 +01:00
committed by Lorenz Meier
parent 27abc4fe6b
commit 3a029e58c7
3 changed files with 32 additions and 3 deletions
+6
View File
@@ -216,6 +216,7 @@ private:
int add_topics_from_file(const char *fname);
void add_default_topics();
void add_calibration_topics();
void ack_vehicle_command(orb_advert_t &vehicle_command_ack_pub, uint16_t command, uint32_t result);
@@ -255,6 +256,11 @@ private:
orb_advert_t _mavlink_log_pub = nullptr;
uint16_t _next_topic_id = 0; ///< id of next subscribed ulog topic
char *_replay_file_name = nullptr;
// control
param_t _sdlog_mode_handle;
int32_t _sdlog_mode;
};
} //namespace logger