Commit Graph

1357 Commits

Author SHA1 Message Date
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
2014-07-07 18:10:13 -07:00
Markus Koetter 6ce0dbf3b3 LogAnalyzer: TestPitchRollCoupling add mode ""
- "" is a valid alias for AUTOTUNE
2014-07-07 18:09:29 -07:00
Markus Koetter c1d1406c59 LogAnalyzer - accept invalid FMT messages in binary logs
- I really wish this was not necessary, but it is.
2014-07-07 17:54:45 -07:00
Markus Koetter 4e445a716a LogAnalyzer - label/name & format/type consistency 2014-07-07 17:54:44 -07:00
Markus Koetter 099d40f0f8 LogAnalyzer - adjust modeChanges for Plane/Rover
- I lack logs for both, not tested.
2014-07-07 17:54:43 -07:00
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
2014-07-07 17:54:41 -07:00
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
2014-07-07 17:54:40 -07:00
Linus Casassa ce0efdb7d2 LogAnalyzer: Adding HYBRID mode to LogAnalyzer. 2014-07-07 17:37:52 -07:00
Arthur Benemann 8e0f3c152a Tools: Added 3DR Berkeley to the locations list on SITL 2014-07-06 20:34:20 +09:00
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)
2014-07-01 14:29:15 +10:00
Kevin Hester ddd24e8135 tools: LogAnalyser if we fall off end of GPS data, return a valid time
Found cases where the loiter test would fail with some flights if
the vehicle never left that mode.  Don't use None in that case
2014-07-01 14:28:27 +10:00
Kevin Hester 1a4fce60e8 tools: LogAnalyser, ensure error msgs go to stderr not stdout 2014-07-01 14:28:23 +10:00
Kevin Hester 7dc356f4ca tools: LogAnalyzer fixes to work with pipes as input
seek is not supported on pipes (and not needed in this case)
tell is also not supported, so count bytes on our own
2014-07-01 14:28:11 +10:00
Kevin Hester 867f884954 tools: Allow LogAnalyser to emit its xml to stdout.
If you use - as the name for the output file.
2014-07-01 14:28:08 +10:00
Kevin Hester a756e4f3ef tools: Allow LogAnalyzer to read from stdin rather than just files
Use - intead of the filename
2014-07-01 14:28:04 +10:00
Kevin Hester a31498f599 tools: Change LogAnalyzer tabs to spaces (per APM python conventions) 2014-07-01 14:23:42 +10:00
Aaron Curtis 068febda1f Tools: Fix broken duplicate check for adding new libraries to the data structure 2014-06-28 13:17:45 +10:00
Andrew Chapman 2f4af05f33 LogAnalyzer: renamed test from "Underpowered" to "Thrust" 2014-06-24 15:07:47 +10:00
Andrew Chapman 4a5e0bbe06 LogAnalyzer: renamed PASS to GOOD in output (and enums)
as per Craig’s request to clarify test output
2014-06-24 15:07:47 +10:00
Andrew Chapman a6eb5307b6 LogAnalyzer: renamed 'logs' folder to 'examples'
as per Craig’s request
2014-06-24 15:07:47 +10:00
Andrew Chapman 0fe6c1ee3a LogAnalyzer: fixed XML output glitch in the case of a skipped (NA) test 2014-06-24 15:07:47 +10:00
Andrew Chapman f122b1ba37 LogAnalyzer: added 'import collections', allowed for some AC3.2 logging changes 2014-06-24 15:07:47 +10:00
Andrew Chapman 795f93949b LogAnalyzer: escape strings in XML output 2014-06-24 15:07:46 +10:00
Andrew Chapman 0f5a89f22e LogAnalyzer: added check for binary log files (can't parse yet) 2014-06-24 15:07:46 +10:00
Andrew Chapman 70c2682c28 LogAnalyzer: detect all zeros in MAG X/Y/Z data 2014-06-24 15:07:46 +10:00
Andrew Chapman 35830f928d LogAnalyzer: added --verbose flag, added test for MAG interference 2014-06-24 15:07:46 +10:00
Andrew Chapman 130a2dcb0b LogAnalyzer: added LogIterator, copter roll/pitch > max lean angle test, 2014-06-24 15:07:46 +10:00
Andrew Chapman 81fcf4bda7 LogAnalyzer: combined statusMessage and extraFeedback 2014-06-24 15:07:46 +10:00
Andrew Chapman 1356d53e7b LogAnalyzer: report skippedLines, cleaned up DataflashLog.read() error handling 2014-06-24 15:07:46 +10:00
Andrew Chapman 2a406ac699 LogAnalyzer: added GPS glitch detection to GPS test 2014-06-24 15:07:46 +10:00
Andrew Chapman 90f07aae61 LogAnalyzer: added unit test, started moving from dictData to listData
added unit test, started moving from dictData to listData, cancelled
pre-3.0 log reading, separated DataflashLog constructor and read() call
2014-06-24 15:07:46 +10:00
Andrew Chapman d6b091c39f LogAnalyzer: added BETA feedback info to output 2014-06-24 15:07:45 +10:00
Andrew Chapman c4828e1d3d LogAnalyzer: fixed plane+rover parsing, added test for underpowered copters 2014-06-24 15:07:45 +10:00
Andrew Chapman 301a3bcdaf LogAnalyzer: added test for dupe log data 2014-06-24 15:07:45 +10:00
Andrew Chapman 5aa1e6a2dd LogAnalyzer: changed command flags a little, tidy, started on TestPitchRollCoupling 2014-06-24 15:07:45 +10:00
Andrew Chapman e0ada31872 LogAnalyzer: adding Roberts bad PM performance log 2014-06-24 15:07:45 +10:00
Andrew Chapman 8d691c2a60 LogAnalyzer: added PM slow loop check, first version of xml output 2014-06-24 15:07:45 +10:00
Andrew Chapman 36e480483f LogAnalyzer: Initial commit for discussion
A lot of this is still stub code, but far enough along for discussion
and feedback. Some good example tests are TestVibration and TestBrownout

datatypes handled correctly now (previsouly all read as floats), added
flag to skip bad input lines, now prints some general log info (size,
duration, etc), added some basic performance timing,
2014-06-24 15:07:45 +10:00
hazyhxj f2d3fed612 Add name to GTI_Success.txt
this is just a test
2014-06-10 20:02:56 +09:00
Andrew Tridgell 94876dccb1 autotest: added Ballarat to autotest locations 2014-06-07 20:52:08 +10:00
Randy Mackay 919b0ea29b CPUInfo: add fast_atan2 2014-06-06 18:51:05 +09:00
Randy Mackay 4f75cbcce0 AutoTest: fix error reporting for copter AVC mission 2014-06-06 11:42:57 +09:00
Andrew Tridgell 69349f7fb0 autotest: added TomCarpark test location 2014-06-04 14:02:19 +10:00
Andrew Tridgell 0ca5a60f25 autotest: added -R to sim_vehicle.sh for reverse throttle 2014-06-04 09:40:07 +10:00
Andrew Tridgell 9ae32addc8 autotest: convert Rascal back to a tail dragger 2014-06-03 16:16:00 +10:00
Andrew Tridgell 0a79efae61 autotest: fixed problem with initial JSBSim headings to east
this avoids an auto-trim problem in JSBSim
2014-06-03 16:15:22 +10:00
Andrew Tridgell 4607fe9bf1 autotest: cope with newer versions of JSBSim 2014-06-03 16:14:16 +10:00
Andrew Tridgell f6160cf78f autotest: added AVC_plane location
point along takeoff path
2014-06-03 16:13:49 +10:00
Andrew Tridgell a3b91660eb AntennaTracker: build fixes for new GCS_MAVLink API 2014-06-03 10:40:10 +10:00
Mike McCauley 7e3daacda0 AntennaTracker: add support for PROXY_MODE 2014-06-03 10:40:07 +10:00
Andrew Tridgell 286fdf2acc AntennaTracker: use new GCS_Common.cpp functions 2014-05-28 09:36:12 +10:00
Randy Mackay 796aaac475 AutoTest: add AVC_copter to location
The existing AVC location is for Rovers.  Planes and copters take-off
from a position slighly further north.
2014-05-27 11:32:59 +09:00
Andrew Tridgell 9882763873 autotest: set full logging for plane 2014-05-23 07:30:58 +10:00
Andrew Tridgell 5c82711578 autotest: update fg_plane_view.sh for FlightGear 3.0 2014-05-23 07:30:58 +10:00
Randy Mackay 5e21111076 AutoTest: add -j option to sim_vehicle
new option controls the number of processors used during compile
2014-05-21 21:14:28 +09:00
Andrew Tridgell 7cc3cb8d9b AntennaTracker: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Craig Elder 972a2403ed Frame_params: Added Iris with Front Mount Go Pro 2014-05-19 16:47:41 -07:00
Andrew Tridgell 9e7e2eb106 AntennaTracker: use setup_uart() 2014-05-16 11:46:10 +10:00
priseborough deb16ac5bb Replay: Add EKF fault status logging message to EKF4 2014-05-15 21:14:21 +10:00
Andrew Tridgell 47926dc6ea Replay: fixed for changes to AP_Compass HIL API 2014-05-15 21:14:21 +10:00
Andrew Tridgell cc1b75ad29 autotest: restore timeout in log download
this removes the debug code now that the issue has been found (it was
an old version of pymavlink causing the problem)
2014-05-09 09:50:22 +10:00
Andrew Tridgell 73dc32108f autotest: try to debug log download timeouts 2014-05-08 17:38:49 +10:00
Andrew Tridgell b6774b8bc7 autotest: raise the time for log download 2014-05-08 15:15:55 +10:00
Craig Elder 32a1fac612 Frame_params: Removed TRIM_AUTO,1 2014-05-06 14:53:53 -07:00
Randy Mackay c3d6ed1e3e Replay: add constraint on EKF4 data packet values 2014-05-01 16:54:31 +09:00
Randy Mackay cad1441739 AutoTest: print failed copter test
Name of the failed tests appears at the moment it fails and then again
after all tests have been run.  This hopefully makes it slightly easier
to know which test has failed
2014-04-30 21:46:15 +09:00
Andrew Tridgell 2acddb9696 Replay: fixed ahrs.set_fly_forward() in Replay for copter 2014-04-27 15:37:02 +10:00
Linus Penzlien 85b28fbaee test: Linus was here 2014-04-23 17:53:44 +09:00
Andrew Tridgell 250deaa32f Replay: added vehicle class detection 2014-04-21 18:13:13 +10:00
Andrew Tridgell b1d82b37ff VARTest: fixed build 2014-04-21 18:13:13 +10:00
Andrew Tridgell 7ca08294e7 Replay: added floating point exception checking
allows NaN errors to be caught in gdb
2014-04-21 15:37:07 +10:00
Andrew Tridgell 2295632660 Replay: added -A option to set arming time 2014-04-21 13:00:59 +10:00
Andrew Tridgell 623cbc3316 Replay: cope with too many log format msgs 2014-04-20 21:45:31 +10:00
Michael Day 04292d7e5e autotest: Added McMillan airstrip at Camp Roberts to locations.txt 2014-04-18 07:43:03 +10:00
Kevin Hester 2e79032f83 AutoTest: fixup line endings 2014-04-15 15:55:45 +09:00
Kevin Hester 58edd1415a Tools Serial Proxy: fixup line endings 2014-04-15 15:55:30 +09:00
Kevin Hester 25f9a469e6 Tools: fixup line endings 2014-04-15 15:55:15 +09:00
Andrew Tridgell 4c5e59c098 autotest: added OBC frame type 2014-04-11 16:47:40 +10:00
Andrew Tridgell 43fc6ce0b8 AntennaTracker: use get_altitude_difference() 2014-04-11 16:34:14 +10:00
Andrew Tridgell b3d84cec81 autotest: added AVC location 2014-04-11 12:50:06 +10:00
Andrew Tridgell f13e6079bc autotest: added locations.txt
startup locations for SITL
2014-04-11 12:48:03 +10:00
Andrew Tridgell 42b9ba531e autotest: replace sim_*.sh with sim_vehicle.sh
much nicer interface for developers
2014-04-11 12:29:28 +10:00
Andrew Tridgell b1b96ec8e9 AntennaTracker: added SCAN mode
this is used to test calibrate the compass, and to test tracking PIDs
2014-04-09 15:28:14 +10:00
Andrew Tridgell b45819dd97 AntennaTracker: don't use EEPROM home if a startup home is set in parameters 2014-04-09 15:28:14 +10:00
Andrew Tridgell db7c3a9c52 AntennaTracker: added SERIAL_CONTROL support
allows for radio update and config over USB
2014-04-09 15:28:14 +10:00
Andrew Tridgell 8debcba4b1 AntennaTracker: fixed manual control, and added baro calibration
this allows baro offsets to be compensated for before takeoff
2014-04-09 15:28:14 +10:00
Andrew Tridgell 905e5a4d08 build: added vrbrain to build_all.sh script
useful for ensuring it will keep building
2014-04-08 21:27:53 +10:00
Craig Elder be51a68701 3DR_Aero_RTF: Changed the name from 3DR_Skywalker_RTF 2014-04-08 00:19:18 -07:00
Randy Mackay 028b7d1cce AutoTest: fix AVC copter test
Also incorporate file name changes
2014-04-08 11:00:47 +09:00
Randy Mackay 5c7cbc6e7f AutoTest: rename AVC2013 to copter_AVC2013_mission 2014-04-08 10:57:30 +09:00
Randy Mackay 3d1f7acc8b AutoTest: rename CopterAVC to copter_AVC2013_params 2014-04-08 10:57:17 +09:00
Randy Mackay 8009f25705 AutoTest: rename ArduCopter to copter_params 2014-04-08 10:56:55 +09:00
Randy Mackay 61a084ef88 AutoTest: rename copter_spline to copter_spline_mission 2014-04-08 10:56:32 +09:00
Randy Mackay 29d4e60c8d AutoTest: shorten copter mission
Replace 35 seconds delay with 5 second delay
2014-04-07 22:26:02 +09:00
Randy Mackay f54d8b02eb AutoTest: fix to copter missions
Missions were not completing successfully because they were waiting for
the current waypoint number to be 1 higher than was possible
2014-04-07 22:25:38 +09:00
Randy Mackay 92d212abf1 AutoTest: make sim_arducopter_randy.sh executable 2014-04-07 13:37:07 +09:00
Matthew Lloyd 15b99300a2 build: fix paths in install-prereqs-ubuntu.sh
Also upgrade to the latest 2013q4 "GNU Tools for ARM
Embedded Processors" toolchain since the 2012q2 release
is no longer available for download.
2014-04-07 13:54:59 +10:00
Chris Mansley f9d262278f Tools: Update gcc-arm version from q2 to q4
This fixes the installation script since version q2 has been removed
from launchpad.
2014-04-07 13:47:14 +10:00
Andrew Tridgell c12e53189c autotest: added apm2-obc to build tests 2014-04-07 07:29:54 +10:00
Andrew Tridgell eaf746b7fd Replay: fixed velocity vector 2014-04-02 19:08:45 +11:00