File tree 2 files changed +4
-4
lines changed
planning/sampling_based_planner/autoware_path_sampler
include/autoware_path_sampler/utils
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,10 @@ size_t findEgoSegmentIndex(
140
140
}
141
141
142
142
std::vector<TrajectoryPoint> resampleTrajectoryPoints (
143
- const std::vector<TrajectoryPoint> traj_points, const double interval);
143
+ const std::vector<TrajectoryPoint> & traj_points, const double interval);
144
144
145
145
std::vector<TrajectoryPoint> resampleTrajectoryPointsWithoutStopPoint (
146
- const std::vector<TrajectoryPoint> traj_points, const double interval);
146
+ const std::vector<TrajectoryPoint> & traj_points, const double interval);
147
147
148
148
template <typename T>
149
149
std::optional<size_t > updateFrontPointForFix (
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ void compensateLastPose(
59
59
}
60
60
61
61
std::vector<TrajectoryPoint> resampleTrajectoryPoints (
62
- const std::vector<TrajectoryPoint> traj_points, const double interval)
62
+ const std::vector<TrajectoryPoint> & traj_points, const double interval)
63
63
{
64
64
constexpr bool enable_resampling_stop_point = true ;
65
65
@@ -71,7 +71,7 @@ std::vector<TrajectoryPoint> resampleTrajectoryPoints(
71
71
72
72
// NOTE: stop point will not be resampled
73
73
std::vector<TrajectoryPoint> resampleTrajectoryPointsWithoutStopPoint (
74
- const std::vector<TrajectoryPoint> traj_points, const double interval)
74
+ const std::vector<TrajectoryPoint> & traj_points, const double interval)
75
75
{
76
76
constexpr bool enable_resampling_stop_point = false ;
77
77
You can’t perform that action at this time.
0 commit comments