Skip to content

Commit

Permalink
Improve mavgpslag usage information
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas authored and tridge committed Jul 26, 2018
1 parent 1984c04 commit 57636f0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/mavgpslag.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

'''
calculate GPS lag from DF log
The DF log file needs to be generated with ATT, GPS and IMU bits:
- On copter (bit0, bit2 and bit18) set on the LOG_BITMASK parameters
- On rover (bit0, bit2 and bit7) set on the LOG_BITMASK parameters
- On plane (bit0, bit2 and bit7) set on the LOG_BITMASK parameters
Make sure IMU_RAW (bit 19) is not set
For this to work, the vehicle must move at speeds above the --minspeed parameter (defaults to 6m/s)
The code really only works when there is significant acceleration as well.
You'll need to fly quite aggressively on a copter to get a result.
'''
from __future__ import print_function
from builtins import range
Expand Down

0 comments on commit 57636f0

Please sign in to comment.