Commit 4310045 1 parent d57381b commit 4310045 Copy full SHA for 4310045
File tree 3 files changed +8
-3
lines changed
behavior_velocity_blind_spot_module/src
behavior_velocity_intersection_module/src
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ bool BlindSpotModule::checkObstacleInBlindSpot(
348
348
lanelet::LaneletMapConstPtr lanelet_map_ptr, lanelet::routing::RoutingGraphPtr routing_graph_ptr,
349
349
const autoware_auto_planning_msgs::msg::PathWithLaneId & path,
350
350
const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr objects_ptr,
351
- const int closest_idx, const geometry_msgs::msg::Pose & stop_line_pose) const
351
+ const int closest_idx, const geometry_msgs::msg::Pose & stop_line_pose)
352
352
{
353
353
/* get detection area */
354
354
if (turn_direction_ == TurnDirection::INVALID) {
@@ -409,6 +409,8 @@ bool BlindSpotModule::checkObstacleInBlindSpot(
409
409
exist_in_right_conflict_area || exist_in_opposite_conflict_area;
410
410
if (exist_in_detection_area && exist_in_conflict_area) {
411
411
debug_data_.conflicting_targets .objects .push_back (object);
412
+ setObjectsOfInterestData (
413
+ object.kinematics .initial_pose_with_covariance .pose , object.shape , ColorName::RED);
412
414
return true ;
413
415
}
414
416
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class BlindSpotModule : public SceneModuleInterface
113
113
lanelet::routing::RoutingGraphPtr routing_graph_ptr,
114
114
const autoware_auto_planning_msgs::msg::PathWithLaneId & path,
115
115
const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr objects_ptr,
116
- const int closest_idx, const geometry_msgs::msg::Pose & stop_line_pose) const ;
116
+ const int closest_idx, const geometry_msgs::msg::Pose & stop_line_pose);
117
117
118
118
/* *
119
119
* @brief Create half lanelet
Original file line number Diff line number Diff line change @@ -621,6 +621,9 @@ IntersectionModule::CollisionStatus IntersectionModule::detectCollision(
621
621
continue ;
622
622
}
623
623
const auto & unsafe_info = object_info->is_unsafe ().value ();
624
+ setObjectsOfInterestData (
625
+ object_info->predicted_object ().kinematics .initial_pose_with_covariance .pose ,
626
+ object_info->predicted_object ().shape , ColorName::RED);
624
627
// ==========================================================================================
625
628
// if ego is over the pass judge lines, then the visualization as "too_late_objects" or
626
629
// "misjudge_objects" is more important than that for "unsafe"
@@ -910,7 +913,7 @@ bool IntersectionModule::checkCollision(
910
913
}
911
914
}
912
915
object_ttc_time_array.layout.dim.at(0).size++;
913
- const auto & pos = object.kinematics.initial_pose_with_covariance.pose .position;
916
+ const auto & pos = object..position;
914
917
const auto & shape = object.shape;
915
918
object_ttc_time_array.data.insert(
916
919
object_ttc_time_array.data.end(),
You can’t perform that action at this time.
0 commit comments