Subversion Repositories FlightCtrl

Rev

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

Rev 1970 Rev 1971
Line 88... Line 88...
88
  }
88
  }
Line 89... Line 89...
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] = filteredAirPressure / 10;
91
  // debugOut.analog[30] = filteredAirPressure / 10;
-
 
92
  debugOut.analog[30] = (125200 - filteredAirPressure) / 100;
-
 
93
  // Calculated 0 alt number: 108205
92
  debugOut.analog[30] = (125200 - filteredAirPressure) / 100;
94
  // Experimental 0 alt number: 125200
Line 93... Line 95...
93
}
95
}
94
 
96
 
95
// takes 180-200 usec (with integral term). That is too heavy!!!
97
// takes 180-200 usec (with integral term). That is too heavy!!!