Skip to content

Commit 855b95a

Browse files
style(pre-commit): autofix
1 parent 975e11f commit 855b95a

File tree

10 files changed

+59
-51
lines changed

10 files changed

+59
-51
lines changed

common/autoware_motion_utils/include/autoware/motion_utils/factor/planning_factor_interface.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,26 @@
1818
#include <autoware/motion_utils/trajectory/trajectory.hpp>
1919
#include <rclcpp/rclcpp.hpp>
2020

21-
#include <autoware_planning_msgs/msg/path_point.hpp>
22-
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
23-
#include <geometry_msgs/msg/pose.hpp>
2421
#include <autoware_planning_msgs/msg/control_point.hpp>
22+
#include <autoware_planning_msgs/msg/path_point.hpp>
2523
#include <autoware_planning_msgs/msg/path_point_with_lane_id.hpp>
2624
#include <autoware_planning_msgs/msg/planning_factor.hpp>
2725
#include <autoware_planning_msgs/msg/planning_factor_array.hpp>
2826
#include <autoware_planning_msgs/msg/safety_factor_array.hpp>
27+
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
28+
#include <geometry_msgs/msg/pose.hpp>
2929

3030
#include <string>
3131
#include <vector>
3232

3333
namespace autoware::motion_utils
3434
{
3535

36-
using geometry_msgs::msg::Pose;
3736
using autoware_planning_msgs::msg::ControlPoint;
3837
using autoware_planning_msgs::msg::PlanningFactor;
3938
using autoware_planning_msgs::msg::PlanningFactorArray;
4039
using autoware_planning_msgs::msg::SafetyFactorArray;
40+
using geometry_msgs::msg::Pose;
4141

4242
class PlanningFactorInterface
4343
{

common/autoware_motion_utils/include/autoware/motion_utils/resample/resample.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#define AUTOWARE__MOTION_UTILS__RESAMPLE__RESAMPLE_HPP_
1717

1818
#include "autoware_planning_msgs/msg/path.hpp"
19-
#include "autoware_planning_msgs/msg/trajectory.hpp"
2019
#include "autoware_planning_msgs/msg/path_with_lane_id.hpp"
20+
#include "autoware_planning_msgs/msg/trajectory.hpp"
2121

2222
#include <vector>
2323

common/autoware_motion_utils/include/autoware/motion_utils/trajectory/conversion.hpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#define AUTOWARE__MOTION_UTILS__TRAJECTORY__CONVERSION_HPP_
1717

1818
#include "autoware_planning_msgs/msg/detail/path__struct.hpp"
19+
#include "autoware_planning_msgs/msg/detail/path_with_lane_id__struct.hpp"
1920
#include "autoware_planning_msgs/msg/detail/trajectory__struct.hpp"
2021
#include "autoware_planning_msgs/msg/detail/trajectory_point__struct.hpp"
2122
#include "std_msgs/msg/header.hpp"
22-
#include "autoware_planning_msgs/msg/detail/path_with_lane_id__struct.hpp"
2323

2424
#include <vector>
2525

@@ -95,7 +95,8 @@ inline TrajectoryPoints convertToTrajectoryPoints(
9595
}
9696

9797
template <class T>
98-
autoware_planning_msgs::msg::PathWithLaneId convertToPathWithLaneId([[maybe_unused]] const T & input)
98+
autoware_planning_msgs::msg::PathWithLaneId convertToPathWithLaneId(
99+
[[maybe_unused]] const T & input)
99100
{
100101
static_assert(sizeof(T) == 0, "Only specializations of convertToPathWithLaneId can be used.");
101102
throw std::logic_error("Only specializations of convertToPathWithLaneId can be used.");

common/autoware_motion_utils/include/autoware/motion_utils/trajectory/interpolation.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#include "autoware/universe_utils/geometry/geometry.hpp"
1919

20-
#include "autoware_planning_msgs/msg/trajectory.hpp"
2120
#include "autoware_planning_msgs/msg/path_with_lane_id.hpp"
21+
#include "autoware_planning_msgs/msg/trajectory.hpp"
2222

2323
#include <boost/optional.hpp>
2424

common/autoware_motion_utils/include/autoware/motion_utils/trajectory/trajectory.hpp

+27-21
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include <rclcpp/logging.hpp>
2525

2626
#include <autoware_planning_msgs/msg/path_point.hpp>
27-
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
2827
#include <autoware_planning_msgs/msg/path_point_with_lane_id.hpp>
28+
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
2929

3030
#include <algorithm>
3131
#include <limits>
@@ -58,7 +58,8 @@ void validateNonEmpty(const T & points)
5858

5959
extern template void validateNonEmpty<std::vector<autoware_planning_msgs::msg::PathPoint>>(
6060
const std::vector<autoware_planning_msgs::msg::PathPoint> &);
61-
extern template void validateNonEmpty<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
61+
extern template void
62+
validateNonEmpty<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
6263
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> &);
6364
extern template void validateNonEmpty<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
6465
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> &);
@@ -311,7 +312,8 @@ size_t findNearestIndex(const T & points, const geometry_msgs::msg::Point & poin
311312
extern template size_t findNearestIndex<std::vector<autoware_planning_msgs::msg::PathPoint>>(
312313
const std::vector<autoware_planning_msgs::msg::PathPoint> & points,
313314
const geometry_msgs::msg::Point & point);
314-
extern template size_t findNearestIndex<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
315+
extern template size_t
316+
findNearestIndex<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
315317
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
316318
const geometry_msgs::msg::Point & point);
317319
extern template size_t findNearestIndex<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
@@ -463,8 +465,9 @@ calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::PathPoi
463465
const geometry_msgs::msg::Point & p_target, const bool throw_exception = false);
464466
extern template double
465467
calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
466-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t seg_idx,
467-
const geometry_msgs::msg::Point & p_target, const bool throw_exception = false);
468+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
469+
const size_t seg_idx, const geometry_msgs::msg::Point & p_target,
470+
const bool throw_exception = false);
468471
extern template double
469472
calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
470473
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t seg_idx,
@@ -734,8 +737,8 @@ extern template double calcSignedArcLength<std::vector<autoware_planning_msgs::m
734737
const size_t dst_idx);
735738
extern template double
736739
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
737-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
738-
const size_t dst_idx);
740+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
741+
const size_t src_idx, const size_t dst_idx);
739742
extern template double
740743
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
741744
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -784,8 +787,8 @@ calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::PathPoint
784787
const size_t dst_idx);
785788
extern template std::vector<double>
786789
calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
787-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
788-
const size_t dst_idx);
790+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
791+
const size_t src_idx, const size_t dst_idx);
789792
extern template std::vector<double>
790793
calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
791794
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -862,8 +865,8 @@ extern template double calcSignedArcLength<std::vector<autoware_planning_msgs::m
862865
const geometry_msgs::msg::Point & dst_point);
863866
extern template double
864867
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
865-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
866-
const geometry_msgs::msg::Point & dst_point);
868+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
869+
const size_t src_idx, const geometry_msgs::msg::Point & dst_point);
867870
extern template double
868871
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
869872
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -1147,8 +1150,8 @@ calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::PathPoint>>
11471150
const double offset, const bool throw_exception = false);
11481151
extern template std::optional<geometry_msgs::msg::Point>
11491152
calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
1150-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
1151-
const double offset, const bool throw_exception = false);
1153+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
1154+
const size_t src_idx, const double offset, const bool throw_exception = false);
11521155
extern template std::optional<geometry_msgs::msg::Point>
11531156
calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
11541157
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -1293,9 +1296,9 @@ calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::PathPoint>>(
12931296
const bool throw_exception = false);
12941297
extern template std::optional<geometry_msgs::msg::Pose>
12951298
calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
1296-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
1297-
const double offset, const bool set_orientation_from_position_direction = true,
1298-
const bool throw_exception = false);
1299+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
1300+
const size_t src_idx, const double offset,
1301+
const bool set_orientation_from_position_direction = true, const bool throw_exception = false);
12991302
extern template std::optional<geometry_msgs::msg::Pose>
13001303
calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
13011304
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -1906,7 +1909,8 @@ void insertOrientation(T & points, const bool is_driving_forward)
19061909

