Simulates a 2D (Gaussian pulse) wave and the readings of three IMUs around it in real time.
And then uses the data from the IMUs to try and figure out the location of origin of the pulse (by TDoA).
Can also simulate obstacles with varying levels of absorption (uncomment line below extra boundary conditions)
#obstacle
Z[1,130,20:100] = 0#or only slightly absorb the energy
Z[1,130,20:100] *= 0.8Can adjust any of the starting conditions to change the simulation like L_x, c or imu1_x
Can also adjust size and location of pulse and also frame rate of simulation.
Black dots on plot are IMUs. Fig1, 3 and 4 are of simulation with resistance upto boundary, Fig2 is of simulation without resistance after reflecting off boundary.
