WirelessDiag::setInterface() and WirelessDiag;:getInfo() display diagnostics and call WirelessDiag::calcBitRate() which return corrupt values when variables receive_stat and/or transmit_stat are empty, executes stoi on empty strings. Can replicate bug by adding receive_stat.clear(); and/or transmit_stat.clear(); before calling stoi.
WirelessDiag::setInterface() and WirelessDiag;:getInfo() display diagnostics and call WirelessDiag::calcBitRate() which return corrupt values when variables receive_stat and/or transmit_stat are empty, executes stoi on empty strings. Can replicate bug by adding receive_stat.clear(); and/or transmit_stat.clear(); before calling stoi.

BCLab-UNM/SwarmBaseCode-ROS,BCLab-UNM/SwarmBaseCode-ROS,BCLab-UNM/SwarmBaseCode-ROS,BCLab-UNM/SwarmBaseCode-ROS,BCLab-UNM/SwarmBaseCode-ROS,BCLab-UNM/SwarmBaseCode-ROS