| | |
| | | }gpsStatus_t; |
| | | |
| | | typedef struct { |
| | | int YY; |
| | | int MM; |
| | | int DD; |
| | | int hh; |
| | | int mm; |
| | | int ss; |
| | | int dss; |
| | | // int YY; |
| | | // int MM; |
| | | // int DD; |
| | | // int hh; |
| | | // int mm; |
| | | // int ss; |
| | | // int dss; |
| | | |
| | | int64_t utc_time; // 单位毫秒 |
| | | int qf; |
| | | double heading; |
| | | double pitch; |
| | |
| | | std::stringstream sst; |
| | | |
| | | sst<<"RTK:"<<"qf="<<qf |
| | | <<" "<<2000+YY<<intw(MM, 2)<<intw(DD, 2)<<intw(hh,2)<<intw(mm, 2)<<intw(ss, 2)<<"."<<intw(dss, 2) |
| | | <<" heading="<<round(heading, 3) |
| | | // <<" "<<2000+YY<<intw(MM, 2)<<intw(DD, 2)<<intw(hh,2)<<intw(mm, 2)<<intw(ss, 2)<<"."<<intw(dss, 2) |
| | | <<" yaw="<<round(heading, 3) |
| | | <<" pitch="<<round(pitch, 3) |
| | | <<" roll="<<round(roll, 3) |
| | | <<" x="<<round(x, 3) |
| | |
| | | |
| | | return sst.str(); |
| | | } |
| | | }rtk_info; |
| | | }rtk_info_t; |
| | | |
| | | void RtkCommModeSel(int mode); |
| | | void ConfigRTKModule(bool ayDevice); |