descreption
This commit is contained in:
parent
a476e0a8b5
commit
7cd1c942d8
11
README.md
11
README.md
@ -1,4 +1,4 @@
|
|||||||
# GPS-SDR-SIM
|
# GPS-SDR-SIM realtime
|
||||||
|
|
||||||
GPS-SDR-SIM generates GPS baseband signal data streams, which can be converted
|
GPS-SDR-SIM generates GPS baseband signal data streams, which can be converted
|
||||||
to RF using software-defined radio (SDR) platforms, such as
|
to RF using software-defined radio (SDR) platforms, such as
|
||||||
@ -18,6 +18,14 @@ to RF using software-defined radio (SDR) platforms, such as
|
|||||||
$ gcc gpssim.c -lm -O3 -o gps-sdr-sim
|
$ gcc gpssim.c -lm -O3 -o gps-sdr-sim
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Realtime
|
||||||
|
|
||||||
|
Use -n option can connect to a TCP source in Gnuradio for realtime simulation.
|
||||||
|
|
||||||
|
The tcp source should be set in "Server" mode, listening to port 1234.
|
||||||
|
|
||||||
|
See tcp.grc as a example.
|
||||||
|
|
||||||
### Generating the GPS signal file
|
### Generating the GPS signal file
|
||||||
|
|
||||||
A user-defined trajectory can be specified in either a CSV file, which contains
|
A user-defined trajectory can be specified in either a CSV file, which contains
|
||||||
@ -69,6 +77,7 @@ Options:
|
|||||||
-b <iq_bits> I/Q data format [1/8/16] (default: 16)
|
-b <iq_bits> I/Q data format [1/8/16] (default: 16)
|
||||||
-i Disable ionospheric delay for spacecraft scenario
|
-i Disable ionospheric delay for spacecraft scenario
|
||||||
-v Show details about simulated channels
|
-v Show details about simulated channels
|
||||||
|
-n Use tcp connect to gnuradio for realtime simulation
|
||||||
```
|
```
|
||||||
|
|
||||||
The user motion can be specified in either dynamic or static mode:
|
The user motion can be specified in either dynamic or static mode:
|
||||||
|
1
gpssim.c
1
gpssim.c
@ -1661,6 +1661,7 @@ void usage(void)
|
|||||||
" -b <iq_bits> I/Q data format [1/8/16] (default: 16)\n"
|
" -b <iq_bits> I/Q data format [1/8/16] (default: 16)\n"
|
||||||
" -i Disable ionospheric delay for spacecraft scenario\n"
|
" -i Disable ionospheric delay for spacecraft scenario\n"
|
||||||
" -v Show details about simulated channels\n",
|
" -v Show details about simulated channels\n",
|
||||||
|
" -n Use TCP connect to gnuradio for realtime simulation\n",
|
||||||
((double)USER_MOTION_SIZE) / 10.0, STATIC_MAX_DURATION);
|
((double)USER_MOTION_SIZE) / 10.0, STATIC_MAX_DURATION);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user