26 lines
628 B
C
26 lines
628 B
C
#include <stdio.h>
|
|
#include "sys/stat.h"
|
|
#include "rtklib.h"
|
|
|
|
#define RT
|
|
//#define POST
|
|
int main(int argc, char **argv) {
|
|
char *imu_path="../data/630_1/IMU.csv";
|
|
char *pvt_path="../data/630_1/PVT.csv";
|
|
char *sat_path="../data/630_1/Sat.csv";
|
|
char *obs_path="../data/630_1/r.obs";
|
|
char *nav_path="../data/630_1/r.nav";
|
|
#ifdef RT
|
|
if(!tcpos()){
|
|
trace(2,"post time tightly coupled fail\n");
|
|
return 0;
|
|
}
|
|
#elif defined(POST)
|
|
if(!ps_tcpos(imu_path,pvt_path,sat_path,obs_path,nav_path)){
|
|
trace(2,"post time tightly coupled fail\n");
|
|
return 0;
|
|
}
|
|
return 0;
|
|
#endif
|
|
}
|