yy1717
2020-01-19 46f19c091685483aa622193ee3e2dcf213b38bc7
lib/src/main/cpp/rtk_module/rtk.cpp
@@ -352,8 +352,14 @@
    str2float(&CurrRTKInfo.y, s->nmea_value[2].data, s->nmea_value[2].length);
    str2float(&CurrRTKInfo.x, s->nmea_value[4].data, s->nmea_value[4].length);
    CurrRTKInfo.x = -12;
    CurrRTKInfo.y = 27;
    static double sbx = -12;
    static double sby = 27;
//    CurrRTKInfo.x = sbx;
//    CurrRTKInfo.y = sby;
    sbx += 0.01;
    sby += 0.01;
//    const double by1 = 28.013;
//    const double bx1 = -11.9669;
@@ -403,9 +409,9 @@
//    CurrRTKInfo.heading = 60;
    static double deg = 0;
    CurrRTKInfo.heading = deg;
//    CurrRTKInfo.heading = deg;
    deg += 2.0;
    if (deg >= 360) deg = 0;
    if (CurrRTKInfo.hh == hh && CurrRTKInfo.mm == mm && CurrRTKInfo.ss == ss && CurrRTKInfo.dss == dss) {
        PlatformStatusChanged(RTK_UPDATE_EVT, (uint8_t *)&CurrRTKInfo, sizeof(CurrRTKInfo));