Open yuehanlyu opened 6 years ago
Oh, are you using one linear fit that obtained from the first package for all the following packages to receive?
@yuehanlyu I also found this question that you are facing.
I am also having the same issue. Based on the code, the phases of CSI measurements for the first packet are used for all other packets which make absolutely no sense! At first, I thought they are just using the same linear fit for the other packets, but based on line 77 in apotfi_algorithm_1, they are actually using the same values and same tau for all other packets, not only the same tau! I would really appreciate if someone could help me with this problem. @egaebel
@Zakieh @yuehanlyu @Challenger1132 Do you get over the problem now?
I have the same problem. How did you solve it.
Sorry for the very late reply, I don't know how I missed these. Actually I think I couldn't get any good result out of the code and just gave up on it :/. Sorry that I can't be of more help.
@Zakieh Thanks for reply. If you have any good result, please contact me. Have a good day.
Hi @egaebel. Thank you so much for sharing your code!
I have got a question in spotfi.m.
In line 61 you write
packet_one_phase_matrix = unwrap(angle(csi), pi, 2);
thus the packet_one_phase_matrix is assigned to be the unwrapped csi values of the first package.In line 84 you write
sanitized_csi = spotfi_algorithm_1(csi, sub_freq_delta, packet_one_phase_matrix);
in the parfor loop. Thus the packet_one_phase_matrix is passed into spotfi_algorithm_1, which means the same packet_one_phase_matrix (that generated from the first package) is used for all packages.Maybe I miss something, but I don't think this should be the case. Could you please explain a little bit?