Added function to softly check motor value