Commit 5bead38 1 parent e5be1be commit 5bead38 Copy full SHA for 5bead38
File tree 1 file changed +2
-2
lines changed
planning/behavior_path_planner/autoware_behavior_path_dynamic_obstacle_avoidance_module/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1471,7 +1471,7 @@ DynamicObstacleAvoidanceModule::calcMinMaxLateralOffsetToAvoidRegulatedObject(
1471
1471
return prev_object->lat_offset_to_avoid ->min_value ;
1472
1472
}();
1473
1473
const double filtered_min_bound_lat_offset =
1474
- (prev_min_lat_avoid_to_offset.has_value () & enable_lowpass_filter)
1474
+ (prev_min_lat_avoid_to_offset.has_value () && enable_lowpass_filter)
1475
1475
? signal_processing::lowpassFilter (
1476
1476
min_bound_lat_offset, *prev_min_lat_avoid_to_offset,
1477
1477
parameters_->lpf_gain_for_lat_avoid_to_offset )
@@ -1556,7 +1556,7 @@ DynamicObstacleAvoidanceModule::calcMinMaxLateralOffsetToAvoidUnregulatedObject(
1556
1556
return prev_object->lat_offset_to_avoid ->min_value ;
1557
1557
}();
1558
1558
const double filtered_min_bound_pos =
1559
- (prev_min_lat_avoid_to_offset.has_value () & enable_lowpass_filter)
1559
+ (prev_min_lat_avoid_to_offset.has_value () && enable_lowpass_filter)
1560
1560
? signal_processing::lowpassFilter (
1561
1561
bound_pos.min_value , *prev_min_lat_avoid_to_offset,
1562
1562
parameters_->lpf_gain_for_lat_avoid_to_offset )
You can’t perform that action at this time.
0 commit comments