Skip to content

Commit

Permalink
feat(path_smoother): rename to include/autoware/{package_name}
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Jun 17, 2024
1 parent 6398f9b commit 54f9743
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__COMMON_STRUCTS_HPP_
#define AUTOWARE_PATH_SMOOTHER__COMMON_STRUCTS_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__COMMON_STRUCTS_HPP_
#define AUTOWARE__PATH_SMOOTHER__COMMON_STRUCTS_HPP_

#include "autoware_path_smoother/type_alias.hpp"
#include "autoware/path_smoother/type_alias.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tier4_autoware_utils/ros/update_param.hpp"
#include "tier4_autoware_utils/system/stop_watch.hpp"
Expand Down Expand Up @@ -133,4 +133,4 @@ struct EgoNearestParam
};
} // namespace autoware::path_smoother

#endif // AUTOWARE_PATH_SMOOTHER__COMMON_STRUCTS_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__COMMON_STRUCTS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_HPP_
#define AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_HPP_
#define AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_HPP_

#include "autoware_path_smoother/common_structs.hpp"
#include "autoware_path_smoother/type_alias.hpp"
#include "autoware/path_smoother/common_structs.hpp"
#include "autoware/path_smoother/type_alias.hpp"
#include "osqp_interface/osqp_interface.hpp"

#include <Eigen/Core>
Expand Down Expand Up @@ -130,4 +130,4 @@ class EBPathSmoother
};
} // namespace autoware::path_smoother

#endif // AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_
#define AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_
#define AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_

#include "autoware_path_smoother/common_structs.hpp"
#include "autoware_path_smoother/elastic_band.hpp"
#include "autoware_path_smoother/replan_checker.hpp"
#include "autoware_path_smoother/type_alias.hpp"
#include "autoware/path_smoother/common_structs.hpp"
#include "autoware/path_smoother/elastic_band.hpp"
#include "autoware/path_smoother/replan_checker.hpp"
#include "autoware/path_smoother/type_alias.hpp"
#include "motion_utils/trajectory/trajectory.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tier4_autoware_utils/ros/logger_level_configure.hpp"
Expand Down Expand Up @@ -118,4 +118,4 @@ class ElasticBandSmoother : public rclcpp::Node
};
} // namespace autoware::path_smoother

#endif // AUTOWARE_PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__ELASTIC_BAND_SMOOTHER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__REPLAN_CHECKER_HPP_
#define AUTOWARE_PATH_SMOOTHER__REPLAN_CHECKER_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__REPLAN_CHECKER_HPP_
#define AUTOWARE__PATH_SMOOTHER__REPLAN_CHECKER_HPP_

#include "autoware_path_smoother/common_structs.hpp"
#include "autoware_path_smoother/type_alias.hpp"
#include "autoware/path_smoother/common_structs.hpp"
#include "autoware/path_smoother/type_alias.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down Expand Up @@ -68,4 +68,4 @@ class ReplanChecker
};
} // namespace autoware::path_smoother

#endif // AUTOWARE_PATH_SMOOTHER__REPLAN_CHECKER_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__REPLAN_CHECKER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__TYPE_ALIAS_HPP_
#define AUTOWARE_PATH_SMOOTHER__TYPE_ALIAS_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__TYPE_ALIAS_HPP_
#define AUTOWARE__PATH_SMOOTHER__TYPE_ALIAS_HPP_

#include "autoware_planning_msgs/msg/path.hpp"
#include "autoware_planning_msgs/msg/path_point.hpp"
Expand Down Expand Up @@ -41,4 +41,4 @@ using tier4_debug_msgs::msg::Float64Stamped;
using tier4_debug_msgs::msg::StringStamped;
} // namespace autoware::path_smoother

#endif // AUTOWARE_PATH_SMOOTHER__TYPE_ALIAS_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__TYPE_ALIAS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_
#define AUTOWARE_PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_
#define AUTOWARE__PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_

