Skip to content

Commit c5d0e1e

Browse files
committed
chore: fix cspell error
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
1 parent d2b806d commit c5d0e1e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

perception/tensorrt_yolox/config/yolox_s_plus_opt.param.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# cspell: ignore semseg
12
/**:
23
ros__parameters:
34
# refine segmentation mask by overlay roi class

perception/tensorrt_yolox/include/tensorrt_yolox/tensorrt_yolox_node.hpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@
4444

4545
namespace tensorrt_yolox
4646
{
47+
// cspell: ignore Semseg
4748
using LabelMap = std::map<int, std::string>;
4849
using Label = tier4_perception_msgs::msg::Semantic;
4950
class TrtYoloXNode : public rclcpp::Node
5051
{
51-
struct RoiOverlaySegmenLabel
52+
struct RoiOverlaySemsegLabel
5253
{
5354
bool UNKNOWN;
5455
bool CAR;
@@ -65,7 +66,7 @@ class TrtYoloXNode : public rclcpp::Node
6566
(label == Label::ANIMAL && ANIMAL) || (label == Label::MOTORBIKE && MOTORCYCLE) ||
6667
(label == Label::BICYCLE && BICYCLE) || (label == Label::PEDESTRIAN && PEDESTRIAN);
6768
};
68-
}; // struct RoiOverlaySegmenLabel
69+
}; // struct RoiOverlaySemsegLabel
6970

7071
public:
7172
explicit TrtYoloXNode(const rclcpp::NodeOptions & node_options);
@@ -103,7 +104,7 @@ class TrtYoloXNode : public rclcpp::Node
103104
{"BICYCLE", 8}, // bicycle
104105
{"MOTORBIKE", 8}, // motorcycle
105106
};
106-
RoiOverlaySegmenLabel roi_overlay_segment_labels_;
107+
RoiOverlaySemsegLabel roi_overlay_segment_labels_;
107108
std::unique_ptr<tier4_autoware_utils::StopWatch<std::chrono::milliseconds>> stop_watch_ptr_;
108109
std::unique_ptr<tier4_autoware_utils::DebugPublisher> debug_publisher_;
109110
};

0 commit comments

Comments
 (0)