Don´t understand ROS::nodehandler [closed]
I have the following code.
double globalResizingFactor; ros::init(argc, argv, "image_listener"); ros::NodeHandle nh; ...
if (!nh.getParam("resizing_factor", globalResizingFactor)) { ROS_ERROR (" .... "); ros::shutdown(); }
This code compiles with no problems, but it is a transition from a old ROS distribution to a more recente one, this is, Fuerte to Hydro, both are very diferent, a made a huge problem to be solved, the fact is that I was able to change e few things and compile.
When Runing It stops here, at this if, since the globalResizingFactor isn´t got, it fails. Please some help understanding what´s hapening in this code.
Rodrigo