Provide parameters to OpenCV C++ program in ROS from external file
I want to write a program using OpenCV C++ interface in ROS. I want to provide parameters used by the program from external file(not sure which format will be apt).
Say, I use the threshold function in the program, instead of changing the threshold value each time in the program,make and then run, I want the program to fetch the threshold value from a file so that if I wish to change any value, I could do it in the external file.
I want this because I think it will be helpful to a third-person who can just change the various parameters in the file and observe the result rather than opening the program, change values,make and run (Sometimes the third person may not be a programmer and just wishes to see the results, in that case he would not know the technicalities of where to change parameters in the program)
I am new to ROS. I am using Fuerte. Is there any way to do this in ROS ??
Thank you