From 816f9494b43ddb9c390f109514bcfc3661595064 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 18 Jul 2023 20:27:26 +0900 Subject: [PATCH] Sub: log MNT at 10hz --- ArduSub/ArduSub.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index 9869ed29b8..b8ded91fdd 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -210,6 +210,11 @@ void Sub::ten_hz_logging_loop() if (should_log(MASK_LOG_CTUN)) { attitude_control.control_monitor_log(); } +#if HAL_MOUNT_ENABLED + if (should_log(MASK_LOG_CAMERA)) { + camera_mount.write_log(); + } +#endif } // twentyfive_hz_logging_loop