From 551000fc4ff53407dfbc6a31221234cac1266f93 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 21 Mar 2024 14:20:04 -0400 Subject: [PATCH] logged topics, don't get greedy --- src/modules/logger/logged_topics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/logger/logged_topics.cpp b/src/modules/logger/logged_topics.cpp index 4d6711aa49..da01877c06 100644 --- a/src/modules/logger/logged_topics.cpp +++ b/src/modules/logger/logged_topics.cpp @@ -160,6 +160,7 @@ void LoggedTopics::add_default_topics() #endif // always add the first instance +#if 0 add_topic_multi("estimator_baro_bias", 0, MAX_ESTIMATOR_INSTANCES); add_topic_multi("estimator_gnss_hgt_bias", 0, MAX_ESTIMATOR_INSTANCES); add_topic_multi("estimator_rng_hgt_bias", 0, MAX_ESTIMATOR_INSTANCES); @@ -210,9 +211,8 @@ void LoggedTopics::add_default_topics() add_topic_multi("estimator_aid_src_terrain_optical_flow", 0, MAX_ESTIMATOR_INSTANCES); add_topic_multi("estimator_aid_src_ev_yaw", 0, MAX_ESTIMATOR_INSTANCES); add_topic_multi("estimator_aid_src_wind", 0, MAX_ESTIMATOR_INSTANCES); - add_topic_multi("estimator_aid_src_air_flow_speed", 0, MAX_ESTIMATOR_INSTANCES); - add_topic_multi("estimator_aid_src_air_flow_direction", 0, MAX_ESTIMATOR_INSTANCES); add_optional_topic_multi("estimator_aid_src_aux_global_position", 100, MAX_ESTIMATOR_INSTANCES); +#endif // log all raw sensors at minimal rate (at least 1 Hz) add_topic_multi("battery_status", 200, 2);