Subversion Repositories FlightCtrl

Rev

Rev 1963 | Rev 1971 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1963 Rev 1970
Line 84... Line 84...
84
      } else {
84
      } else {
85
        rampedTargetHeight = targetHeight;
85
        rampedTargetHeight = targetHeight;
86
      }
86
      }
87
    }
87
    }
88
  }
88
  }
89
 
89
 
90
  // height, in meters (so the division factor is: 100)
90
  // height, in meters (so the division factor is: 100)
91
  debugOut.analog[30] = height / 10;
91
  // debugOut.analog[30] = filteredAirPressure / 10;
-
 
92
  debugOut.analog[30] = (125200 - filteredAirPressure) / 100;
92
}
93
}
Line 93... Line 94...
93
 
94
 
94
// takes 180-200 usec (with integral term). That is too heavy!!!
95
// takes 180-200 usec (with integral term). That is too heavy!!!
95
// takes 100 usec without integral term.
96
// takes 100 usec without integral term.