From d0de1d751dd56bb0b8d1428854a8895bc7ce83ad Mon Sep 17 00:00:00 2001 From: Ephraim Kunz Date: Fri, 9 Mar 2018 08:58:21 -0700 Subject: [PATCH] Remove unnecessary warnings --- src/basler_camera_node.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/basler_camera_node.cpp b/src/basler_camera_node.cpp index 5c6bfe0..565d2b1 100644 --- a/src/basler_camera_node.cpp +++ b/src/basler_camera_node.cpp @@ -184,7 +184,7 @@ void handle_parameters(CInstantCamera& camera) private_handle.getParam(*k, v); if(param_name == "basler_params") { - ROS_WARN("Using legacy basler_params value."); + ROS_INFO("Using legacy basler_params value."); handle_basler_parameters(camera); break; } @@ -253,12 +253,6 @@ int main(int argc, char* argv[]) ros::init(argc, argv, "basler_camera"); ros::NodeHandle nh("~"); - if(!nh.hasParam("frame_rate")) - { - ROS_ERROR("frame_rate param has been removed. Please use AcquisitionFrameRate and remember to set AcquisitionFrameRateEnable=True"); - nh.deleteParam("frame_rate"); - } - string camera_info_url; if(!nh.getParam("camera_info_url", camera_info_url)) camera_info_url = "";