fixed function checkForHomePos() which was causing segfault when an arm is not enabled in robotInterface