Closed anuppari closed 3 years ago
Actually, probably the best solution would be setting the parameters on the server in queryCamParams
, e.g., via local_nh.setParam("param")
.
Unless the default values in the camera differ from the default ROS parameters? Does it make sense to prefer the default hardware parameters over what the package sets as default?
There doesn't seem to be a way to use only the ueyedemo generated ini file to set the camera parameters rather than setting any ROS parameters. A basic launch file that doesn't set any of the camera parameters, e.g.,
will correctly pickup the
camera.ini
file, but then overwrites them with the default values set in the dynamic reconfigure cfg file.Not sure what would be a good solution to this, since the dynamic parameter server automatically handles overriding the default parameters with whatever parameters are set in the launch file, i.e., there's no real way of distinguishing default parameters from set values.
Couple ideas:
Any ideas?