Ignore:
Timestamp:
Jan 9, 2018, 11:43:37 AM (7 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/SimuGps.cpp

    r170 r206  
    4848  fixQuality = new SpinBox(GetGroupBox()->NewRow(), "fix quality", 1, 8, 1, 1);
    4949  numberOfSatellites = new SpinBox(GetGroupBox()->NewRow(), "number of satellites", 1, 15, 1, 5);
    50 
     50  magneticDeclination= new DoubleSpinBox(GetGroupBox()->NewRow(), "magnetic declination", " deg", -180, 180, .1, 2,0);
     51 
    5152  shmem = new SharedMem((Thread *)this, ShMemName(modelId, deviceId),
    5253                        sizeof(gps_states_t));
     
    152153
    153154    nmea_gen_GPGGA(buf,sizeof(buf),&gga);
     155    Printf("1\n");
    154156    parseFrame(buf,sizeof(buf));
    155157
     
    157159    vtg.spk=sqrtf(state.ve*state.ve+state.vn*state.vn)*3600./1000.;
    158160    nmea_gen_GPVTG(buf,sizeof(buf),&vtg);
     161    Printf("2\n");
    159162    parseFrame(buf,sizeof(buf));
    160163  }
Note: See TracChangeset for help on using the changeset viewer.