Skip to content

Commit

Permalink
chore: move diagnostics topic to local namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex committed Sep 3, 2024
1 parent d741255 commit 734d2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula_ros/src/aeva/hw_monitor_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AevaHwMonitorWrapper::AevaHwMonitorWrapper(
diag_span_ = parent_node->declare_parameter<uint16_t>("diag_span", 500, param_read_only());

diagnostics_pub_ =
parent_node->create_publisher<diagnostic_msgs::msg::DiagnosticArray>("/diagnostics", 10);
parent_node->create_publisher<diagnostic_msgs::msg::DiagnosticArray>("diagnostics", 10);

diagnostics_pub_timer_ = parent_node->create_wall_timer(
std::chrono::milliseconds(diag_span_), [&]() { publishDiagnostics(); });
Expand Down

0 comments on commit 734d2fe

Please sign in to comment.