Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(behavior_velocity): occlusion spot #601

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(behavior_velocity): fix typo
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
  • Loading branch information
taikitanaka3 committed Mar 28, 2022
commit fa71d7e7f955b74281e49fe2102fb85ef429b955
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ bool OcclusionSpotModule::modifyPathVelocity(
if (param_.is_show_processing_time) stop_watch_.tic("processing_time");
if (param_.detection_method == utils::DETECTION_METHOD::OCCUPANCY_GRID) {
const auto & occ_grid_ptr = planner_data_->occupancy_grid;
if (!occ_grid_ptr) return true; // mo data
if (!occ_grid_ptr) return true; // no data
grid_map::GridMap grid_map;
grid_utils::denoiseOccupancyGridCV(
occ_grid_ptr, grid_map, param_.grid, param_.is_show_cv_window, param_.filter_occupancy_grid);
Expand All @@ -125,7 +125,7 @@ bool OcclusionSpotModule::modifyPathVelocity(
}
} else if (param_.detection_method == utils::DETECTION_METHOD::PREDICTED_OBJECT) {
const auto & dynamic_obj_arr_ptr = planner_data_->predicted_objects;
if (!dynamic_obj_arr_ptr) return true; // mo data
if (!dynamic_obj_arr_ptr) return true; // no data
std::vector<PredictedObject> obj =
utils::getParkedVehicles(*dynamic_obj_arr_ptr, param_, debug_data_.parked_vehicle_point);
const auto filtered_obj =
Expand Down