19071910
extern template void insertOrientation<std::vector<autoware_planning_msgs::msg::PathPoint>>(
19081911
std::vector<autoware_planning_msgs::msg::PathPoint> & points, const bool is_driving_forward);
1909-
extern template void insertOrientation<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
1912+
extern template void
1913+
insertOrientation<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
19101914
std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
19111915
const bool is_driving_forward);
19121916
extern template void insertOrientation<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
@@ -2051,8 +2055,8 @@ extern template double calcSignedArcLength<std::vector<autoware_planning_msgs::m
20512055
const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
20522056
extern template double
20532057
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
2054-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
2055-
const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
2058+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
2059+
const size_t src_idx, const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
20562060
extern template double
20572061
calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
20582062
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -2460,7 +2464,8 @@ double calcYawDeviation(
24602464
extern template double calcYawDeviation<std::vector<autoware_planning_msgs::msg::PathPoint>>(
24612465
const std::vector<autoware_planning_msgs::msg::PathPoint> & points,
24622466
const geometry_msgs::msg::Pose & pose, const bool throw_exception = false);
2463-
extern template double calcYawDeviation<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
2467+
extern template double
2468+
calcYawDeviation<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
24642469
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
24652470
const geometry_msgs::msg::Pose & pose, const bool throw_exception = false);
24662471
extern template double calcYawDeviation<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
@@ -2495,7 +2500,8 @@ extern template bool isTargetPointFront<std::vector<autoware_planning_msgs::msg:
24952500
const std::vector<autoware_planning_msgs::msg::PathPoint> & points,
24962501
const geometry_msgs::msg::Point & base_point, const geometry_msgs::msg::Point & target_point,
24972502
const double threshold = 0.0);
2498-
extern template bool isTargetPointFront<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
2503+
extern template bool
2504+
isTargetPointFront<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
24992505
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
25002506
const geometry_msgs::msg::Point & base_point, const geometry_msgs::msg::Point & target_point,
25012507
const double threshold = 0.0);

