return AltosConvert.lb_to_n(v * 298 * 9.807);
}
- public void update_state(AltosState state) {
+ public void update_state(AltosFlightListener state) {
super.update_state(state);
switch (cmd()) {
break;
case AltosLib.AO_LOG_SENSOR:
state.set_pressure(adc_to_pa(pres()));
- state.set_accel(adc_to_n(thrust()));
+ state.set_thrust(adc_to_n(thrust()));
break;
}
}