bladeGPS

所属分类:GPS编程
开发工具:Unix_Linux
文件大小:3384KB
下载次数:16
上传日期:2017-03-24 22:55:40
上 传 者AfE
说明:  Real-time GPS signal simulator for bladeRF

文件列表:
Makefile (304, 2017-01-29)
bladegps.c (12716, 2017-01-29)
bladegps.h (1824, 2017-01-29)
brdc1700.16n (264968, 2017-01-29)
circle.csv (135000, 2017-01-29)
getch.c (392, 2017-01-29)
getch.h (79, 2017-01-29)
getopt.c (4241, 2017-01-29)
getopt.h (148, 2017-01-29)
gpssim.c (61446, 2017-01-29)
gpssim.h (5128, 2017-01-29)
run_bladerfGPS.sh (447, 2017-01-29)
satellite.csv (3888000, 2017-01-29)
ss520-4.csv (5130651, 2017-01-29)

# bladeGPS Very crude experimental implimentation of [gps-sdr-sim](https://github.com/osqzss/gps-sdr-sim) for real-time signal generation. The code works with bladeRF and has been tested on Windows only. ``` Usage: bladegps [options] Options: -e RINEX navigation file for GPS ephemerides (required) -u User motion file (dynamic mode) -g NMEA GGA stream (dynamic mode) -l Lat,Lon,Hgt (static mode) e.g. 35.274,137.014,100 -t Scenario start time YYYY/MM/DD,hh:mm:ss -T Overwrite TOC and TOE to scenario start time -d Duration [sec] (max: 8***00) -x Enable XB board, e.g. '-x 200' for XB200 -i Interactive mode: North='w', South='s', East='d', West='a' -I Disable ionospheric delay for spacecraft scenario ``` ### Build on Windows with Visual Studio Follow the instructions at [Nuand wiki page](https://github.com/Nuand/bladeRF/wiki/Getting-Started%3A-Windows) and build the bladeRF library from the source with Visual Studio 2013 Express for Windows Desktop. Assume you already downloaded pthread and libusb files and successfully built the bladeRF library for your Windows environment. 1. Start Visual Studio. 2. Create an empty project for a console application. 3. On the _Solution Explorer_ at right, add the following files to the project: * __bladegps.c__ and __bladegps.h__ * __gpssim.c__ and __gpssim.h__ * __getopt.c__ and __getopt.h__ 4. Add the paths to the following folders in `Configuration Properties -> C/C++ -> General -> Additional Include Directories`: * __pthreads-w32-2-9-1-release/Pre-built.2/include__ for pthread.h * __bladeRF/include__ for libbladeRF.h 5. Add the paths to the following folders in `Configuration Properties -> Linker -> General -> Additional Library Directories`: * __pthreads-w32-2-9-1-release/Pre-built.2/lib/x***__ for pthreadVC2.lib * __bladeRF/x***__ for bladeRF.lib 6. Specify the name of the additional libraries in `Configuration Properties -> Linker -> Input -> Additional Dependencies`: * __pthreadVC2.lib__ * __bladeRF.lib__ 7. Select __Release__ in the _Solution Configurations_ drop-down list. 8. Select __X***__ in the _Sofution Platforms_ drop-down list. 9. Run `Build -> Build Solution` After a successful build, you can find the executable in the __Release__ folder. You should put the copies of the following DLLs in the same folder to run the code: * __bladeRF.dll__ * __libusb-1.0.dll__ * __pthreadVC2.dll__ ### Build on Linux (Untested) 1. Retrive the bladeRF source in a directory next to the current directory. ``` $ cd .. $ git clone git@github.com:Nuand/bladeRF.git ``` 2. Build the bladeRF host library. ``` $ cd bladeRF/host $ mkdir build $ cd build $ cmake .. $ make ``` 3. Build bladeGPS. ``` $ cd ../../../bladeGPS $ make ``` ### License Copyright © 2015 Takuji Ebinuma Distributed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).

近期下载者

相关文件


收藏者