Commit Graph

1339 Commits

Author SHA1 Message Date
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