Andrew Tridgell
7f82397467
autotest: ensure we get the BIN flight logs even on mission failure
2014-11-13 16:31:26 +11:00
Brandon Basso
74232fd74a
Tools: CHDK SX260 script update
...
changes default Tv to be 1/1600 (higher) and ISO to be lower 200/800
Max1/Max2. Should produce more crisp images in low light.
2014-11-11 18:04:26 -08:00
Brandon Basso
136c358c24
Tools: Added initial support for Canon S100
...
initial commit
2014-11-11 18:03:57 -08:00
bugobliterator
b383e1633b
Tools/Linux_HAL_Essentials: Add loading of PWM capes to support ToneAlarm
...
new capes to be loaded by startup.sh: am33xx_pwm and bone_pwm_P8_36
2014-11-10 06:27:48 +11:00
Clay McClure
12c514553d
AutoTest: copter test that zero alt defaults to current alt
2014-11-06 11:53:56 +09:00
Andrew Tridgell
0738d75701
build_devrelease: build all frames for jons release
2014-11-06 07:16:30 +11:00
Randy Mackay
95827e59c1
AutoTest: fix fly_mission to recognise end of mission
...
Copter's behaviour after completing a mission has changed so it does not
automatically switch to Loiter mode but rather stays at the last
waypoint. This was confusing the fly_mission function.
2014-11-05 18:03:47 +09:00
Andrew Tridgell
4e87056631
Replay: fixed build with AP_NavEKF API change
2014-10-31 10:47:57 +11:00
Andrew Tridgell
34a43b2d99
autotest: fixed backup of autotest .bin logs
2014-10-30 18:30:15 +11:00
Jonathan Challinger
210f4397da
Replay: clean up unused variables deltaGyroBias and divergeRate
2014-10-30 18:17:37 +11:00
priseborough
296dfad600
Replay : Remove unused numerical divergence metric
2014-10-30 18:17:37 +11:00
Andrew Tridgell
d95a1be3d6
scripts: fixed devrelease permissions
2014-10-30 12:32:42 +11:00
Andrew Tridgell
05b903654e
autotest: added link to devbuild tree
2014-10-30 11:13:36 +11:00
Andrew Tridgell
c0f18272ed
autotest: added developer build support
...
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
Craig Elder
5df3d24c77
Frame_params: 3DR_X8+_RTF.param
...
Adding param file for 3DR X8+
2014-10-28 19:33:44 -07:00
Markus Koetter
789fd06192
LogAnalyzer - Improve Autotune Test
...
- previously version could report failed autotune sessions as valid and
valid sessions as failed
2014-10-27 15:55:57 -07:00
Markus Koetter
c2030de4ec
LogAnalyzer: write \xff EOF assumption to stderr
2014-10-27 15:53:36 -07:00
Markus Koetter
cf4435989e
LogAnalyzer: Binary Logs may end with \xff
...
- ignoreBadlines can be used to assume this is a proper EOF
2014-10-27 15:53:35 -07:00
Randy Mackay
4aa07d7aef
LogAnalyser: rename BalanceTwist to MotorBalance
2014-10-27 13:58:19 +09:00
Randy Mackay
98e9ce3206
LogAnalyser: TestBalanceTwist sanity check of motor values
2014-10-27 13:58:16 +09:00
Jonathan Challinger
a62f1f0f48
LogAnalyzer: updated testCompass to match our prearm check
2014-10-27 13:58:15 +09:00
Jonathan Challinger
0955284d7e
LogAnalyzer: balance/twist initial commit
2014-10-27 13:58:12 +09:00
Andrew Tridgell
485397c4cb
Replay: cope with old copter attitude and baro msgs
2014-10-25 11:20:26 +11:00
Andrew Tridgell
39d623ff94
VARTest: convert to new AP_InertialSensor API
2014-10-24 12:10:39 +11:00
Andrew Tridgell
d809ce51a7
Replay: convert to new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Craig Elder
df16dd67d2
Frame_params: 3DR_Iris+.param
...
Add GPS_HDOP_GOOD
2014-10-23 17:05:08 -07:00
benoit35690
92b67cca5b
Added name to GIT_Success.txt
2014-10-21 11:47:28 +09:00
Randy Mackay
34352860e7
SITL: remove _randy sitl startup scripts
...
sim_vehicle.sh can be used instead and is far more flexible
2014-10-20 12:10:05 +09:00
Andrew Tridgell
baad65bafc
Replay: update for new copter ATTITUDE message
2014-10-19 20:12:12 +11:00
Andrew Tridgell
fce20b24c2
Replay: fixed printf format
2014-10-19 19:41:57 +11:00
Andrew Tridgell
6e0e56a6ef
Replay: fixed loading of users parameters and parameter override
...
use compass.set_offsets() to avoid trying to write to storage
2014-10-15 09:17:22 +11:00
Andrew Tridgell
b688577825
autotest: update compiler
2014-10-13 16:07:32 +11:00
Andrew Tridgell
b0c9e97181
Linux_HAL_Essentials: P8.15 is an input pin
2014-10-08 12:50:50 +11:00
Craig Elder
adf741b959
Frame_params: Updated 3DR_X8-M_RTF.param
2014-10-07 15:00:57 -07:00
Andrew Tridgell
e0caee9500
Linux_HAL_Essentials: rebuilt rcinpru0 with 300 ring buffer entries
...
thanks to Sid for doing this
2014-10-07 14:57:35 +11:00
Andrew Tridgell
994b2597fd
Linux_HAL_Essentials: change ring buffer to 300 entries
...
this ensures full SBUS frames can be decoded
2014-10-07 14:57:34 +11:00
Craig Elder
5b23f81e2b
Frame_params: Updating 3DR_X8-M_RTF.param
2014-10-06 16:07:49 -07:00
Craig Elder
5d7ec98d7a
Frame_params: Adding 3DR_X8-M_RTF.param
2014-10-06 15:44:35 -07:00
Craig Elder
41ce8c2abd
Frame_params: 3DR_Iris+
...
Decreased ATC_RATE_RP_MAX to 18000
2014-10-06 12:17:52 -07:00
Randy Mackay
41d7462eee
LogAnalyzer: add POSHOLD to TestPitchRollCoupling
2014-09-29 11:46:02 +09:00
Craig Elder
ab46f2d2fe
Frame_params: 3DR_Iris+ reduced WP_NAV to 650
2014-09-24 13:43:52 -07:00
Jonathan Challinger
7c3e614c19
LogAnalyzer: Add IMU Mismatch check
2014-09-24 15:50:23 +09:00
Craig Elder
3f687733e6
Frame_params: added 3DR_AERO_M.param
2014-09-17 18:48:48 -07:00
Craig Elder
da66c7df36
Frame_params: 3DR_Aero_RTF.param Changed tuning
2014-09-17 18:46:52 -07:00
Craig Elder
4c38f51337
Frame_Parameters: 3DR_Iris+ changed mode switch configuration
2014-09-16 00:12:40 -07:00
Craig Elder
f9f6f39d61
Merge branch 'master' of https://github.com/diydrones/ardupilot
2014-09-11 23:06:10 -07:00
Craig Elder
d26173bf81
Frame_params: Updated 3DR Iris+
2014-09-11 23:05:28 -07:00
Kristian Klausen
7b0046e75e
Tools/autotest/sim_vehicle.sh: Added option to run the sim_vehicle framework with an external simulator
2014-09-11 20:09:06 +10:00
Craig Elder
6e79ab8478
Frame_params: Added Frsky telemetry to 3DR_Iris+.param
2014-09-10 13:30:59 -07:00
Craig Elder
b28b0aa6c1
CHDK-Scripts: Move SX260 file to its own folder
2014-09-10 11:54:51 -07:00
Brandon Basso
114b83341d
CHDK-Scripts : initial commit of the SX260 specific file
2014-09-10 11:52:15 -07:00
Craig Elder
6a6aee1d44
CHDK-Scripts: Creating folder for Cannon SX260 files
2014-09-10 11:47:17 -07:00
Craig Elder
5fae3638dc
Frame_params: Updated 3DR_Iris+
2014-09-10 10:54:06 -07:00
Craig Elder
a6db3586f6
Frame_params: Removed Iris with 3 Position Mode Switch.param
2014-09-09 18:55:34 -07:00
Brandon Basso
752e32f338
CHDK-Scripts : add instructions
2014-09-09 18:30:35 -07:00
Brandon Basso
f495d6550b
CHDK-Scripts : initial commit
2014-09-09 18:30:35 -07:00
Craig Elder
e6b2726738
Frame_params: 3DR_Iris+.parm
2014-09-09 12:36:04 -07:00
Craig Elder
6ea044cda9
CHDK-Scripts: Preparing to replace the script files
2014-09-09 11:48:16 -07:00
Craig Elder
2f2665c022
Frame_params: Updated 3DR_Iris+.param
2014-09-09 00:36:06 -07:00
Craig Elder
8fcc96bb79
CHDK-Scripts: Adding kap_uav
2014-09-09 00:28:21 -07:00
Craig Elder
6ff1aa39ca
CHDK-Scripts: adding README.md
2014-09-09 00:10:23 -07:00
Craig Elder
f1934c6db2
Initial Commit
2014-09-09 00:02:17 -07:00
Craig Elder
df82e0accc
Frame_Params: Added 3DR Iris+
2014-09-08 12:40:10 -07:00
Craig Elder
a57818dfc8
Frame_parameters: Updated Iris with 3 Position Mode Switch
2014-09-04 11:49:02 -07:00
Craig Elder
21e4144b29
Frame_params: Updated Iris with 3 Position Mode Switch
2014-09-03 16:47:18 -07:00
Andrew Tridgell
78c12ca9dd
autotest: added skid steering support for rover in sim_vehicle.sh
2014-08-29 06:59:32 +10:00
Andrew Tridgell
e836d1aa2b
autotest: added CMAC_South
...
used to simulate takeoff to the south
2014-08-28 11:22:40 +10:00
Kevin Hester
81bd4c0b4c
LogAnalyzer: If skipping badlines, ignore parse errors
2014-08-26 15:36:56 +09:00
Kevin Hester
5cb242f5a4
LogAnalyzer: Report missing parameters as test failures
2014-08-26 15:36:53 +09:00
Kevin Hester
332ab9bc1b
LogAnalyzer: convert tabs to spaces (only) per coding conventions
2014-08-26 15:36:50 +09:00
Randy Mackay
68be36d4f8
AutoTest: reduce copter throttle when flying square
...
This will keep the copter lower during this test and resolve the timeout
during landing
2014-08-26 12:19:58 +09:00
Eric Liao
e34b0847d7
3dr Berkeley moved - updated coords
2014-08-25 16:17:54 +09:00
Craig Elder
0ab3e40e92
Frame Parameters: Updated Mode Switch order
2014-08-21 13:34:42 -07:00
Andrew Tridgell
e629a8d67a
Linux: added example startup script for plane
2014-08-19 20:03:33 +10:00
bugobliterator
5e03df2d9a
Tools:HAL_Linux_Essentials: store pin status during pulse instead of status after pulse
2014-08-19 10:08:16 +10:00
bugobliterator
210d3e8c32
Tools:HAL_Linux_Essentials:add rcinput test code
...
the test code performs continuous reads from ring buffer shared with PRU0
2014-08-19 10:08:16 +10:00
bugobliterator
d8e36fee41
Tools:HAL_Linux_Essentials: Add PRU side of code for RCinput to run on PRU0
...
PRU0 with rcinpru0 firmware will be timing pin state changes and loading it inside ring buffer maintained inside SHARED_RAM at 0x12000 offset
2014-08-19 10:08:16 +10:00
Victor Mayoral Vilches
04a8377462
Tools: Change sensor configurations easily.
...
This shell script allows to change the sensor configuration
(for now just supports IMU changes) so that the autopilot is
compiled for different combinations of sensors. This has probed
to be useful with Linux-based boards (e.g.: PXF, Erle-board)
that include serveral, different sensors for each kind.
2014-08-19 10:08:16 +10:00
Craig Elder
27a7ea2766
Frame Parameters: 3DR Aero RTF
2014-08-18 15:33:34 -07:00
Randy Mackay
946de4f644
Tools: build antenna tracker binary
2014-08-18 13:00:16 +09:00
Craig Elder
b0d26d9ace
* Frame Parameters: 3DR AERO RTF
...
Updated RLL2SRV_P parameter
2014-08-15 12:18:49 -07:00
Craig Elder
926d57698d
Frame Parameters: 3DR AERO RTF
...
Updated 3DR AERO RTF parameters
2014-08-14 18:37:29 -07:00
Andrew Tridgell
e66243f72e
autotest: add AntennaTracker autodoc to autotest.diydrones.com/Parameters
2014-08-15 06:42:07 +10:00
Randy Mackay
8925c61ae4
Tools: build antenna tracker for firmware.diydrones.com
2014-08-14 20:56:09 +10:00
Randy Mackay
a0468db064
AutoTest: update sim_vehicle for antenna move
2014-08-14 20:56:07 +10:00
Randy Mackay
db9750ee7a
Tools: update build script for Antenna move
2014-08-14 20:56:03 +10:00
Randy Mackay
eb4eca8550
Antenna: move up one directory
2014-08-14 20:56:00 +10:00
Andrew Tridgell
caeb2c4d0d
autotest: raise timeout to 7000 seconds
2014-08-14 14:29:16 +10:00
Andrew Tridgell
1f7305f516
autotest: support starting with HIL for plane
2014-08-13 21:35:26 +10:00
Andrew Tridgell
ea889e2e00
Replay: fixed build
2014-08-13 18:46:44 +10:00
Andrew Tridgell
2918b04f17
CPUInfo: fixed build
2014-08-13 18:46:44 +10:00
Andrew Tridgell
65614da10b
VARTest: convert to using StorageManager
2014-08-13 18:46:44 +10:00
Andrew Tridgell
cbcb5ec0a9
AntennaTracker: convert to using StorageManager
2014-08-13 18:46:44 +10:00
labtoast
dfc9470e01
SITL: added missing parameters to sim_multicopter.py call
2014-08-11 11:22:16 +10:00
Andrew Tridgell
5bf69d4ab3
VARTest: fixed build
2014-08-10 22:36:10 +10:00
Andrew Tridgell
72d35e8da4
CPUInfo: fixed build
2014-08-10 22:36:03 +10:00
Andrew Tridgell
35b0692fd5
Replay: fixed build
2014-08-10 21:25:16 +10:00
Andrew Tridgell
56f7d9285f
autotest: added -N option to sim_vehicle.sh
...
useful for unusual builds
2014-08-09 22:50:15 +10:00
Andrew Chapman
50f9b4d4bb
LogAnalyzer: added help text for --format option
2014-08-06 19:51:30 -07:00
Kevin Hester
097a3b23e6
LogAnalyzer: Fix handling of the -f format option (bin, log, auto)
...
Previously this option was ignored.
2014-08-06 19:51:29 -07:00
JD Russo
86baccffbd
common.py: Removed timeout reset in wait_altitude
...
common.py:wait_altitude contained an if statement that, if the plane was changing altitude at all would reset tstart, making the timeout effectively useless. Removing this line allows wait_altitude to respect the timeout the user sets.
2014-08-07 12:40:34 +10:00
JD Russo
dd93c6e0ca
autotest_jenkins.py: Fixed spelling of prerequisites
...
Same change as in autotest.py, just correcting the spelling of 'prerequisites' in a couple places from the original misspelled 'prerequesites'
2014-08-06 19:12:02 -07:00
JD Russo
23dc2db036
autotest.py: changed 'prerequesites' to correct spelling
...
In a few places in autotest, the word 'prerequisites' was misspelled as 'prerequesites'. This is just a simple commit to fix that spelling.
2014-08-06 19:12:01 -07:00
Andrew Tridgell
b89988b2df
Replay: fixed build
2014-08-06 22:27:50 +10:00
Andrew Tridgell
23fb34c96d
AntennaTracker: fixed build
2014-08-06 19:01:19 +10:00
Andrew Tridgell
7b8287793c
CPUInfo: fixed build
2014-08-06 18:56:39 +10:00
Andrew Tridgell
d6ee11db6e
VARTest: fixed build
2014-08-06 17:59:20 +10:00
Andrew Tridgell
06c3a0e96c
autotest: fixed tracker sim for non-onoff mode
2014-08-03 18:16:50 +10:00
Andrew Tridgell
671708d11d
AntennaTracker: added YAW_TRIM and PITCH_TRIM
2014-08-03 18:16:37 +10:00
Andrew Tridgell
02e173b094
AntennaTracker: do an initial pressure calibration on startup
2014-08-03 17:38:19 +10:00
Craig Elder
7d152cbbf2
Frame_params: Added Iris with 3 Positon Mode Switch.param
2014-07-29 17:27:37 -07:00
Randy Mackay
61506c52dc
Replay: fix example sketch
2014-07-29 15:26:05 +09:00
Andrew Tridgell
1aeac23f46
AntennaTracker: avoid integer underflow in mavlink txspace check
2014-07-27 22:18:52 +10:00
Andrew Tridgell
a60590d1fe
autotest: use run_in_terminal.sh for HIL
2014-07-27 22:12:08 +10:00
Andrew Tridgell
1ea1d9983d
build: don't build examples for apm1 any more
...
so little APM1 development happening it is not worth it
2014-07-25 21:03:23 +10:00
Andrew Tridgell
95b62512f8
AntennaTracker: fixed build
2014-07-25 21:01:09 +10:00
Andrew Tridgell
9c69e736f1
CPUInfo: fixed build
2014-07-25 18:41:30 +10:00
Andrew Tridgell
0b6c5a6505
VARTest: fixed build
2014-07-25 17:17:34 +10:00
Andrew Tridgell
2ddfaa60b9
Replay: fixed build
2014-07-25 17:15:29 +10:00
bugobliterator
6b619562b5
Tools: Remove unrequired pru0 pin setups from BB-PXF-01-00A0 overlay
2014-07-25 15:29:29 +10:00
bugobliterator
fdf916025a
Tools: add unified device tree overlay to load all requisites
...
no more loading multiple capes to enable pru, spi, pwm etc. Steps to load the cape during boot also added.
2014-07-25 15:29:27 +10:00
akdslr
8ea64e62f8
VARTest: Removed CONFIG_SONAR_SOURCE and SONAR_SOURCE_ANALOG_PIN since no longer used
2014-07-24 14:41:55 +10:00
Andrew Tridgell
75e8157b4e
AntennaTracker: support on/off servos
...
these servos are either moving at a constant rate, or off. To really
move them accurately we need to know about this and not use a PID.
This doesn't yet support ballerina, but could do with a bit more work.
2014-07-23 18:41:34 +10:00
Andrew Tridgell
8ea098ad21
autotest: support antenna trackers with on/off servos in SITL
2014-07-23 18:41:34 +10:00
Andrew Tridgell
0dcd0e600b
Tools: remove unused Linux device tree files
2014-07-19 14:48:43 +10:00
Andrew Tridgell
4e7e69bafb
Tools: added dtbo for PXF cape
2014-07-19 13:58:31 +10:00
Andrew Tridgell
183795df02
Tools: fixed DTS Makefile
2014-07-19 13:26:47 +10:00
Andrew Tridgell
ad532b89bd
Tools: new dts file for SPI on PXF cape
2014-07-19 13:22:09 +10:00
Andrew Tridgell
6848746219
Tools: rename a file with a space in it
...
spaces in filenames play havoc with unix tools
2014-07-19 12:21:05 +10:00
nwind21
485726258b
autotest: Add code to detect if a hard link is not allowed (for VM's).
2014-07-15 12:22:48 +10:00
Markus Koetter
e06b3f3ff6
Travis-CI: add vrubrain-v51 target (Copter)
2014-07-15 11:50:09 +10:00
Arthur Benemann
ff11b13f9c
tools: In install-prereqs-ubuntu.sh add support for relative paths
...
Install the required projects (PX4*) in the same folder from where the script is called.
Install the arm toolchain at /opt
2014-07-15 11:47:01 +10:00
Arthur Benemann
b76b090acd
tools: Make install-prereqs-ubuntu.sh work with newer versions of Ubuntu
...
* Install libraries for 64bit Ubuntu systems.
* Less noise apt-get output
* Install packages required for SITL simulation
* Install pymavlink, MAVProxy and droneapi
* Remove modemmanager package
* Add autotest/ to the path
2014-07-15 11:46:58 +10:00
Randy Mackay
ba25f051e7
AutoTest: reduce fence radius to 150m for testing
2014-07-14 11:25:30 +09:00
bugobliterator
003806fcc1
HAL_Linux: pwmpru,HAL_Linux_RCOut code doesn't wait for magic flag to send data
...
change pwmpru code to remove frequent wrong PWM outputs
Replace pru firmware with new modified pru firmware
2014-07-14 09:44:37 +10:00
Andrew Tridgell
9ebc95b6fd
AntennaTracker: converted to new HAL sensor setup
2014-07-14 09:44:36 +10:00
Andrew Tridgell
e2822a2d8f
Tools: added Makefile for BBB overlays
2014-07-14 09:44:35 +10:00
Víctor Mayoral Vilches
7cb547272b
Linux_HAL_Essentials: Minor type fixed in the README
2014-07-14 09:44:33 +10:00
Víctor Mayoral Vilches
464cb8fed9
Linux_HAL_Essentials: Update README for Ubuntu.
...
Added a note pointing out the instructions for precise.
2014-07-14 09:44:33 +10:00
Siddharth Bharat Purohit
9c33420aab
HAL_Linux: Linux HAL Readme:change firmware name to pwmpru1
2014-07-14 09:32:29 +10:00
bugobliterator
aa1db00908
Linux_HAL_Essentials: cleanup PWM PRU code
...
change firmware name to pwmpru1
2014-07-14 09:32:29 +10:00
Siddharth Bharat Purohit
e438250068
Linux: Startup script:add reloading pru firmware option
2014-07-14 09:32:29 +10:00
Siddharth Bharat Purohit
1956c68e16
Linux: Add usage steps for PRU firmware to Readme
2014-07-14 09:32:29 +10:00
bugobliterator
971967be4b
Linux: add PRU PWM code to Linux_HAL_Essentials
2014-07-14 09:32:29 +10:00
Andrew Tridgell
d79877792f
Linux_HAL: updated binary dtbo files
2014-07-14 09:32:29 +10:00
Andrew Tridgell
cd98593280
Linux_HAL: added dts files for overlays
...
These are the BBB/PXF specific DTS files, fixed for the SPI pin handling
2014-07-14 09:32:29 +10:00
bugobliterator
5bcdb039e2
HAL_Linux: Make asynchronous PRU write and reduce the size of data exchange
...
Change to sending Total Period and hi Period, rather than Hi and Lo Period
Change PRU firmware accordingly
2014-07-14 09:32:29 +10:00
bugobliterator
73d42f3e33
Linux: Add initialising script and required overlays and firmware
2014-07-14 09:31:49 +10:00
Víctor Mayoral Vilches
283beba4bb
Tools: Add PXF enable and check CS scripts
2014-07-14 09:29:36 +10:00
Andrew Tridgell
e96ab86eab
build: fixed directory handling in build_binaries.sh
2014-07-14 08:13:28 +10:00
Andrew Tridgell
35e905d003
build: added some debug
2014-07-13 21:19:29 +10:00
Andrew Tridgell
527de3f2e4
AntennaTracker: changes for more common mavlink code
2014-07-13 15:37:50 +10:00
Andrew Tridgell
4fad9b0a89
Replay: fixed build of replay tool
...
changes to compass API
2014-07-12 11:08:04 +10:00
Andrew Tridgell
20accefe51
VARTest: fixed build with compass changes
2014-07-12 10:22:25 +10:00
Aaron Curtis
179d854a26
LogAnalyzer: Update to include the new "format" argument, and fix scoping on two new tests.
2014-07-08 14:13:00 -07:00
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.
2014-07-08 14:12:59 -07:00
Aaron Curtis
0f5360fefa
LogAnalyzer: Default to automatic log format detection.
2014-07-08 14:12:58 -07:00
Aaron Curtis
c6d783409c
LogAnalyzer: There is no self.logfile, so this must be self.filename.
2014-07-08 14:12:58 -07:00
Aaron Curtis
fc79a06b9f
LogAnalyzer: Fix indent which I broke when merging.
2014-07-08 14:12:57 -07:00
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.
2014-07-08 14:12:56 -07:00
Aaron Curtis
f0cf612372
LogAnalyzer: Fix scoping in LogAnalyzer.py . Tests still need fixing.
...
Conflicts:
Tools/LogAnalyzer/LogAnalyzer.py
2014-07-08 14:12:56 -07:00
Aaron Curtis
842f5d20c4
LogAnalyzer: Fix scoping in DataflashLog.py so that multiple instances of DataflashLog can coexist.
...
Conflicts:
Tools/LogAnalyzer/DataflashLog.py
2014-07-08 14:12:55 -07:00
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