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 Mar 27, 2024
1 parent 77b0c56 commit a2e8ce1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions common/autoware_control_center/src/autoware_control_center.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <chrono>


namespace autoware_control_center
{

Expand All @@ -40,7 +39,8 @@ AutowareControlCenter::AutowareControlCenter(const rclcpp::NodeOptions & options
declare_parameter<int>("node_report_period", 1000);
std::chrono::milliseconds lease_duration_(get_parameter("lease_duration").as_int());
startup_duration_ = get_parameter("startup_duration").as_double();
std::chrono::milliseconds startup_callback_period(get_parameter("startup_callback_period").as_int());
std::chrono::milliseconds startup_callback_period(
get_parameter("startup_callback_period").as_int());
std::chrono::milliseconds node_report_period(get_parameter("node_report_period").as_int());

callback_group_mut_ex_ = create_callback_group(rclcpp::CallbackGroupType::MutuallyExclusive);
Expand All @@ -61,14 +61,14 @@ AutowareControlCenter::AutowareControlCenter(const rclcpp::NodeOptions & options

node_reports_pub_ = create_publisher<autoware_control_center_msgs::msg::AutowareNodeReports>(
"~/autoware_node_reports", 1);
node_reports_timer_ =
create_wall_timer(node_report_period, std::bind(&AutowareControlCenter::node_reports_callback, this));
node_reports_timer_ = create_wall_timer(
node_report_period, std::bind(&AutowareControlCenter::node_reports_callback, this));

acc_uuid_ = autoware_utils::generate_uuid();
startup_ = true;
startup_timestamp_ = this->get_clock()->now();
startup_timer_ =
this->create_wall_timer(startup_callback_period, std::bind(&AutowareControlCenter::startup_callback, this));
startup_timer_ = this->create_wall_timer(
startup_callback_period, std::bind(&AutowareControlCenter::startup_callback, this));
}

void AutowareControlCenter::register_node(
Expand Down

0 comments on commit a2e8ce1

Please sign in to comment.