Skip to content

Commit

Permalink
logger: log topic can_interface_status using CONFIG_BOARD_UAVCAN_INTE…
Browse files Browse the repository at this point in the history
…RFACES
  • Loading branch information
dakejahl committed Jan 10, 2025
1 parent 39708cb commit afdf970
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/logger/logged_topics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ void LoggedTopics::add_default_topics()
add_optional_topic("autotune_attitude_control_status", 100);
add_optional_topic("camera_capture");
add_optional_topic("camera_trigger");
add_topic("can_interface_status", 10);
add_topic("cellular_status", 200);
add_topic("commander_state");
add_topic("config_overrides");
Expand Down Expand Up @@ -251,6 +250,10 @@ void LoggedTopics::add_default_topics()
add_optional_topic_multi("yaw_estimator_status");

#endif /* CONFIG_ARCH_BOARD_PX4_SITL */

#ifdef CONFIG_BOARD_UAVCAN_INTERFACES
add_topic_multi("can_interface_status", 100, CONFIG_BOARD_UAVCAN_INTERFACES);
#endif
}

void LoggedTopics::add_high_rate_topics()
Expand Down

0 comments on commit afdf970

Please sign in to comment.