Fixed publishing of states.
Merge branch 'master' of https://github.com/KTH-RAS-4/wheatley