common/autoware_motion_utils/src/factor/velocity_factor_interface.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include <autoware/motion_utils/trajectory/trajectory.hpp>
1717

1818
#include <autoware_planning_msgs/msg/path_point.hpp>
19-
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
2019
#include <autoware_planning_msgs/msg/path_point_with_lane_id.hpp>
20+
#include <autoware_planning_msgs/msg/trajectory_point.hpp>
2121

2222
#include <string>
2323
#include <vector>

common/autoware_motion_utils/src/trajectory/interpolation.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
#include "autoware/interpolation/linear_interpolation.hpp"
1818
#include "autoware/motion_utils/trajectory/trajectory.hpp"
1919

20-
using autoware_planning_msgs::msg::Trajectory;
21-
using autoware_planning_msgs::msg::TrajectoryPoint;
2220
using autoware_planning_msgs::msg::PathPointWithLaneId;
2321
using autoware_planning_msgs::msg::PathWithLaneId;
22+
using autoware_planning_msgs::msg::Trajectory;
23+
using autoware_planning_msgs::msg::TrajectoryPoint;
2424

2525
namespace autoware::motion_utils
2626
{

common/autoware_motion_utils/src/trajectory/trajectory.cpp

+16-15
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::PathPoi
111111
const geometry_msgs::msg::Point & p_target, const bool throw_exception);
112112
template double
113113
calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
114-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t seg_idx,
115-
const geometry_msgs::msg::Point & p_target, const bool throw_exception);
114+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
115+
const size_t seg_idx, const geometry_msgs::msg::Point & p_target, const bool throw_exception);
116116
template double
117117
calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
118118
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t seg_idx,
@@ -122,7 +122,8 @@ calcLongitudinalOffsetToSegment<std::vector<autoware_planning_msgs::msg::Traject
122122
template size_t findNearestSegmentIndex<std::vector<autoware_planning_msgs::msg::PathPoint>>(
123123
const std::vector<autoware_planning_msgs::msg::PathPoint> & points,
124124
const geometry_msgs::msg::Point & point);
125-
template size_t findNearestSegmentIndex<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
125+
template size_t
126+
findNearestSegmentIndex<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
126127
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
127128
const geometry_msgs::msg::Point & point);
128129
template size_t findNearestSegmentIndex<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
@@ -170,8 +171,8 @@ template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::Pat
170171
const std::vector<autoware_planning_msgs::msg::PathPoint> & points, const size_t src_idx,
171172
const size_t dst_idx);
172173
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
173-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
174-
const size_t dst_idx);
174+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
175+
const size_t src_idx, const size_t dst_idx);
175176
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
176177
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
177178
const size_t dst_idx);
@@ -183,8 +184,8 @@ calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::PathPoint
183184
const size_t dst_idx);
184185
template std::vector<double>
185186
calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
186-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
187-
const size_t dst_idx);
187+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
188+
const size_t src_idx, const size_t dst_idx);
188189
template std::vector<double>
189190
calcSignedArcLengthPartialSum<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
190191
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -206,8 +207,8 @@ template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::Pat
206207
const std::vector<autoware_planning_msgs::msg::PathPoint> & points, const size_t src_idx,
207208
const geometry_msgs::msg::Point & dst_point);
208209
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
209-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
210-
const geometry_msgs::msg::Point & dst_point);
210+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
211+
const size_t src_idx, const geometry_msgs::msg::Point & dst_point);
211212
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
212213
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
213214
const geometry_msgs::msg::Point & dst_point);
@@ -265,8 +266,8 @@ calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::PathPoint>>
265266
const double offset, const bool throw_exception);
266267
template std::optional<geometry_msgs::msg::Point>
267268
calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
268-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
269-
const double offset, const bool throw_exception);
269+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
270+
const size_t src_idx, const double offset, const bool throw_exception);
270271
template std::optional<geometry_msgs::msg::Point>
271272
calcLongitudinalOffsetPoint<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
272273
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
@@ -294,8 +295,8 @@ calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::PathPoint>>(
294295
const bool throw_exception);
295296
template std::optional<geometry_msgs::msg::Pose>
296297
calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
297-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
298-
const double offset, const bool set_orientation_from_position_direction,
298+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
299+
const size_t src_idx, const double offset, const bool set_orientation_from_position_direction,
299300
const bool throw_exception);
300301
template std::optional<geometry_msgs::msg::Pose>
301302
calcLongitudinalOffsetPose<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
@@ -487,8 +488,8 @@ template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::Pat
487488
const std::vector<autoware_planning_msgs::msg::PathPoint> & points, const size_t src_idx,
488489
const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
489490
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::PathPointWithLaneId>>(
490-
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points, const size_t src_idx,
491-
const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
491+
const std::vector<autoware_planning_msgs::msg::PathPointWithLaneId> & points,
492+
const size_t src_idx, const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);
492493
template double calcSignedArcLength<std::vector<autoware_planning_msgs::msg::TrajectoryPoint>>(
493494
const std::vector<autoware_planning_msgs::msg::TrajectoryPoint> & points, const size_t src_idx,
494495
const geometry_msgs::msg::Point & dst_point, const size_t dst_seg_idx);

0 commit comments

Comments
 (0)