Skip to content

Commit d6ac70d

Browse files
committed
refactor(avoidance): rename param
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1 parent a9dca14 commit d6ac70d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

planning/behavior_path_avoidance_by_lane_change_module/src/manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void AvoidanceByLaneChangeModuleManager::init(rclcpp::Node * node)
132132
}
133133

134134
{
135-
const std::string ns = "avoidance.target_filtering.force_avoidance.";
135+
const std::string ns = "avoidance.target_filtering.avoidance_for_ambiguous_vehicle.";
136136
p.enable_force_avoidance_for_stopped_vehicle =
137137
getOrDeclareParameter<bool>(*node, ns + "enable");
138138
p.threshold_time_force_avoidance_for_stopped_vehicle =

planning/behavior_path_avoidance_module/config/avoidance.param.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
backward_distance: 10.0 # [m]
154154

155155
# params for avoidance of vehicle type objects that are ambiguous as to whether they are parked.
156-
force_avoidance:
156+
avoidance_for_ambiguous_vehicle:
157157
enable: false # [-]
158158
time_threshold: 1.0 # [s]
159159
distance_threshold: 1.0 # [m]

planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/parameter_helper.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ AvoidanceParameters getParameter(rclcpp::Node * node)
140140
}
141141

142142
{
143-
const std::string ns = "avoidance.target_filtering.force_avoidance.";
143+
const std::string ns = "avoidance.target_filtering.avoidance_for_ambiguous_vehicle.";
144144
p.enable_force_avoidance_for_stopped_vehicle =
145145
getOrDeclareParameter<bool>(*node, ns + "enable");
146146
p.threshold_time_force_avoidance_for_stopped_vehicle =

0 commit comments

Comments
 (0)