From 8b551cdeb72907bd99fa4a3cc164c21f9d2dcc0f Mon Sep 17 00:00:00 2001 From: Alopez <alopez@iri.upc.edu> Date: Wed, 11 Jan 2023 11:40:27 +0100 Subject: [PATCH] Changed patiente and frequency ouput ports from int to double --- include/iri_nav_module/nav_module_bt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/iri_nav_module/nav_module_bt.h b/include/iri_nav_module/nav_module_bt.h index d3bf24d..589b840 100644 --- a/include/iri_nav_module/nav_module_bt.h +++ b/include/iri_nav_module/nav_module_bt.h @@ -301,13 +301,13 @@ class CNavModuleBT BT::PortsList set_max_retries_ports = {BT::InputPort<int>("retries")}; BT::PortsList get_max_retries_ports = {BT::OutputPort<int>("retries")}; BT::PortsList set_planner_freq_ports = {BT::InputPort<double>("freq")}; - BT::PortsList get_planner_freq_ports = {BT::OutputPort<int>("freq")}; + BT::PortsList get_planner_freq_ports = {BT::OutputPort<double>("freq")}; BT::PortsList set_planner_patience_ports = {BT::InputPort<double>("time")}; - BT::PortsList get_planner_patience_ports = {BT::OutputPort<int>("time")}; + BT::PortsList get_planner_patience_ports = {BT::OutputPort<double>("time")}; BT::PortsList set_controller_freq_ports = {BT::InputPort<double>("freq")}; - BT::PortsList get_controller_freq_ports = {BT::OutputPort<int>("freq")}; + BT::PortsList get_controller_freq_ports = {BT::OutputPort<double>("freq")}; BT::PortsList set_controller_patience_ports = {BT::InputPort<double>("time")}; - BT::PortsList get_controller_patience_ports = {BT::OutputPort<int>("time")}; + BT::PortsList get_controller_patience_ports = {BT::OutputPort<double>("time")}; std::size_t found = this->nav_module.get_name().find_last_of("/\\"); name=this->nav_module.get_name().substr(found+1); -- GitLab