Skip to content

Commit

Permalink
Change param type
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Delicat <[email protected]>
  • Loading branch information
miloszlagan and delihus authored Nov 22, 2024
1 parent 993a8a3 commit 93b18fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion husarion_ugv_manager/src/lights_manager_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void LightsManagerNode::Initialize()
"hardware/e_stop", rclcpp::QoS(rclcpp::KeepLast(1)).transient_local().reliable(),
std::bind(&LightsManagerNode::EStopCB, this, _1));

const float timer_freq = this->params_.timer_frequency;
const double timer_freq = this->params_.timer_frequency;
const auto timer_period_ms =
std::chrono::milliseconds(static_cast<unsigned>(1.0f / timer_freq * 1000));

Expand Down

0 comments on commit 93b18fa

Please sign in to comment.