Subversion Repositories FlightCtrl

Rev

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

Rev 2108 Rev 2109
Line 57... Line 57...
57
  return (int32_t) GYRO_ACC_FACTOR * (int32_t) filteredAcc[axis];
57
  return (int32_t) GYRO_ACC_FACTOR * (int32_t) filteredAcc[axis];
58
}
58
}
59
*/
59
*/
Line 60... Line 60...
60
 
60
 
61
void setStaticAttitudeAngles(void) {
61
void setStaticAttitudeAngles(void) {
62
  attitude[PITCH] = attitude[ROLL] = 0;
62
  attitude[PITCH] = attitude[ROLL] = attitude[YAW] = 0;
Line 63... Line 63...
63
}
63
}
64
 
64
 
65
/************************************************************************
65
/************************************************************************