From 24debb5ff2f4c93f6681aa68c34f3f79775256f3 Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Mon, 29 Jan 2024 17:55:28 +0100 Subject: [PATCH] logged_topics: log all instances of torque/thrust setpoints in high rate Signed-off-by: Silvan Fuhrer --- src/modules/logger/logged_topics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/logger/logged_topics.cpp b/src/modules/logger/logged_topics.cpp index 3cec808c5a..17b723cdd4 100644 --- a/src/modules/logger/logged_topics.cpp +++ b/src/modules/logger/logged_topics.cpp @@ -307,7 +307,7 @@ void LoggedTopics::add_high_rate_topics() { // maximum rate to analyze fast maneuvers (e.g. for racing) add_topic("manual_control_setpoint"); - add_topic("rate_ctrl_status", 20); + add_topic_multi("rate_ctrl_status", 20, 2); add_topic("sensor_combined"); add_topic("vehicle_angular_velocity"); add_topic("vehicle_attitude"); @@ -316,8 +316,8 @@ void LoggedTopics::add_high_rate_topics() add_topic("actuator_motors"); add_topic("actuator_servos"); - add_topic("vehicle_thrust_setpoint"); - add_topic("vehicle_torque_setpoint"); + add_topic_multi("vehicle_thrust_setpoint", 0, 2); + add_topic_multi("vehicle_torque_setpoint", 0, 2); } void LoggedTopics::add_debug_topics()