Subversion Repositories FlightCtrl

Rev

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

Rev 1963 Rev 1970
Line 86... Line 86...
86
      }
86
      }
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] = height / 10;
92
  debugOut.analog[30] = (125200 - filteredAirPressure) / 100;
Line 92... Line 93...
92
}
93
}
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!!!