Skip to content

Commit

Permalink
Merge pull request #1 from fireflyautomatix/add-default-to-parameters…
Browse files Browse the repository at this point in the history
…-for-humble

adding default to the parameter so that it compiles in Humble
  • Loading branch information
vinnnyr authored Jan 30, 2024
2 parents f2886f1 + f587e36 commit 78e668f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw_watchdog/src/simple_heartbeat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SimpleHeartbeat : public rclcpp::Node
: Node("simple_heartbeat", options.start_parameter_event_publisher(false).
start_parameter_services(false))
{
declare_parameter("period");
declare_parameter("period", 100);

const std::vector<std::string>& args = this->get_node_options().arguments();
// Parse node arguments
Expand Down

0 comments on commit 78e668f

Please sign in to comment.