Skip to content

Commit

Permalink
refactor(behavior_path_planner): remove planner data unused variable (#…
Browse files Browse the repository at this point in the history
…5194)

refactor(behavior_path_planner): remove planner data used variable

Signed-off-by: Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 authored Oct 12, 2023
1 parent 4ba8923 commit 744d48d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ struct PlannerData
OccupancyGrid::ConstSharedPtr costmap{};
LateralOffset::ConstSharedPtr lateral_offset{};
OperationModeState::ConstSharedPtr operation_mode{};
PathWithLaneId::SharedPtr reference_path{std::make_shared<PathWithLaneId>()};
PathWithLaneId::SharedPtr prev_output_path{std::make_shared<PathWithLaneId>()};
std::optional<PoseWithUuidStamped> prev_modified_goal{};
std::optional<UUID> prev_route_id{};
lanelet::ConstLanelets current_lanes{};
std::shared_ptr<RouteHandler> route_handler{std::make_shared<RouteHandler>()};
BehaviorPathPlannerParameters parameters{};
drivable_area_expansion::DrivableAreaExpansionParameters drivable_area_expansion_parameters{};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ TEST(DrivableAreaExpansionProjection, expandDrivableArea)
}
behavior_path_planner::PlannerData planner_data;
planner_data.drivable_area_expansion_parameters = params;
planner_data.reference_path = std::make_shared<drivable_area_expansion::PathWithLaneId>(path);
planner_data.dynamic_object =
std::make_shared<drivable_area_expansion::PredictedObjects>(dynamic_objects);
planner_data.route_handler = std::make_shared<route_handler::RouteHandler>(route_handler);
Expand Down

0 comments on commit 744d48d

Please sign in to comment.