飞控MWC_v22_代码解读.docVIP

  • 5
  • 0
  • 约2.42万字
  • 约 19页
  • 2019-11-08 发布于湖北
  • 举报
[转载]MWC?v2.2?代码解读LOOP() ? (2013-04-07 20:01:27) 转载▼ 标签:? 转载 原文地址: \o MWC?wbrv2.2?wbr代码解读LOOP() MWC?v2.2?代码解读LOOP()作者: \o 问江南 问江南 函数很长不用文字了 贴个流程图,说明一切: void loop () { ??static uint8_t rcDelayCommand; // this indicates the number of time (multiple of RC measurement at 50Hz) the sticks must be maintained to run or switch off motors ??static uint8_t rcSticks; ??????// this hold sticks position for command combos ??uint8_t axis,i; ??int16_t error,errorAngle; ??int16_t delta,deltaSum; ??int16_t PTerm,ITerm,DTerm; ??int16_t PTermACC = 0 , ITermACC = 0 , PTermGYRO = 0 , ITermGYRO = 0; ??stati

文档评论(0)

1亿VIP精品文档

相关文档