Skip to content

Commit

Permalink
Remove unnecessary warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimkunz committed Mar 9, 2018
1 parent d416558 commit d0de1d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/basler_camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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 = "";
Expand Down

0 comments on commit d0de1d7

Please sign in to comment.