Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 committed Nov 7, 2024
1 parent 0e15671 commit ad79c78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct LaneChangeStatus
LaneChangePath lane_change_path{};
lanelet::ConstLanelets current_lanes{};
lanelet::ConstLanelets target_lanes{};
lanelet::ConstLanelet current_lane{};
lanelet::ConstLanelet ego_lane{};
std::vector<lanelet::Id> lane_follow_lane_ids{};
std::vector<lanelet::Id> lane_change_lane_ids{};
bool is_safe{false};
Expand Down
2 changes: 1 addition & 1 deletion planning/behavior_path_lane_change_module/src/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void NormalLaneChange::updateLaneChangeStatus()
RCLCPP_DEBUG(logger_, "ego's current lane not in route");
return;
}
status_.current_lane = current_lane;
status_.ego_lane = current_lane;

const auto ego_footprint =
utils::lane_change::getEgoCurrentFootprint(getEgoPose(), getCommonParam().vehicle_info);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ bool has_overtaking_turn_lane_object(
}

const auto & target_lanes = status.target_lanes;
const auto & ego_current_lane = status.current_lane;
const auto & ego_current_lane = status.ego_lane;

const auto target_lane_poly =
lanelet::utils::combineLaneletsShape(target_lanes).polygon2d().basicPolygon();
Expand Down

0 comments on commit ad79c78

Please sign in to comment.