code: def setMinGap(self, typeID, minGap):
          
          self._connection._sendDoubleCmd(
              tc.CMD_SET_VEHICLETYPE_VARIABLE, tc.VAR_MINGAP, typeID, minGap)
docs: setMinGap(string, double) -> None
  
          Sets the offset (gap to front vehicle if halting) of vehicles of this type.