Skip to content

Commit

Permalink
feat(avoidance): output objects of interest (autowarefoundation#5929)
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota authored Dec 21, 2023
1 parent 18f124e commit f63ad33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions planning/behavior_path_avoidance_module/src/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,12 @@ void AvoidanceModule::updateData()
// update rtc status.
updateRTCData();

// update interest objects data
for (const auto & [uuid, data] : debug_data_.collision_check) {
const auto color = data.is_safe ? ColorName::GREEN : ColorName::RED;
setObjectsOfInterestData(data.current_obj_pose, data.obj_shape, color);
}

safe_ = avoid_data_.safe;
}

Expand Down

0 comments on commit f63ad33

Please sign in to comment.