Ojassy / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Wrong CRC on all SERVO_OUTPUT_RAW packets #825

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I see between 5% and 10% of damaged packets on the USB link using (stock) 
firmware 2.68.

After a detailed anaylsis, I have discovered the following reason:

All SERVO_OUTPUT_RAW files seem to have faulty CRCs. My first idea is the 
constant added during packet CRC computation. I re-generated my parser from 
most-recent mavlink-git, but the problem persists. Must be some problem in the 
ArduPilot source.

> What steps will reproduce the problem?
1. record the serial stream
2. analyse packet byte by byte

> What version of the product are you using? On what operating system?
2.68 

Original issue reported on code.google.com by hsteinh...@gmx.de on 17 Dec 2012 at 3:23