#include <tier4_autoware_utils/geometry/geometry.hpp>

Expand All @@ -32,4 +32,4 @@ bool isSamePoint(const T1 & t1, const T2 & t2)
}
} // namespace geometry_utils
} // namespace autoware::path_smoother
#endif // AUTOWARE_PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__UTILS__GEOMETRY_UTILS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
#define AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
#ifndef AUTOWARE__PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
#define AUTOWARE__PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_

#include "autoware_path_smoother/common_structs.hpp"
#include "autoware_path_smoother/type_alias.hpp"
#include "autoware/path_smoother/common_structs.hpp"
#include "autoware/path_smoother/type_alias.hpp"
#include "interpolation/linear_interpolation.hpp"
#include "interpolation/spline_interpolation.hpp"
#include "interpolation/spline_interpolation_points_2d.hpp"
Expand Down Expand Up @@ -171,4 +171,4 @@ void insertStopPoint(
const size_t stop_seg_idx);
} // namespace trajectory_utils
} // namespace autoware::path_smoother
#endif // AUTOWARE_PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
#endif // AUTOWARE__PATH_SMOOTHER__UTILS__TRAJECTORY_UTILS_HPP_
8 changes: 4 additions & 4 deletions planning/autoware_path_smoother/src/elastic_band.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_path_smoother/elastic_band.hpp"
#include "autoware/path_smoother/elastic_band.hpp"

#include "autoware_path_smoother/type_alias.hpp"
#include "autoware_path_smoother/utils/geometry_utils.hpp"
#include "autoware_path_smoother/utils/trajectory_utils.hpp"
#include "autoware/path_smoother/type_alias.hpp"
#include "autoware/path_smoother/utils/geometry_utils.hpp"
#include "autoware/path_smoother/utils/trajectory_utils.hpp"
#include "motion_utils/trajectory/conversion.hpp"
#include "motion_utils/trajectory/trajectory.hpp"
#include "tf2/utils.h"
Expand Down
6 changes: 3 additions & 3 deletions planning/autoware_path_smoother/src/elastic_band_smoother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_path_smoother/elastic_band_smoother.hpp"
#include "autoware/path_smoother/elastic_band_smoother.hpp"

#include "autoware_path_smoother/utils/geometry_utils.hpp"
#include "autoware_path_smoother/utils/trajectory_utils.hpp"
#include "autoware/path_smoother/utils/geometry_utils.hpp"
#include "autoware/path_smoother/utils/trajectory_utils.hpp"
#include "interpolation/spline_interpolation_points_2d.hpp"
#include "motion_utils/trajectory/conversion.hpp"
#include "rclcpp/time.hpp"
Expand Down
4 changes: 2 additions & 2 deletions planning/autoware_path_smoother/src/replan_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_path_smoother/replan_checker.hpp"
#include "autoware/path_smoother/replan_checker.hpp"

#include "autoware_path_smoother/utils/trajectory_utils.hpp"
#include "autoware/path_smoother/utils/trajectory_utils.hpp"
#include "motion_utils/trajectory/trajectory.hpp"
#include "tier4_autoware_utils/geometry/geometry.hpp"
#include "tier4_autoware_utils/ros/update_param.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_path_smoother/utils/trajectory_utils.hpp"
#include "autoware/path_smoother/utils/trajectory_utils.hpp"

#include "autoware_path_smoother/utils/geometry_utils.hpp"
#include "autoware/path_smoother/utils/geometry_utils.hpp"
#include "motion_utils/resample/resample.hpp"
#include "motion_utils/trajectory/conversion.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_path_smoother/elastic_band_smoother.hpp"
#include "autoware/path_smoother/elastic_band_smoother.hpp"

#include <ament_index_cpp/get_package_share_directory.hpp>
#include <autoware_planning_test_manager/autoware_planning_test_manager.hpp>
Expand Down

0 comments on commit 54f9743

Please sign in to comment.