Closed Fullmoon34213 closed 2 months ago
Hello,
During each iteration, the PF computes the weighted average. The center_life
contains these successive positions estimated by the PF. You want to compare those to the PDR estimated ones.
The coordinates are generated when a step event occurs. The system is strictly event-driven (not time). So, the estimation is not periodical.
Have a nice day.
Thank you for your kind response. I understood how it works and was able to achieve the results I wanted.
Hello.
First of all, thank you for providing the code and the paper. I have conducted PDR (Pedestrian Dead Reckoning) using the provided code for test purpose and obtained meaningful results. I would like to compare the coordinates obtained through DR with those corrected based on the Grid map at the same timestamps. Therefore, I would like to include timestamps for each coordinate in the code. From my analysis of the code, it seems that the coordinates obtained through DR are stored in pdr_positions in main.py(line 81),
pdr_positions, total_distance = compute_positions(*perform_pdr(acce, gyro, **kwargs)
and the corrected coordinates based on the Grid map are likely to be found in plot_particles_center within visualize.py(line 121,122).X = [center.x for center in center_positions] Y = [center.y for center in center_positions]
My questions are as follows:Thank you for reading my message, and I would greatly appreciate your response as it would be immensely helpful to me. Thank you, and have a great day.