public void set_flight_params(int apogee_delay, int main_deploy) {
this.apogee_delay = apogee_delay;
this.main_deploy = main_deploy;
public void set_flight_params(int apogee_delay, int main_deploy) {
this.apogee_delay = apogee_delay;
this.main_deploy = main_deploy;
h.putDouble("ground_accel", ground_accel);
h.putDouble("ground_accel_avg", ground_accel_avg);
h.putInt("log_format", log_format);
h.putDouble("ground_accel", ground_accel);
h.putDouble("ground_accel_avg", ground_accel_avg);
h.putInt("log_format", log_format);
h.putString("product", product);
h.putHashable("baro", baro);
h.putHashable("companion", companion);
h.putString("product", product);
h.putHashable("baro", baro);
h.putHashable("companion", companion);
ground_accel = h.getDouble("ground_accel", ground_accel);
ground_accel_avg = h.getDouble("ground_accel_avg", ground_accel_avg);
log_format = h.getInt("log_format", log_format);
ground_accel = h.getDouble("ground_accel", ground_accel);
ground_accel_avg = h.getDouble("ground_accel_avg", ground_accel_avg);
log_format = h.getInt("log_format", log_format);
product = h.getString("product", product);
baro = AltosMs5607.fromHashSet(h.getHash("baro"), baro);
companion = AltosCompanion.fromHashSet(h.getHash("companion"), companion);
product = h.getString("product", product);
baro = AltosMs5607.fromHashSet(h.getHash("baro"), baro);
companion = AltosCompanion.fromHashSet(h.getHash("companion"), companion);