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 technolojin committed Jul 31, 2024
1 parent b623e44 commit 6cee80e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ MultiObjectTracker::MultiObjectTracker(const rclcpp::NodeOptions & node_options)
// If the delay compensation is enabled, the timer is used to publish the output at the correct
// time.
if (enable_delay_compensation) {
publisher_period_ = 1.0 / publish_rate; // [s]
publisher_period_ = 1.0 / publish_rate; // [s]
constexpr double timer_multiplier = 1.0; // 2 times frequent for publish timing check
const auto timer_period = rclcpp::Rate(publish_rate * timer_multiplier).period();
publish_timer_ = rclcpp::create_timer(
Expand Down

0 comments on commit 6cee80e

Please sign in to comment.