Skip to content

Commit 1a4fd5b

Browse files
committed
fix assignment
Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
1 parent 2d258d0 commit 1a4fd5b

File tree

2 files changed

+5
-5
lines changed
  • planning/behavior_path_planner/autoware_behavior_path_lane_change_module

2 files changed

+5
-5
lines changed

planning/behavior_path_planner/autoware_behavior_path_lane_change_module/include/autoware/behavior_path_lane_change_module/structs/data.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ struct Info
139139

140140
void set_lane_changing(const PhaseMetrics & _lc_metrics)
141141
{
142-
longitudinal_acceleration.prepare = _lc_metrics.actual_lon_accel;
143-
velocity.prepare = _lc_metrics.velocity;
144-
duration.prepare = _lc_metrics.duration;
145-
length.prepare = _lc_metrics.length;
142+
longitudinal_acceleration.lane_changing = _lc_metrics.actual_lon_accel;
143+
velocity.lane_changing = _lc_metrics.velocity;
144+
duration.lane_changing = _lc_metrics.duration;
145+
length.lane_changing = _lc_metrics.length;
146146
}
147147
};
148148

planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/scene.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ std::optional<PathWithLaneId> NormalLaneChange::compute_terminal_lane_change_pat
13621362
LaneChangePath candidate_path;
13631363
for (const auto & lc_metric : lane_changing_metrics) {
13641364
try {
1365-
candidate_path = get_candidate_path(
1365+
candidate_path = utils::lane_change::get_candidate_path(
13661366
prep_metric, lc_metric, prepare_segment, sorted_lane_ids, lane_changing_start_pose,
13671367
shift_length);
13681368
} catch (const std::exception & e) {

0 commit comments

Comments
 (0)