diff --git a/versions/main/_base_controller_interface_8cpp_source.html b/versions/main/_base_controller_interface_8cpp_source.html index e72ae7b1..5e2b2b97 100644 --- a/versions/main/_base_controller_interface_8cpp_source.html +++ b/versions/main/_base_controller_interface_8cpp_source.html @@ -135,7 +135,7 @@
47 predicate_message_.type = modulo_interfaces::msg::PredicateCollection::CONTROLLER;
48
49 predicate_timer_ = get_node()->create_wall_timer(
-
50 std::chrono::nanoseconds(static_cast<int64_t>(1e9 / get_parameter_value<int>("predicate_publishing_rate"))),
+
50 std::chrono::nanoseconds(static_cast<int64_t>(1e9 / get_parameter_value<double>("predicate_publishing_rate"))),
51 [this]() { this->publish_predicates(); });
52 }
53
diff --git a/versions/main/_controller_interface_8cpp_source.html b/versions/main/_controller_interface_8cpp_source.html index eb1248cb..24901d1b 100644 --- a/versions/main/_controller_interface_8cpp_source.html +++ b/versions/main/_controller_interface_8cpp_source.html @@ -114,7 +114,7 @@
28 "activation_timeout", 1.0, "The seconds to wait for valid data on the state interfaces before activating");
29 add_parameter<double>(
30 "input_validity_period", 1.0, "The maximum age of an input state before discarding it as expired");
-
31 add_parameter<int>("predicate_publishing_rate", 10, "The rate at which to publish controller predicates");
+
31 add_parameter<double>("predicate_publishing_rate", 10.0, "The rate at which to publish controller predicates");
32
33 return add_interfaces();
34 } catch (const std::exception& e) {