Subversion Repositories FlightCtrl

Rev

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

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