added support for generic joint state publishing