12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- #ifndef PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
16
- #define PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
15
+ #ifndef AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
16
+ #define AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
17
17
18
+ #include " autoware_path_smoother/common_structs.hpp"
19
+ #include " autoware_path_smoother/type_alias.hpp"
18
20
#include " interpolation/linear_interpolation.hpp"
19
21
#include " interpolation/spline_interpolation.hpp"
20
22
#include " interpolation/spline_interpolation_points_2d.hpp"
21
23
#include " motion_utils/trajectory/trajectory.hpp"
22
- #include " path_smoother/common_structs.hpp"
23
- #include " path_smoother/type_alias.hpp"
24
24
25
25
#include < Eigen/Core>
26
26
35
35
#include < string>
36
36
#include < vector>
37
37
38
- namespace path_smoother
38
+ namespace autoware :: path_smoother
39
39
{
40
40
namespace trajectory_utils
41
41
{
@@ -137,7 +137,7 @@ std::optional<size_t> updateFrontPointForFix(
137
137
motion_utils::calcSignedArcLength (points, 0 , front_fix_point.pose .position );
138
138
if (0 < lon_offset_to_prev_front) {
139
139
RCLCPP_DEBUG (
140
- rclcpp::get_logger (" path_smoother .trajectory_utils" ),
140
+ rclcpp::get_logger (" autoware_path_smoother .trajectory_utils" ),
141
141
" Fixed point will not be inserted due to the error during calculation." );
142
142
return std::nullopt;
143
143
}
@@ -148,7 +148,7 @@ std::optional<size_t> updateFrontPointForFix(
148
148
constexpr double max_lat_error = 3.0 ;
149
149
if (max_lat_error < dist) {
150
150
RCLCPP_DEBUG (
151
- rclcpp::get_logger (" path_smoother .trajectory_utils" ),
151
+ rclcpp::get_logger (" autoware_path_smoother .trajectory_utils" ),
152
152
" New Fixed point is too far from points %f [m]" , dist);
153
153
}
154
154
@@ -170,5 +170,5 @@ void insertStopPoint(
170
170
std::vector<TrajectoryPoint> & traj_points, const geometry_msgs::msg::Pose & input_stop_pose,
171
171
const size_t stop_seg_idx);
172
172
} // namespace trajectory_utils
173
- } // namespace path_smoother
174
- #endif // PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
173
+ } // namespace autoware:: path_smoother
174
+ #endif // AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
0 commit comments