crescentvenus / WALB

WALB is raspberry Pi and HackRF based Wireless Attack LaunchBox.
122 stars 29 forks source link

Interactive location doesn't work #17

Open titou420 opened 4 years ago

titou420 commented 4 years ago

Hi ! Ive got a problem with WALB/bin/gps-sdr-sim_x64 My commands: $ mkfifo fifoo $ ./gps-sdr-sim_x64 -e ~/brdc2460.20n -l latlon -o fifoo -b 8 $ hackrf_transfer -t fifoo -f 1575420000 -s 2600000 -a 1 -x 0 -R

At first, latlon contains: 43.000000,15.000000,10.0 I let gps-sdr-sim turn for approximately 150seconds then I put with gedit in latlon: 42.000000,15.000000,10.0 When I press control+S to save the new coordinates, then gps-sdr-sim crash with an segmentation fault error

I dont know what I need to do to fix that..

Note: I also tried to generate a normal file instead of fifo but the probleme is the same. Note: I found that if I change a little the coordinate, it seem to works and the gps-sdr-sim doesnt crash ... example: At first, latlon contains: 43.000000,15.000000,10.0 I let gps-sdr-sim turn for approximately 150seconds then I put with gedit in latlon: 43.100000,15.000000,10.0 When I press control+S to save the new coordinates, then gps-sdr-sim doesn't crash anymore ...

With regards, T.Quelen

crescentvenus commented 4 years ago

That may be normal. The position should not be changed too much in a moment. I think GPS-SDR-SIM does not work properly if the acceleration rate is too high.