Peter Barker
f5e8facc87
Tools: LogAnalyzer: add NaN check
8 years ago
priseborough
f9bf825094
Tools: Add analysis file for optical flow calibration data
...
Calculate and display recommended values of FLOW_FXSCALE and FLOW_FYSCALE from an optical flow sensor calibration test
Save plots to flow_calibration.pdf file
Save calibration parameters to flow_calibration.param file
Signed-off-by: priseborough <p_riseborough@live.com.au>
Tools: Address optical flow calibration script review comments
Tools: LogAnalyzer: stop executing TestOptFlow on insufficient data
8 years ago
Peter Barker
043b7598d1
Tools: correct error path for corrupt logs
8 years ago
Peter Barker
0168493d8a
Tools: correct LogAnalyzer VCC test
8 years ago
Peter Barker
45bc95edeb
Tools: LogAnalyzer: handle changed RCOU and parameters in motorbalance
9 years ago
Peter Barker
f42df1bc54
Tools: LogAnalyzer: handle MODE lines appearing before vehicle MSGs
9 years ago
Peter Barker
214bca8b30
Tools: LogAnalyzer: correct CTUN test
9 years ago
Peter Barker
f1641161d7
Tools: LogAnalyzer: correct Vcc test
9 years ago
Ricardo de Almeida Gonzaga
1062aed91e
Tools: Fix typos
9 years ago
Peter Barker
e357be3d85
LogAnalyzer: adjust for change in vehicle definition MSG string
...
We changed from ArduCopter to APM:Copter, breaking parts of the LogAnalyzer
This change has LogAnalyzer canonicalise its output to Ardu{Plane,Rover,Copter}
Also account for change in MODE message - ThrCrs has gone away
9 years ago
Peter Barker
82d36520ad
LogAnalyzer: fix for 64-bit ints
...
Also, sqrt must come from math
Also, d indicates a double (a Python float)
9 years ago
Peter Barker
f49aedb639
LogAnalyzer: turn times from strings to ints before doing maths
9 years ago
Peter Barker
ec9be695fb
LogAnalyzer: don't die if no arm/disarm eveents
10 years ago
Peter Barker
1dba943a10
LogAnalyzer: if no GPS, try GPS2
10 years ago
Peter Barker
ce558b2b98
LogAnalyzer: cope with TimeUS
...
See also: 177f61656f
10 years ago
Jason Martens
a08d57149e
LogAnalyser: Add double support to DataflashLog.py
...
Doubles were added to dataflash in commit 3991e0c476
.
10 years ago
Holger Steinhaus
1cdc5f7c7f
LogAnalyser: adapt to new APM:* vehicle names
10 years ago
Holger Steinhaus
46c3c26065
LogAnalyser: fix buffer calculations
10 years ago
Holger Steinhaus
a146b188a7
LogAnalyser: fix parsing of log messages without attributes (e.g. STRT)
10 years ago
Markus Koetter
789fd06192
LogAnalyzer - Improve Autotune Test
...
- previously version could report failed autotune sessions as valid and
valid sessions as failed
10 years ago
Markus Koetter
c2030de4ec
LogAnalyzer: write \xff EOF assumption to stderr
10 years ago
Markus Koetter
cf4435989e
LogAnalyzer: Binary Logs may end with \xff
...
- ignoreBadlines can be used to assume this is a proper EOF
10 years ago
Randy Mackay
4aa07d7aef
LogAnalyser: rename BalanceTwist to MotorBalance
10 years ago
Randy Mackay
98e9ce3206
LogAnalyser: TestBalanceTwist sanity check of motor values
10 years ago
Jonathan Challinger
a62f1f0f48
LogAnalyzer: updated testCompass to match our prearm check
10 years ago
Jonathan Challinger
0955284d7e
LogAnalyzer: balance/twist initial commit
10 years ago
Randy Mackay
41d7462eee
LogAnalyzer: add POSHOLD to TestPitchRollCoupling
11 years ago
Jonathan Challinger
7c3e614c19
LogAnalyzer: Add IMU Mismatch check
11 years ago
Kevin Hester
81bd4c0b4c
LogAnalyzer: If skipping badlines, ignore parse errors
11 years ago
Kevin Hester
5cb242f5a4
LogAnalyzer: Report missing parameters as test failures
11 years ago
Kevin Hester
332ab9bc1b
LogAnalyzer: convert tabs to spaces (only) per coding conventions
11 years ago
Andrew Chapman
50f9b4d4bb
LogAnalyzer: added help text for --format option
11 years ago
Kevin Hester
097a3b23e6
LogAnalyzer: Fix handling of the -f format option (bin, log, auto)
...
Previously this option was ignored.
11 years ago
Aaron Curtis
179d854a26
LogAnalyzer: Update to include the new "format" argument, and fix scoping on two new tests.
11 years ago
Aaron Curtis
406fedf727
LogAnalyzer: Allow instantiation of DataFlashlog with no input filename, for backward compatibility. My changes make m_dflog=DataFlashlog('/path/to/file.log') work, which seems like the preferable way, but we don't want to break backwards compatibility.
11 years ago
Aaron Curtis
0f5360fefa
LogAnalyzer: Default to automatic log format detection.
11 years ago
Aaron Curtis
c6d783409c
LogAnalyzer: There is no self.logfile, so this must be self.filename.
11 years ago
Aaron Curtis
fc79a06b9f
LogAnalyzer: Fix indent which I broke when merging.
11 years ago
Aaron Curtis
9dbfa40afd
LogAnalyzer: LogAnalyzer: make all subclasses of Test call their parent __init()__ function when overriding that function. This is the way of Python.
11 years ago
Aaron Curtis
f0cf612372
LogAnalyzer: Fix scoping in LogAnalyzer.py . Tests still need fixing.
...
Conflicts:
Tools/LogAnalyzer/LogAnalyzer.py
11 years ago
Aaron Curtis
842f5d20c4
LogAnalyzer: Fix scoping in DataflashLog.py so that multiple instances of DataflashLog can coexist.
...
Conflicts:
Tools/LogAnalyzer/DataflashLog.py
11 years ago
Markus Koetter
da178ee3b6
LogAnalyzer: add TestAutotune
...
- very basic, checks for autotune start/success/fail and provides the
most recent ATUN/ATDE values
- very handy in case autotune fails
11 years ago
Markus Koetter
6ce0dbf3b3
LogAnalyzer: TestPitchRollCoupling add mode ""
...
- "" is a valid alias for AUTOTUNE
11 years ago
Markus Koetter
c1d1406c59
LogAnalyzer - accept invalid FMT messages in binary logs
...
- I really wish this was not necessary, but it is.
11 years ago
Markus Koetter
4e445a716a
LogAnalyzer - label/name & format/type consistency
11 years ago
Markus Koetter
099d40f0f8
LogAnalyzer - adjust modeChanges for Plane/Rover
...
- I lack logs for both, not tested.
11 years ago
Markus Koetter
33d19fc893
LogAnalyzer - add binary log parsing
...
- parse using ctypes.LittleEndianStructure
- define classes from FMT messages
- use the classes as with Text logs for processing
11 years ago
Markus Koetter
64ae2011b5
LogAnalyzer - binary log parsing preparations
...
- use FMT messages to create classes using type()
- work with these classes instead of arrays
- split parsing and processing
11 years ago
Linus Casassa
ce0efdb7d2
LogAnalyzer: Adding HYBRID mode to LogAnalyzer.
11 years ago
Kevin Hester
0bccbf2409
tools: my change to use stdin, broke reading logs that have no header
...
This fixes it (I'm careful to avoid seeking)
11 years ago