osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.61k stars 760 forks source link

Real time GPS Simulation #363

Open shauryaneel opened 1 year ago

shauryaneel commented 1 year ago

Hello All,

I am trying to simulate the GPS real time. I get the GPS data (lat, long, elevation) from Carla simulator (driving simulator). The GPS data gets updated every 100ms in carla simulator and I want to send these dynamic GPS data to HackRF to perform gps spoofing.

I understood that dynamic gps spoofing can be done by using the static csv files available in this project and this csv file should be given input. By using csv file, it again makes it as the static coordinates (This csv file contains the coordinates for the usermotion). There is no real-time or at run time gps spoofing.

In my scenario I directly want to send the gps coordinates every 100-200ms to hackrf. Is it possible by using this Software package ?

osqzss commented 1 year ago

GPS-SDR-SIM is not intended to run in real time. For HackRF, try multi-sdr-gps-sim: https://github.com/Mictronics/multi-sdr-gps-sim

shauryaneel commented 1 year ago

Thanks a lot for your quick reply, I will try doing with the https://github.com/Mictronics/multi-sdr-gps-sim.

Gerald0217 commented 8 months ago

Hello, respected experts,can I directly input latitude and longitude to transmit GPS simulated signals without generating the gpssim.bin file?

jvictors-tp commented 7 months ago

@Gerald0217 with the tool linked above, yes.

Note that you will absolutely need to use a Faraday cage for this either way.