Subversion Repositories FlightCtrl

Rev

Rev 2141 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2141 Rev 2142
Line 188... Line 188...
188
 * The sensor is installed vertically and the axes are moved around a little...
188
 * The sensor is installed vertically and the axes are moved around a little...
189
 */
189
 */
190
int16_t rawGyroValue(uint8_t axis) {
190
int16_t rawGyroValue(uint8_t axis) {
191
  switch(axis) {
191
  switch(axis) {
192
  case PITCH:
192
  case PITCH:
193
    return ITG3200SensorInputs[3];
-
 
194
  case ROLL:
-
 
195
    return ITG3200SensorInputs[1];
193
    return ITG3200SensorInputs[1];
196
  case YAW:
194
  case ROLL:
197
    return ITG3200SensorInputs[2];
195
    return ITG3200SensorInputs[2];
-
 
196
  case YAW:
-
 
197
    return ITG3200SensorInputs[3];
198
  }
198
  }
199
  return 0;
199
  return 0;
200
}
200
}
Line 201... Line 201...
201
 
201