turnRight(degrees) {
    if (degrees > IGNORE_TURN_DEGREE) {
      this.actions.push({"turnRight": Math.min(degrees, 1000)});
    }
  }
// Cap max turn angle to 1000 degrees in any conditions
Cap max turn angle to 1000 degrees in any conditions
Cap max turn angle to 1000 degrees in any conditions
turnRight(degrees) {
    if (degrees > IGNORE_TURN_DEGREE) {
      this.actions.push({"turnRight": Math.min(degrees, 1000)});
    }
  }
turnRight ( degrees ) { if ( degrees > IGNORE_TURN_DEGREE ) { this . actions . push ( { "turnRight" : Math . min ( degrees , 1000 ) } ) ; } }
Cap max turn angle to 1000 degrees in any conditions
Cap max turn angle to 1000 degrees in any conditions