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 Jan 23, 2025
1 parent aba16ba commit c77efda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#include <autoware/motion_utils/trajectory/trajectory.hpp>
#include <rclcpp/rclcpp.hpp>

#include <autoware_internal_debug_msgs/msg/float32_stamped.hpp>
#include <autoware_planning_msgs/msg/trajectory.hpp>
#include <geometry_msgs/msg/pose_with_covariance_stamped.hpp>
#include <autoware_internal_debug_msgs/msg/float32_stamped.hpp>

class LateralErrorPublisher : public rclcpp::Node
{
Expand Down
2 changes: 1 addition & 1 deletion common/tier4_debug_tools/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_internal_debug_msgs</depend>
<depend>autoware_motion_utils</depend>
<depend>autoware_planning_msgs</depend>
<depend>autoware_universe_utils</depend>
<depend>geometry_msgs</depend>
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>
<depend>tf2_ros</depend>
<depend>autoware_internal_debug_msgs</depend>

<exec_depend>launch_ros</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-rtree</exec_depend>
Expand Down
7 changes: 4 additions & 3 deletions common/tier4_debug_tools/src/lateral_error_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ LateralErrorPublisher::LateralErrorPublisher(const rclcpp::NodeOptions & node_op
sub_ground_truth_pose_ = create_subscription<geometry_msgs::msg::PoseWithCovarianceStamped>(
"~/input/ground_truth_pose_with_covariance", rclcpp::QoS{1},
std::bind(&LateralErrorPublisher::onGroundTruthPose, this, _1));
pub_control_lateral_error_ =
create_publisher<autoware_internal_debug_msgs::msg::Float32Stamped>("~/control_lateral_error", 1);
pub_control_lateral_error_ = create_publisher<autoware_internal_debug_msgs::msg::Float32Stamped>(
"~/control_lateral_error", 1);
pub_localization_lateral_error_ =
create_publisher<autoware_internal_debug_msgs::msg::Float32Stamped>("~/localization_lateral_error", 1);
create_publisher<autoware_internal_debug_msgs::msg::Float32Stamped>(
"~/localization_lateral_error", 1);
pub_lateral_error_ =
create_publisher<autoware_internal_debug_msgs::msg::Float32Stamped>("~/lateral_error", 1);
}
Expand Down

0 comments on commit c77efda

Please sign in to comment.