Skip to content

Commit

Permalink
fix(autoware_static_centerline_generator): fix clang-tidy issues
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Apr 15, 2024
1 parent de52342 commit f7875eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ namespace autoware::static_centerline_generator
using autoware::static_centerline_generator::srv::LoadMap;
using autoware::static_centerline_generator::srv::PlanPath;
using autoware::static_centerline_generator::srv::PlanRoute;
using ::route_handler::RouteHandler;

struct CenterlineWithRoute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ using autoware_auto_planning_msgs::msg::PathWithLaneId;
using autoware_auto_planning_msgs::msg::Trajectory;
using autoware_auto_planning_msgs::msg::TrajectoryPoint;
using autoware_planning_msgs::msg::LaneletRoute;
using route_handler::RouteHandler;
using tier4_autoware_utils::LinearRing2d;
using tier4_autoware_utils::LineString2d;
using tier4_autoware_utils::Point2d;
using visualization_msgs::msg::MarkerArray;
} // namespace autoware::static_centerline_generator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ geometry_msgs::msg::Pose get_center_pose(

PathWithLaneId get_path_with_lane_id(
const RouteHandler & route_handler, const lanelet::ConstLanelets & lanelets,
const geometry_msgs::msg::Pose & start_pose, const double nearest_ego_dist_threshold,
const geometry_msgs::msg::Pose & start_pose, const double ego_nearest_dist_threshold,
const double nearest_ego_yaw_threshold);

void update_centerline(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@

namespace autoware::static_centerline_generator
{
using ::tier4_autoware_utils::Point2d;

namespace
{
std::vector<lanelet::Id> get_lane_ids_from_route(const LaneletRoute & route)
Expand Down

0 comments on commit f7875eb

Please sign in to comment.