File tree 2 files changed +5
-3
lines changed
perception/tensorrt_yolox
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ # cspell: ignore semseg
1
2
/** :
2
3
ros__parameters :
3
4
# refine segmentation mask by overlay roi class
Original file line number Diff line number Diff line change 44
44
45
45
namespace tensorrt_yolox
46
46
{
47
+ // cspell: ignore Semseg
47
48
using LabelMap = std::map<int , std::string>;
48
49
using Label = tier4_perception_msgs::msg::Semantic;
49
50
class TrtYoloXNode : public rclcpp ::Node
50
51
{
51
- struct RoiOverlaySegmenLabel
52
+ struct RoiOverlaySemsegLabel
52
53
{
53
54
bool UNKNOWN;
54
55
bool CAR;
@@ -65,7 +66,7 @@ class TrtYoloXNode : public rclcpp::Node
65
66
(label == Label::ANIMAL && ANIMAL) || (label == Label::MOTORBIKE && MOTORCYCLE) ||
66
67
(label == Label::BICYCLE && BICYCLE) || (label == Label::PEDESTRIAN && PEDESTRIAN);
67
68
};
68
- }; // struct RoiOverlaySegmenLabel
69
+ }; // struct RoiOverlaySemsegLabel
69
70
70
71
public:
71
72
explicit TrtYoloXNode (const rclcpp::NodeOptions & node_options);
@@ -103,7 +104,7 @@ class TrtYoloXNode : public rclcpp::Node
103
104
{" BICYCLE" , 8 }, // bicycle
104
105
{" MOTORBIKE" , 8 }, // motorcycle
105
106
};
106
- RoiOverlaySegmenLabel roi_overlay_segment_labels_;
107
+ RoiOverlaySemsegLabel roi_overlay_segment_labels_;
107
108
std::unique_ptr<tier4_autoware_utils::StopWatch<std::chrono::milliseconds>> stop_watch_ptr_;
108
109
std::unique_ptr<tier4_autoware_utils::DebugPublisher> debug_publisher_;
109
110
};
You can’t perform that action at this time.
0 commit comments