Skip to content

Commit 3381296

Browse files
authored
fix(tier4_metrics_rviz_plugin): fix metrics_name column (#6568)
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent baa923e commit 3381296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evaluator/tier4_metrics_rviz_plugin/src/metrics_visualize_panel.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ struct Metric
6262
{
6363
auto label = new QLabel;
6464
label->setAlignment(Qt::AlignCenter);
65-
label->setText("metric_name");
65+
label->setText(QString::fromStdString(status.name));
6666
labels.emplace("metric_name", label);
6767

68-
header.push_back(QString::fromStdString(status.name));
68+
header.push_back("metric_name");
6969
}
7070

7171
for (const auto & [key, value] : status.values) {

0 commit comments

Comments
 (0)