Removed cliff detection from the head sensor since this can cause problems