Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and zulfaqar-azmi-t4 committed May 16, 2024
1 parent 4b8eb93 commit 851e1b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@

#ifndef AUTOWARE_PLANNING_TEST_MANAGER__AUTOWARE_PLANNING_TEST_MANAGER_UTILS_HPP_
#define AUTOWARE_PLANNING_TEST_MANAGER__AUTOWARE_PLANNING_TEST_MANAGER_UTILS_HPP_
#include <planning_test_utils/planning_test_utils.hpp>
#include <route_handler/route_handler.hpp>
#include <nav_msgs/msg/odometry.hpp>
#include <geometry_msgs/msg/pose.hpp>

#include <autoware_planning_msgs/msg/lanelet_route.hpp>
#include <planning_test_utils/planning_test_utils.hpp>
#include <geometry_msgs/msg/pose.hpp>
#include <nav_msgs/msg/odometry.hpp>

namespace autoware_planning_test_manager::utils
{
using route_handler::RouteHandler;
using nav_msgs::msg::Odometry;
using geometry_msgs::msg::Pose;
using autoware_planning_msgs::msg::LaneletRoute;
using geometry_msgs::msg::Pose;
using nav_msgs::msg::Odometry;
using route_handler::RouteHandler;
using RouteSections = std::vector<autoware_planning_msgs::msg::LaneletSegment>;

Pose createPoseFromLaneID(const lanelet::Id & lane_id)
Expand Down Expand Up @@ -92,7 +93,8 @@ LaneletRoute makeBehaviorRouteFromLaneId(const int & start_lane_id, const int &
// create local route sections
route_handler->setRouteLanelets(path_lanelets);
const auto local_route_sections = route_handler->createMapSegments(path_lanelets);
route_sections = test_utils::combineConsecutiveRouteSections(route_sections, local_route_sections);
route_sections =
test_utils::combineConsecutiveRouteSections(route_sections, local_route_sections);
for (const auto & route_section : route_sections) {
for (const auto & primitive : route_section.primitives) {
std::cerr << "primitive: " << primitive.id << std::endl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

#include <autoware_planning_test_manager/autoware_planning_test_manager.hpp>
#include <autoware_planning_test_manager/autoware_planning_test_manager_utils.hpp>
#include <tier4_autoware_utils/geometry/geometry.hpp>

#include <planning_test_utils/planning_test_utils.hpp>
#include <tier4_autoware_utils/geometry/geometry.hpp>

namespace planning_test_utils
{
Expand Down

0 comments on commit 851e1b7

Please sign in to comment.