Skip to content

Commit

Permalink
refactor(behavior_path_start_planner_module)!: prefix package and nam…
Browse files Browse the repository at this point in the history
…espace with autoware (#7352)

* change folder names

Signed-off-by: Daniel Sanchez <[email protected]>

* change namespace

Signed-off-by: Daniel Sanchez <[email protected]>

* add prefix in files

Signed-off-by: Daniel Sanchez <[email protected]>

* add prefix to files outside the module

Signed-off-by: Daniel Sanchez <[email protected]>

* add namespace to plugin

Signed-off-by: Daniel Sanchez <[email protected]>

* Revert "add namespace to plugin"

This reverts commit 8aeee42.

Signed-off-by: Daniel Sanchez <[email protected]>

* Revert "change namespace"

This reverts commit 8cf69f8.

Signed-off-by: Daniel Sanchez <[email protected]>

* fix doc

Signed-off-by: Daniel Sanchez <[email protected]>

* fix back doc

Signed-off-by: Daniel Sanchez <[email protected]>

---------

Signed-off-by: Daniel Sanchez <[email protected]>
  • Loading branch information
danielsanchezaran authored and KhalilSelyan committed Jul 22, 2024
1 parent 1fc775f commit ebbade1
Show file tree
Hide file tree
Showing 39 changed files with 66 additions and 64 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ planning/behavior_path_lane_change_module/** [email protected] kosuke.tak
planning/behavior_path_planner/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_path_sampling_planner_module/** [email protected] [email protected]
planning/autoware_behavior_path_side_shift_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/autoware_behavior_path_start_planner_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/autoware_behavior_path_side_shift_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_path_start_planner_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_velocity_blind_spot_module/** [email protected] [email protected] [email protected]
planning/behavior_velocity_crosswalk_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Expand Down
2 changes: 1 addition & 1 deletion planning/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nav:
- 'Goal Planner': planning/behavior_path_goal_planner_module
- 'Lane Change': planning/behavior_path_lane_change_module
- 'Side Shift': planning/autoware_behavior_path_side_shift_module
- 'Start Planner': planning/behavior_path_start_planner_module
- 'Start Planner': planning/autoware_behavior_path_start_planner_module
- 'Static Obstacle Avoidance': planning/autoware_behavior_path_static_obstacle_avoidance_module
- 'Behavior Velocity Planner':
- 'About Behavior Velocity': planning/autoware_behavior_velocity_planner
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.14)
project(behavior_path_start_planner_module)
project(autoware_behavior_path_start_planner_module)

find_package(autoware_cmake REQUIRED)
autoware_package()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_

#include "autoware_behavior_path_planner_common/utils/parking_departure/geometric_parallel_parking.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/path_safety_checker_parameters.hpp"
Expand Down Expand Up @@ -134,4 +134,4 @@ struct StartPlannerParameters

} // namespace behavior_path_planner

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DATA_STRUCTS_HPP_
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 BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_

#include "behavior_path_start_planner_module/data_structs.hpp"
#include "autoware_behavior_path_start_planner_module/data_structs.hpp"

#include <string>
#include <vector>
Expand All @@ -36,4 +36,4 @@ void updateSafetyCheckDebugData(

} // namespace behavior_path_planner

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__DEBUG_HPP_
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 BEHAVIOR_PATH_START_PLANNER_MODULE__FREESPACE_PULL_OUT_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__FREESPACE_PULL_OUT_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__FREESPACE_PULL_OUT_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__FREESPACE_PULL_OUT_HPP_

#include "behavior_path_start_planner_module/pull_out_planner_base.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_planner_base.hpp"

#include <freespace_planning_algorithms/abstract_algorithm.hpp>
#include <freespace_planning_algorithms/astar_search.hpp>
Expand Down Expand Up @@ -49,4 +49,4 @@ class FreespacePullOut : public PullOutPlannerBase
};
} // namespace behavior_path_planner

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

#ifndef BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_HPP_

#include "autoware_behavior_path_planner_common/utils/parking_departure/geometric_parallel_parking.hpp"
#include "behavior_path_start_planner_module/pull_out_path.hpp"
#include "behavior_path_start_planner_module/pull_out_planner_base.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_path.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_planner_base.hpp"

#include <lane_departure_checker/lane_departure_checker.hpp>

Expand All @@ -43,4 +43,4 @@ class GeometricPullOut : public PullOutPlannerBase
};
} // namespace behavior_path_planner

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__GEOMETRIC_PULL_OUT_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 BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_HPP_

#include "autoware_behavior_path_planner_common/interface/scene_module_manager_interface.hpp"
#include "behavior_path_start_planner_module/start_planner_module.hpp"
#include "autoware_behavior_path_start_planner_module/start_planner_module.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down Expand Up @@ -53,4 +53,4 @@ class StartPlannerModuleManager : public SceneModuleManagerInterface

} // namespace behavior_path_planner

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__MANAGER_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 BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_

#include "autoware_behavior_path_planner_common/utils/path_shifter/path_shifter.hpp"

Expand All @@ -34,4 +34,4 @@ struct PullOutPath
Pose end_pose{};
};
} // namespace behavior_path_planner
#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PATH_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_HPP_

#include "autoware_behavior_path_planner_common/data_manager.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp"
#include "behavior_path_start_planner_module/data_structs.hpp"
#include "behavior_path_start_planner_module/pull_out_path.hpp"
#include "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/data_structs.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_path.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"

#include <geometry_msgs/msg/pose_stamped.hpp>
#include <tier4_planning_msgs/msg/path_with_lane_id.hpp>
Expand Down Expand Up @@ -102,4 +102,4 @@ class PullOutPlannerBase
};
} // namespace behavior_path_planner

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__PULL_OUT_PLANNER_BASE_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 BEHAVIOR_PATH_START_PLANNER_MODULE__SHIFT_PULL_OUT_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__SHIFT_PULL_OUT_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__SHIFT_PULL_OUT_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__SHIFT_PULL_OUT_HPP_

#include "behavior_path_start_planner_module/pull_out_path.hpp"
#include "behavior_path_start_planner_module/pull_out_planner_base.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_path.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_planner_base.hpp"

#include <lane_departure_checker/lane_departure_checker.hpp>

Expand Down Expand Up @@ -61,4 +61,4 @@ class ShiftPullOut : public PullOutPlannerBase
};
} // namespace behavior_path_planner

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

#ifndef BEHAVIOR_PATH_START_PLANNER_MODULE__START_PLANNER_MODULE_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__START_PLANNER_MODULE_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__START_PLANNER_MODULE_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__START_PLANNER_MODULE_HPP_

#include "autoware_behavior_path_planner_common/interface/scene_module_interface.hpp"
#include "autoware_behavior_path_planner_common/utils/parking_departure/common_module_data.hpp"
#include "autoware_behavior_path_planner_common/utils/parking_departure/geometric_parallel_parking.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/path_safety_checker_parameters.hpp"
#include "autoware_behavior_path_planner_common/utils/path_shifter/path_shifter.hpp"
#include "autoware_behavior_path_planner_common/utils/utils.hpp"
#include "behavior_path_start_planner_module/data_structs.hpp"
#include "behavior_path_start_planner_module/freespace_pull_out.hpp"
#include "behavior_path_start_planner_module/geometric_pull_out.hpp"
#include "behavior_path_start_planner_module/pull_out_path.hpp"
#include "behavior_path_start_planner_module/shift_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/data_structs.hpp"
#include "autoware_behavior_path_start_planner_module/freespace_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/geometric_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_path.hpp"
#include "autoware_behavior_path_start_planner_module/shift_pull_out.hpp"

#include <lane_departure_checker/lane_departure_checker.hpp>
#include <vehicle_info_util/vehicle_info.hpp>
Expand Down Expand Up @@ -336,4 +336,4 @@ class StartPlannerModule : public SceneModuleInterface
};
} // namespace behavior_path_planner

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

#ifndef BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_
#define BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_
#ifndef AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_
#define AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_

#include "autoware_behavior_path_planner_common/data_manager.hpp"
#include "autoware_behavior_path_planner_common/utils/drivable_area_expansion/static_drivable_area.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/path_safety_checker_parameters.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/safety_check.hpp"
#include "behavior_path_start_planner_module/pull_out_path.hpp"
#include "autoware_behavior_path_start_planner_module/pull_out_path.hpp"

#include <route_handler/route_handler.hpp>

Expand Down Expand Up @@ -55,4 +55,4 @@ std::optional<PathWithLaneId> extractCollisionCheckSection(
const PullOutPath & path, const double collision_check_distance_from_end);
} // namespace behavior_path_planner::start_planner_utils

#endif // BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_
#endif // AUTOWARE_BEHAVIOR_PATH_START_PLANNER_MODULE__UTIL_HPP_
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>behavior_path_start_planner_module</name>
<name>autoware_behavior_path_start_planner_module</name>
<version>0.1.0</version>
<description>The behavior_path_start_planner_module package</description>
<description>The autoware_behavior_path_start_planner_module package</description>

<maintainer email="[email protected]">Kosuke Takeuchi</maintainer>
<maintainer email="[email protected]">Kyoichi Sugahara</maintainer>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<library path="behavior_path_start_planner_module">
<library path="autoware_behavior_path_start_planner_module">
<class type="behavior_path_planner::StartPlannerModuleManager" base_class_type="behavior_path_planner::SceneModuleManagerInterface"/>
</library>
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 "behavior_path_start_planner_module/debug.hpp"
#include "autoware_behavior_path_start_planner_module/debug.hpp"

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

#include "behavior_path_start_planner_module/freespace_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/freespace_pull_out.hpp"

#include "autoware_behavior_path_planner_common/utils/parking_departure/utils.hpp"
#include "autoware_behavior_path_planner_common/utils/path_utils.hpp"
#include "autoware_behavior_path_planner_common/utils/utils.hpp"
#include "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"

#include <lanelet2_extension/utility/utilities.hpp>

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

#include "behavior_path_start_planner_module/geometric_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/geometric_pull_out.hpp"

#include "autoware_behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp"
#include "autoware_behavior_path_planner_common/utils/path_utils.hpp"
#include "autoware_behavior_path_planner_common/utils/utils.hpp"
#include "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"
#include "tier4_autoware_utils/geometry/boost_polygon_utils.hpp"

#include <lanelet2_extension/utility/utilities.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 "behavior_path_start_planner_module/manager.hpp"
#include "autoware_behavior_path_start_planner_module/manager.hpp"

#include "tier4_autoware_utils/ros/update_param.hpp"

Expand Down
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.

#include "behavior_path_start_planner_module/shift_pull_out.hpp"
#include "autoware_behavior_path_start_planner_module/shift_pull_out.hpp"

#include "autoware_behavior_path_planner_common/utils/parking_departure/utils.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp"
#include "autoware_behavior_path_planner_common/utils/path_utils.hpp"
#include "autoware_behavior_path_planner_common/utils/utils.hpp"
#include "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"
#include "motion_utils/trajectory/path_with_lane_id.hpp"
#include "tier4_autoware_utils/geometry/boost_polygon_utils.hpp"

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

#include "behavior_path_start_planner_module/start_planner_module.hpp"
#include "autoware_behavior_path_start_planner_module/start_planner_module.hpp"

#include "autoware_behavior_path_planner_common/utils/parking_departure/utils.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp"
#include "autoware_behavior_path_planner_common/utils/path_safety_checker/path_safety_checker_parameters.hpp"
#include "autoware_behavior_path_planner_common/utils/path_utils.hpp"
#include "behavior_path_start_planner_module/debug.hpp"
#include "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/debug.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"
#include "motion_utils/trajectory/trajectory.hpp"

#include <lanelet2_extension/utility/message_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 "behavior_path_start_planner_module/util.hpp"
#include "autoware_behavior_path_start_planner_module/util.hpp"

#include "autoware_behavior_path_planner_common/utils/path_shifter/path_shifter.hpp"
#include "autoware_behavior_path_planner_common/utils/path_utils.hpp"
Expand Down
Loading

0 comments on commit ebbade1

Please sign in to comment.