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 authored Jul 22, 2024
1 parent bd0af65 commit 5a8eea1
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 5a8eea1

Please sign in to comment.