AdityaSantosh / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

Milli second accuracy used in loop() to set G_Dt is not sufficient, introducing 33-50% error in updating control values. #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See 
http://aeroquad.com/showthread.php?1299-All-integrations-updates-based-on-wrong-
and-inaccurate-delta-t-G_Dt-values&p=12663&viewfull=1#post12663

Please provide any additional information below.
Loop timing having ms resolution can not work properly if the loop time is 
about 2-3 ms. All calculations using G_Dt suffer because of this problem.

Original issue reported on code.google.com by al...@arcor.de on 13 Nov 2010 at 12:31

GoogleCodeExporter commented 8 years ago
Implemented Honk/Lokling's modification for micros()

Original comment by CaranchoEngineering@gmail.com on 28 Nov 2010 at 10:42