Skip to content

Commit

Permalink
fix(autoware_behavior_path_goal_planner_module): remove unused functi…
Browse files Browse the repository at this point in the history
…on plot_goal_candidates()

Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc committed Dec 24, 2024
1 parent 4045fb3 commit d854387
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,20 +134,6 @@ void plot_goal_candidate(
Kwargs("angles"_a = "xy", "scale_units"_a = "xy", "scale"_a = 2.0));
}

void plot_goal_candidates(
matplotlibcpp17::axes::Axes & axes, const GoalCandidates & goals,
const std::map<size_t, size_t> & goal_id2prio,
const autoware::universe_utils::LinearRing2d & local_footprint,
const std::string & color = "green")
{
for (const auto & goal : goals) {
const auto it = goal_id2prio.find(goal.id);
if (it != goal_id2prio.end()) {
plot_goal_candidate(axes, goal, it->second, local_footprint, color);
}
}
}

void plot_path_with_lane_id(
matplotlibcpp17::axes::Axes & axes, const PathWithLaneId & path,
const std::string & color = "red", const std::string & label = "", const double linewidth = 1.0)
Expand Down Expand Up @@ -607,8 +593,6 @@ int main(int argc, char ** argv)
// plot_lanelet(ax3, lanelet);
}

// plot_goal_candidates(ax1, goal_candidates, footprint);

// plot_path_with_lane_id(ax2, reference_path.path, "green", "reference_path");

const auto start = std::chrono::steady_clock::now();
Expand Down

0 comments on commit d854387

Please sign in to comment.