We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5b5966 commit 81d0024Copy full SHA for 81d0024
perception/detected_object_validation/src/object_lanelet_filter.cpp
@@ -154,7 +154,10 @@ bool ObjectLaneletFilterNode::filterObject(
154
}
155
156
// 2. check if objects velocity is the same with the lanelet direction
157
- if (filter_settings_.lanelet_direction_filter) {
+ const bool orientation_not_available =
158
+ transformed_object.kinematics.orientation_availability ==
159
+ autoware_auto_perception_msgs::msg::ObjectFeature::UNAVAILABLE;
160
+ if (filter_settings_.lanelet_direction_filter && !orientation_not_available) {
161
const bool is_same_direction =
162
isSameDirectionWithLanelets(intersected_road_lanelets, transformed_object) ||
163
isSameDirectionWithLanelets(intersected_shoulder_lanelets, transformed_object);
0 commit comments