public float GetParam(string param) { if (MainV2.comPort.MAV.param[param] != null) return (float) MainV2.comPort.MAV.param[param]; return 0.0f; }