Add battery_info message with serial number compatible with UAVCAN, MAVLink and drivers

I'm starting the separate battery info message because no char[32] should be published and logged
at high rate and we need a separate battery info message for static information as discussed.
This commit is contained in:
Matthias Grob
2025-06-17 09:05:22 +02:00
committed by Silvan Fuhrer
parent 59710b15ae
commit d7ab21b8d6
4 changed files with 38 additions and 12 deletions
+1
View File
@@ -51,6 +51,7 @@ void LoggedTopics::add_default_topics()
add_topic("airspeed", 1000);
add_optional_topic("airspeed_validated", 200);
add_optional_topic("autotune_attitude_control_status", 100);
add_topic_multi("battery_info", 5000, 2);
add_optional_topic("camera_capture");
add_optional_topic("camera_trigger");
add_topic("cellular_status", 200);