adding check to make sure dynamic reconfigure has been called before mes...

...sage generation