Dynamic reconfigure default to infinity
Hi, I want to have a dynamic reconfigure server in my node, but I would like some of the parameters to default to infinity (instead of just a very large value). Is this possible?
Thanks!
Nobody knows whether this is possible?
Well Python does support infinity (use
float("inf")
), but I'm not sure what that will do withdynamic_reconfigure
if you configure it as the default for a field. Also: I'm not sure that is a valid value for sliders fi.You mean to write in the
.cfg
float("inf")
? That is my question about, what about sliders, and also upper and lower bounds. I think it is not possible but just wanted to be sure. Probably the only way of doing this is to set an additional flag as "inifinity_param1" or something like that.You can try and see what happens. About a year ago I opened an issue for a
rqt-reconfigure
agnostic double editor that would be useful to many rqt plugins. So far no dev time has been spent on it.