Changeset 206 in flair-src for trunk/lib/FlairSensorActuator/src/SimuGps.cpp
- Timestamp:
- Jan 9, 2018, 11:43:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/SimuGps.cpp
r170 r206 48 48 fixQuality = new SpinBox(GetGroupBox()->NewRow(), "fix quality", 1, 8, 1, 1); 49 49 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 51 52 shmem = new SharedMem((Thread *)this, ShMemName(modelId, deviceId), 52 53 sizeof(gps_states_t)); … … 152 153 153 154 nmea_gen_GPGGA(buf,sizeof(buf),&gga); 155 Printf("1\n"); 154 156 parseFrame(buf,sizeof(buf)); 155 157 … … 157 159 vtg.spk=sqrtf(state.ve*state.ve+state.vn*state.vn)*3600./1000.; 158 160 nmea_gen_GPVTG(buf,sizeof(buf),&vtg); 161 Printf("2\n"); 159 162 parseFrame(buf,sizeof(buf)); 160 163 }
Note:
See TracChangeset
for help on using the changeset viewer.