@@ -90,7 +90,7 @@ bool DynamicObstacleStopModule::modifyPathVelocity(PathWithLaneId * path, StopRe
90
90
tier4_autoware_utils::MultiPolygon2d obstacle_predicted_footprints;
91
91
std::vector<Collision> collisions;
92
92
double footprints_duration_us;
93
- if (params_.use_predicted_path ){
93
+ if (params_.use_predicted_path ) {
94
94
stopwatch.tic (" footprints" );
95
95
obstacle_predicted_footprints = create_object_footprints (dynamic_obstacles, params_);
96
96
footprints_duration_us = stopwatch.toc (" footprints" );
@@ -100,12 +100,10 @@ bool DynamicObstacleStopModule::modifyPathVelocity(PathWithLaneId * path, StopRe
100
100
debug_data_.obstacle_footprints = obstacle_predicted_footprints;
101
101
} else {
102
102
stopwatch.tic (" footprints" );
103
- obstacle_forward_footprints =
104
- make_forward_footprints (dynamic_obstacles, params_, hysteresis);
103
+ obstacle_forward_footprints = make_forward_footprints (dynamic_obstacles, params_, hysteresis);
105
104
footprints_duration_us = stopwatch.toc (" footprints" );
106
105
stopwatch.tic (" collisions" );
107
- collisions =
108
- find_collisions (ego_data, dynamic_obstacles, obstacle_forward_footprints, params_);
106
+ collisions = find_collisions (ego_data, dynamic_obstacles, obstacle_forward_footprints, params_);
109
107
debug_data_.obstacle_footprints = obstacle_forward_footprints;
110
108
}
111
109
update_object_map (object_map_, collisions, clock_->now (), ego_data.path .points , params_);
0 commit comments