From 57c4b1fbc95748d59f0f77b1ac84a2c976f17fb8 Mon Sep 17 00:00:00 2001 From: Tomoya Kimura Date: Mon, 5 Sep 2022 19:41:21 +0900 Subject: [PATCH] fix(heatmap_visualizer): add unknown class (#1781) Signed-off-by: tomoya.kimura Signed-off-by: tomoya.kimura --- .../include/heatmap_visualizer/heatmap_visualizer_node.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perception/heatmap_visualizer/include/heatmap_visualizer/heatmap_visualizer_node.hpp b/perception/heatmap_visualizer/include/heatmap_visualizer/heatmap_visualizer_node.hpp index 88adf1d3d94b6..9ffb3349435e5 100644 --- a/perception/heatmap_visualizer/include/heatmap_visualizer/heatmap_visualizer_node.hpp +++ b/perception/heatmap_visualizer/include/heatmap_visualizer/heatmap_visualizer_node.hpp @@ -66,8 +66,8 @@ class HeatmapVisualizerNode : public rclcpp::Node float map_length_; float map_resolution_; bool use_confidence_; - std::vector class_names_{"CAR", "TRUCK", "BUS", "TRAILER", - "BICYCLE", "MOTORBIKE", "PEDESTRIAN"}; + std::vector class_names_{"UNKNWON", "CAR", "TRUCK", "BUS", + "TRAILER", "BICYCLE", "MOTORBIKE", "PEDESTRIAN"}; bool rename_car_to_truck_and_bus_; // Number of width and height cells