driveForward(mm) {
    if (mm > 0) {
      this.actions.push({"driveForwardMm": Math.min(mm, 5000)});
    }
  }
// Cap max driving distance in any conditions to no more than 5 meters
Cap max driving distance in any conditions to no more than 5 meters
Cap max driving distance in any conditions to no more than 5 meters
driveForward(mm) {
    if (mm > 0) {
      this.actions.push({"driveForwardMm": Math.min(mm, 5000)});
    }
  }
driveForward ( mm ) { if ( mm > 0 ) { this . actions . push ( { "driveForwardMm" : Math . min ( mm , 5000 ) } ) ; } }
Cap max driving distance in any conditions to no more than 5 meters
Cap max driving distance in any conditions to no more than 5 meters