Anugvc / satellite-position-search

A c++ program to search for satellite positions bounded by a user defined region
0 stars 0 forks source link

what is total timing for 30000 satelites using this program? #1

Open harshbakori opened 2 months ago

harshbakori commented 2 months ago

@Anugvc

Anugvc commented 2 months ago

Hi @harshbakori The 30000sats.txt file I got contained 8451 satellite values. For 8451 satellites 1440 positions each, there are 12169440 total positions, it took less than 4 seconds to parse the file, propagate , search positions from the test case and write the results to a file. (104239 positions found inside the region). I couldn't try with 30000 satellites because each satellite needed to be unique as the tle parser ignores duplicate values. I could update the time if another sample is provided

Anugvc commented 2 months ago

Hi @harshbakori , I have found few bugs due to which the values of mse and llh may not be correct in the Positions.txt file. I have fixed them and renamed the previous Positions.txt to Positions_old.txt. The code now completes execution in ~3.9 seconds

harshbakori commented 2 months ago

l30000.txt

more over how will i run it?

Anugvc commented 2 months ago

Thanks for the sample file. You need to open the sln file in visual studio. Im using Visual studio community edition 2022 with C++ IDE. C++ needs to be installed within the visual studio installer while installing the IDE. There may be some configuration that needs to be done before you can run it. I have mentioned them in the README file. There is no need to install any library . Only dependency is the sgp4 libraries and source files which are present inside the Sgp4Prop directory.