`rosmsg list` or `rosmsg show` equivalent for dynamic reconfigure?
Is there a way to list every dynamic reconfigure config on the system, and then show the config parameters for a specific one?
I was about to create a new cfg file for a project and was wondering if there was already a similar one in existence. This isn't a super compelling usage since there isn't a way to re-use cfg files inside other cfg files (though maybe that wouldn't be hard to add), I would either find something that works but if one parameter was missing I would have to cut and paste every gen.add into a new cfg.
It looks like locate Config.h | grep opt
shows all the reconfigure files installed into opt, but the autogenerated headers aren't very readable.
Have you looked at the dynparam command?
rosrun dynamic_reconfigure dynparam list
shows live nodes that have dynamic reconfigure services, not all available types. It is akin to rosservice list when I want rossrv list.You're right, I misread your question. I'm not aware of any tool that can do this, but it shouldn't be too hard to create something (
catkin_pkg
for the pkgs with dyncfg and then some parsing of the.cfg
files). Would make a nice rainy day project.Moved answer to comment section as it's not an actual answer.
That would work when the source code is present, but the .cfg files don't come with the pre-built packages... but maybe all those *Config.h files (or the python equivalents) could be parsed into a concise summary- or even in the same gen.add python format so it could be cut and paste into a new .cfg