readme
This commit is contained in:
parent
05b364ff89
commit
7f94850c4f
23
README.md
23
README.md
@ -18,7 +18,7 @@ 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 by Gnuradio
|
### Realtime by Gnuradio
|
||||||
|
|
||||||
Use -n option can connect to a TCP source in Gnuradio for realtime simulation.
|
Use -n option can connect to a TCP source in Gnuradio for realtime simulation.
|
||||||
|
|
||||||
@ -26,6 +26,26 @@ The tcp source should be set in "Server" mode.
|
|||||||
|
|
||||||
See tcp.grc as an example.
|
See tcp.grc as an example.
|
||||||
|
|
||||||
|
### Map
|
||||||
|
|
||||||
|
cd into /mapserver, and run
|
||||||
|
|
||||||
|
```
|
||||||
|
python mapper.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Then visit http://127.0.0.1:8080/static/baidumap.html to use the baidu Online map.
|
||||||
|
|
||||||
|
Actually I don't want to use BaiduMap.. But because of the GFW, I can't access Google..
|
||||||
|
|
||||||
|
You can write an map which can POST data to http://127.0.0.1/post like this
|
||||||
|
|
||||||
|
```
|
||||||
|
lon=116&lat=39&hgt=10
|
||||||
|
```
|
||||||
|
|
||||||
|
to replace Baidumap.
|
||||||
|
|
||||||
### 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
|
||||||
@ -78,6 +98,7 @@ Options:
|
|||||||
-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 <port> Use TCP connection to Gnuradio TCP-Source for realtime simulation.
|
-n <port> Use TCP connection to Gnuradio TCP-Source for realtime simulation.
|
||||||
|
-w Connect with map server(/mapserver/mapper.py) by udp on port 5678.
|
||||||
```
|
```
|
||||||
|
|
||||||
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
@ -1663,6 +1663,7 @@ void usage(void)
|
|||||||
" -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 <port> Use TCP connect to Gnuradio TCP-Source for\n realtime simulation.\n",
|
" -n <port> Use TCP connect to Gnuradio TCP-Source for\n realtime simulation.\n",
|
||||||
|
"-w Connect with map server(/mapserver/mapper.py) by udp on port 5678.\n",
|
||||||
(USER_MOTION_SIZE)/10.0,STATIC_MAX_DURATION);
|
(USER_MOTION_SIZE)/10.0,STATIC_MAX_DURATION);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user