- public AltosGPS(AltosHashSet h) {
- init();
- nsat = h.getInt("nsat", nsat);
- locked = h.getBoolean("locked", locked);
- connected = h.getBoolean("connected", connected);
- lat = h.getDouble("lat", lat);
- lon = h.getDouble("lon", lon);
- alt = h.getDouble("alt", alt);
- year = h.getInt("year", year);
- month = h.getInt("month", month);
- day = h.getInt("day", day);
- hour = h.getInt("hour", hour);
- minute = h.getInt("minute", minute);
- second = h.getInt("second", second);
-
- ground_speed = h.getDouble("ground_speed", ground_speed);
- course = h.getInt("course", course);
- climb_rate = h.getDouble("climb_rate", climb_rate);
- pdop = h.getDouble("pdop", pdop);
- hdop = h.getDouble("hdop", hdop);
- vdop = h.getDouble("vdop", vdop);
- h_error = h.getDouble("h_error", h_error);
- v_error = h.getDouble("v_error", v_error);
- cc_gps_sat = AltosGPSSat.array(h.getString("cc_gps_sat", null));
- }
-