fix segfault.
Merge branch 'develop' of https://github.com/nubots/robocup into develop