Rev 2049 | Rev 2052 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2049 | Rev 2051 | ||
---|---|---|---|
Line 168... | Line 168... | ||
168 | 168 | ||
169 | // Add attitude control (could also have been before navi and/or compass, they are independent) |
169 | // Add attitude control (could also have been before navi and/or compass, they are independent) |
Line 170... | Line 170... | ||
170 | AC_getPRTY(tempPRTY); |
170 | AC_getPRTY(tempPRTY); |
- | 171 | ||
171 | 172 | // Commit results to global variable and also measure control activity. |
|
172 | // Commit results to global variable and also measure control activity. |
173 | controls[CONTROL_THROTTLE] = tempPRTY[CONTROL_THROTTLE]; |
173 | updateControlAndMeasureControlActivity(CONTROL_PITCH, tempPRTY[CONTROL_PITCH]); |
174 | updateControlAndMeasureControlActivity(CONTROL_PITCH, tempPRTY[CONTROL_PITCH]); |
174 | updateControlAndMeasureControlActivity(CONTROL_ROLL, tempPRTY[CONTROL_ROLL]); |
175 | updateControlAndMeasureControlActivity(CONTROL_ROLL, tempPRTY[CONTROL_ROLL]); |