Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1795 → Rev 1796

/branches/dongfang_FC_rewrite/heightControl.c
43,7 → 43,6
uint8_t HeightP; // Value : 0-32
uint8_t Height_Gain; // Value : 0-50
uint8_t Height_ACC_Effect; // Value : 0-250
 
*/
 
int32_t getHeight(void) {
99,8 → 98,8
}
}
//DebugOut.Analog[16] = (int16_t)(height / 10);
//DebugOut.Analog[17] = (int16_t)(rampedTargetHeight / 10);
// height, in meters (so the division factor is: 100)
DebugOut.Analog[30] = height / 100;
}
 
// ParamSet.GlobalConfig & CFG_HEIGHT_CONTROL