logger: reduce multi-EKF logging to first 4 instances

- otherwise we'll need to upgrade the logger msg_id from a uint8 -> uint16
This commit is contained in:
Daniel Agar
2022-09-11 12:23:45 -04:00
parent 0389c5d17f
commit 14baf5aadf
+1 -1
View File
@@ -135,7 +135,7 @@ void LoggedTopics::add_default_topics()
#if CONSTRAINED_MEMORY
static constexpr uint8_t MAX_ESTIMATOR_INSTANCES = 1;
#else
static constexpr uint8_t MAX_ESTIMATOR_INSTANCES = 6; // artificially limited until PlotJuggler fixed
static constexpr uint8_t MAX_ESTIMATOR_INSTANCES = 4; // artificially limited to keep total topics below 255
add_optional_topic("estimator_selector_status");
add_optional_topic_multi("estimator_attitude", 500, MAX_ESTIMATOR_INSTANCES);
add_optional_topic_multi("estimator_global_position", 1000, MAX_ESTIMATOR_INSTANCES);