Crashpilot1000

Results issues of Crashpilot1000

Navigation::calc_long_scaling(int32_t lat) { // this is used to offset the shrinking longitude as we go towards the poles float rads = (fabs(lat) / T7) \* 0.0174532925; _scaleLongDown = cos(rads); _scaleLongUp...

Hi! Some scalingfactors from gps coords to cm or m and back are inconsistent in the libraries. It is all an interpretation thing of the earth radius. But perhaps different...

Copter

Hi! I ported the ms baro pressure calculation from my other project to your project. I haven't tried it on arducopter but i think it should be an improvement as...

Maybe the calculation in AP_Baro_MS5611::_calculate() (https://github.com/diydrones/ardupilot/blob/master/libraries/AP_Baro/AP_Baro_MS5611.cpp#L406) " P = (D1*SENS/2097152 - OFF)/32768;" could be slightly improved with: " P = (D1*(SENS/2097152) - OFF)/32768;"

Scooping through the nmea parser I think this codeline https://github.com/diydrones/ardupilot/blob/master/libraries/AP_GPS/AP_GPS_NMEA.cpp#L224 frac_min += (*q++ - '0') \* frac_scale; would be nicer/more stringent this way: frac_min += DIGIT_TO_VAL(*q++) \* frac_scale; Since DIGIT_TO_VAL...

Hi! This line https://github.com/cleanflight/cleanflight/blob/master/src/main/rx/sumh.c#L117 sumhChannels[channelIndex] = (((uint32_t)(sumhFrame[(channelIndex