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] committed Apr 15, 2024
1 parent 8415c9d commit f7b938b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
#ifndef STATIC_CENTERLINE_GENERATOR__STATIC_CENTERLINE_GENERATOR_NODE_HPP_
#define STATIC_CENTERLINE_GENERATOR__STATIC_CENTERLINE_GENERATOR_NODE_HPP_

#include "rclcpp/rclcpp.hpp"
#include "autoware_static_centerline_generator/centerline_source/optimization_trajectory_based_centerline.hpp"
#include "autoware_static_centerline_generator/srv/load_map.hpp"
#include "autoware_static_centerline_generator/srv/plan_path.hpp"
#include "autoware_static_centerline_generator/srv/plan_route.hpp"
#include "autoware_static_centerline_generator/type_alias.hpp"
#include "rclcpp/rclcpp.hpp"
#include "vehicle_info_util/vehicle_info_util.hpp"

#include <geography_utils/lanelet2_projector.hpp>
Expand Down Expand Up @@ -69,7 +69,7 @@ class StaticCenterlineGeneratorNode : public rclcpp::Node
CenterlineWithRoute generate_centerline_with_route();
// plan path
std::vector<TrajectoryPoint> plan_path(const std::vector<lanelet::Id> & route_lane_ids);
static std::vector<TrajectoryPoint> optimize_trajectory(const Path & raw_path) ;
static std::vector<TrajectoryPoint> optimize_trajectory(const Path & raw_path);
void on_plan_path(
const PlanPath::Request::SharedPtr request, const PlanPath::Response::SharedPtr response);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef AUTOWARE_STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_
#define AUTOWARE_STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_
#ifndef STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_
#define STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_

#include "route_handler/route_handler.hpp"
#include "tier4_autoware_utils/geometry/geometry.hpp"
Expand Down Expand Up @@ -41,4 +41,4 @@ using tier4_autoware_utils::LineString2d;
using visualization_msgs::msg::MarkerArray;
} // namespace autoware::static_centerline_generator

#endif // AUTOWARE_STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_
#endif // STATIC_CENTERLINE_GENERATOR__TYPE_ALIAS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#ifndef STATIC_CENTERLINE_GENERATOR__UTILS_HPP_
#define STATIC_CENTERLINE_GENERATOR__UTILS_HPP_

#include "route_handler/route_handler.hpp"
#include "autoware_static_centerline_generator/type_alias.hpp"
#include "route_handler/route_handler.hpp"

#include <rclcpp/time.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

#include "autoware_static_centerline_generator/static_centerline_generator_node.hpp"

#include "autoware_static_centerline_generator/centerline_source/bag_ego_trajectory_based_centerline.hpp"
#include "autoware_static_centerline_generator/msg/points_with_lane_id.hpp"
#include "autoware_static_centerline_generator/type_alias.hpp"
#include "autoware_static_centerline_generator/utils.hpp"
#include "autoware_static_centerline_optimizer/msg/points_with_lane_id.hpp"
#include "autoware_static_centerline_optimizer/type_alias.hpp"
#include "autoware_static_centerline_optimizer/utils.hpp"
Expand All @@ -24,10 +28,6 @@
#include "map_projection_loader/load_info_from_lanelet2_map.hpp"
#include "motion_utils/resample/resample.hpp"
#include "motion_utils/trajectory/conversion.hpp"
#include "autoware_static_centerline_generator/centerline_source/bag_ego_trajectory_based_centerline.hpp"
#include "autoware_static_centerline_generator/msg/points_with_lane_id.hpp"
#include "autoware_static_centerline_generator/type_alias.hpp"
#include "autoware_static_centerline_generator/utils.hpp"
#include "obstacle_avoidance_planner/node.hpp"
#include "path_smoother/elastic_band_smoother.hpp"
#include "tier4_autoware_utils/geometry/geometry.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
def generate_test_description():
lanelet2_map_path = os.path.join(
get_package_share_directory("autoware_static_centerline_generator"),
"test/data/lanelet2_map.osm"
"test/data/lanelet2_map.osm",
)

static_centerline_generator_node = Node(
Expand Down

0 comments on commit f7b938b

Please sign in to comment.