title: Finch obstacle sensors is not working in java
body: <p>I am new to finch and java codes and im trying to make finch moves either left or right by its sensors.Hopefully someone can help . thank you </p>
  
  <pre><code>if(suzie.isFinchLevel()) {
          suzie.saySomething("Moving forward");
          suzie.sleep(1000);
          while (!suzie.isObstacle()){
          suzie.setWheelVelocities(100,100);
          if(suzie.isObstacleLeftSide()){ //turn right
              suzie.setWheelVelocities(100,0,2000);
          }
          else if (suzie.isObstacleRightSide()){
              suzie.setWheelVelocities(0,100,2000); //turn left
          }   
      }   
   }   
  </code></pre>