Sonar and motor examples working