English | 简体中文
This project is forked from RTKLIB 2.4.3b, and its GUI ap rtknavi is changed to a pure C language project, which can be simulated by file input on Windows. This project cuts rtknavi to support only Real-Time Kinematic mode. This project can be debugged and run in both Visual Studio and VS Code.
Open the .sln file of this project in Visual Studio and select Debug and x86 to debug and run.
- Support C99 standard 32-bit C language environment;
- Open the task.json in the hidden folder .vscode, change "command": "C:\msys64\mingw32\bin\gcc.exe" to the directory path of your 32-bit gcc.exe;
- Open the launch.json in the hidden folder .vscode and change "miDebuggerPath": "C:\msys64\mingw32\bin\gdb.exe" to the path of your own 32-bit gdb.exe;
- Open c_cpp_properties.json in the hidden folder .vscode and change "compilerPath": "C:\msys64\mingw32\bin\gcc.exe" to the directory path of your own 32-bit gcc.exe;
- Open any .c file, click 'Run and Debug' in the left column of VS Code, and click 'Start Debugging' button in the upper left corner (or press F5) to debug and run.
Note: If you want to interrupt debugging in VS Code and see the value of each local variable, you need to comment out the line ‘-O3’, the compiler optimisation level, in ‘args’ in the tasks.json file.
- src/pntpos.c: rescode(): dion, dtrp, vion, vtrp are used uninitialised and can be initialised at declaration time:
double dion=0, dtrp=0, vion=0, vtrp=0;
[1]《GPS/GNSS原理与应用(第3版)》 Understanding GPS/GNSS Principles and Applications, Third Edition (Gnss Technology and Applications Series) (Elliott Kaplan, Christopher J. Hegarty)
[2] Basics of the GPS Technique: Observation Equations, Geoffrey Blewitt
[3]《GPS原理与接收机设计(修订版)》谢钢 著,电子工业出版社