diff --git a/ur_robot_driver/src/hardware_interface.cpp b/ur_robot_driver/src/hardware_interface.cpp index c27a36ea..06f915c0 100644 --- a/ur_robot_driver/src/hardware_interface.cpp +++ b/ur_robot_driver/src/hardware_interface.cpp @@ -247,7 +247,7 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw } tool_comm_setup->setStopBits(stop_bits); - int rx_idle_chars; + float rx_idle_chars; // Number of idle chars for the RX unit used for tool communication. Will be set as soon as the UR-Program on the // robot is started. Valid values: min=1.0, max=40.0 // @@ -261,7 +261,7 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw tool_comm_setup->setRxIdleChars(rx_idle_chars); tool_comm_setup->setParity(static_cast(parity)); - int tx_idle_chars; + float tx_idle_chars; // Number of idle chars for the TX unit used for tool communication. Will be set as soon as the UR-Program on the // robot is started. Valid values: min=0.0, max=40.0 //