MegaPirateNG / ardupilot-mpng

MegaPirateNG
GNU General Public License v3.0
116 stars 104 forks source link

PPM Encoder failed to send updates for 2 seconds #173

Open phantom-8 opened 9 years ago

phantom-8 commented 9 years ago

I'm running MPNG v3.1.5 R2 on Crius AIOP v2 with Turnigy RX-9X8Cv2 receiver. During my test flights, I've encountered an error a few times. According to the data flash log, it's ERROR_CODE_RADIO_LATE_FRAME. The APM official wiki says "APM's encoder fails to send updates for 2 seconds (very unlikely). The PPM encoder is a small chip on the APM boards whose sole function is to read the radio signals from the receiver and send them to the APM’s main CPU." To my understanding, the APM has a dedicated Atmega 32U2 chip which handles the PPM encoding. Their official site has a firmware update for it. I don't know how is the PPM encoding works in MPNG. Is it being emulated in software in MPNG? screen shot 2014-08-17 at 7 42 40 pm