Commit Graph

1638 Commits

Author SHA1 Message Date
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
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
Andrew Tridgell ec04eba61c Replay: handle multiple GPS sensors 2014-04-02 07:55:28 +11:00
priseborough 4f2a390dfa Replay : Incorporate EKF4 flash logging updates 2014-04-01 21:27:09 +11:00
Andrew Tridgell d395f50521 AntennaTracker: added GPS parameters 2014-04-01 06:38:25 +11:00
Andrew Tridgell 60ad429d13 Replay: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell c51212da53 AntennaTracker: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell bc1ebcadf5 VARTest: converted to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell ea6fbae666 AntennaTracker: fixed pitch slew rate limit 2014-03-31 17:48:28 +11:00
Andrew Tridgell 4cb9d4fcb5 AntennaTracker: fixed mode set using custom mode 2014-03-31 17:48:28 +11:00
Randy Mackay 4f68b8ea7f AutoTest: update copter_spline mission 2014-03-28 09:23:38 +09:00
Randy Mackay 2ce827d2ae AutoTest: add copters spline test 2014-03-28 09:23:05 +09:00
Mike McCauley ffcac91120 AntennaTracker: update_GPS now sets HOME position and compass.set_initial_location on first good GPS fix 2014-03-27 13:01:57 +11:00
Mike McCauley 7116fdecde AntennaTracker: added documentation about compass calibration to AntennaTracker.txt 2014-03-27 13:01:57 +11:00
Mike McCauley 2e3989f78d AntennaTracker: initial position was not being set on normal startup 2014-03-27 13:01:57 +11:00
Mike McCauley 6648170102 AntennaTracker: remove call to set fly forward, else if the tracker is moving it will use the GPS direction for yaw instead of the compass 2014-03-27 13:01:57 +11:00
Mike McCauley cc21f68ed4 AntennaTracker: minor cleanups in tracker.pde 2014-03-27 13:01:56 +11:00
Mike McCauley 25c46cdc00 AntennaTracker: Added supportfor manual control message to force antenna bearing and pitch in manual mode 2014-03-27 13:01:56 +11:00
Andrew Tridgell 72c12fb2b3 AntennaTracker: added boardconfig object
this allows the safety switch to be disabled
2014-03-27 08:06:50 +11:00
Andrew Tridgell e40c178e11 AntennaTracker: fixed build with GPS changes 2014-03-24 12:04:09 +11:00
Andrew Tridgell 9b92e25cdc VARTest: fixed build 2014-03-24 12:03:56 +11:00
Andrew Tridgell af2ae30b65 AntennaTracker: fixed APM2 serial speed handling
need to change based on USB mux status
2014-03-22 19:31:51 +11:00
Andrew Tridgell 3a3a074fab AntennaTracker: fixed ballerina and more accurate tracking
implement new parameter options
2014-03-22 19:31:51 +11:00
Andrew Tridgell 262f8b9f48 AntennaTracker: added STOP mode
to stop tracker moving
2014-03-22 19:31:51 +11:00
Andrew Tridgell ba312ee68e AntennaTracker: lots of new parameters
YAW_SLEW_TIME, PITCH_SLEW_TIME, MIN_REVERSE_TIME, START_LATITUDE,
START_LONGITUDE and STARTUP_DELAY

See the parameter docs for explanations
2014-03-22 19:31:41 +11:00
Craig Elder 428dcdb817 Frame_params: Updated Iris.param 2014-03-19 19:49:27 -07:00
Craig Elder 2131d9923f Frame_params: Added Iris with Tarot Gimbal 2014-03-19 19:48:44 -07:00
Andrew Tridgell 314daabc9d scripts: test build of Replay in build_all.sh 2014-03-19 21:04:16 +11:00
Andrew Tridgell 2008f737cf Replay: fixed build with AP_Mission 2014-03-19 21:02:39 +11:00
Andrew Tridgell 1f74736804 AntennaTracker: use common deferred message handling 2014-03-19 12:14:21 +09:00
Andrew Tridgell 278af21641 VARTest: fixed build 2014-03-19 12:13:46 +09:00
Andrew Tridgell b9939368ea CPUInfo: fixed build 2014-03-19 12:13:44 +09:00
Andrew Tridgell 851fb61901 AntennaTracker: fixed for new MAVLink handling 2014-03-19 12:13:43 +09:00
Randy Mackay 30194b9e72 AutoTest: update AVC copter mission
According to the mavlink documentation, the do-change-speed command
should specify the target velocity in param2
2014-03-19 12:12:57 +09:00
Craig Elder 7be2cea42f Frame_params: Adding 3DR_Rover.param 2014-03-18 13:27:27 -07:00
Andrew Tridgell 2266bd314b autotest: kill off old tasks on exit 2014-03-13 07:30:53 +11:00
Andrew Tridgell acdb2e2175 autotest: raise turn rate of antennas 2014-03-13 07:30:41 +11:00
Andrew Tridgell 59c21fff88 AntennaTracker: added sending on SIMSTATE in SITL 2014-03-13 07:30:25 +11:00
Andrew Tridgell aaf22457e5 AntennaTracker: added a note on simulating an antenna tracker 2014-03-12 14:42:55 +11:00
Andrew Tridgell 7b1ce2eeb7 AntennaTracker: fixes for antenna tracker
- use pressure to calculate vehicle altitude
- changed approach to slewing
- fixed mavlink mode
2014-03-12 14:36:51 +11:00
Andrew Tridgell 4f44351d4e autotest: added -T option to sim_arduplane.sh
starts an antenna tracker
2014-03-12 14:35:39 +11:00
Andrew Tridgell 83269bbea7 autotest: initial version of a antenna tracker simulator 2014-03-12 14:35:01 +11:00
Andrew Tridgell 40b13cf8df autotest: fixed multi-instance support 2014-03-12 06:28:24 +11:00
Andrew Tridgell a26bcddb9b autotest: fixed valgrind options to sim_arduplane.sh 2014-03-11 09:37:02 +11:00
Craig Elder 0a33e69787 Frame_params: Updated tilt angles for Tarot Gimbals 2014-03-08 11:03:25 -08:00
Mike McCauley c53ad6e3d3 AntennaTracker: Improvements to yaw slewing and ballerina mode 2014-03-08 21:55:58 +11:00
Mike McCauley 33dc55714c AntennaTracker: update documentation 2014-03-08 21:55:58 +11:00
Mike McCauley 66016e3d1b AntennaTracker: initial documentation 2014-03-08 21:55:57 +11:00
Mike McCauley b4a0c7db63 AntennaTracker: add support for MANUAL and AUTO modes 2014-03-08 21:55:57 +11:00
Mike McCauley 7c2bba169e AntennaTracker: use gcs[] array instead of old idiom gcs0, gcs3 2014-03-08 21:55:57 +11:00
Mike McCauley 05646904de AntennaTracker: finish adding GPS support, including using relative or absolute altitudes 2014-03-08 21:55:57 +11:00
Mike McCauley b1e00c695e AntennaTracker: now supports mavlink arm and disarm commands to disable antenna servo outputs 2014-03-08 21:55:57 +11:00
Craig Elder 5a80ae0f61 Frame_params: Updated 3DR Iris for Tarot Gimbal 2014-03-07 18:27:13 -08:00
Craig Elder 74bd5f9e40 Frame_params: Updated 3DR Y6B for Tarot Gimbal 2014-03-07 18:26:07 -08:00
Craig Elder 70ca616696 Frame_params: Updated 3DR X8 for Tarot Gimbal 2014-03-07 18:23:00 -08:00
Craig Elder df51b3025b Frame_params: Updated 3DR Quad for Tarot Gimbal 2014-03-07 18:22:09 -08:00
Craig Elder 2869d6fd08 Frame_Parameters: Added Skywalker 2014-03-07 18:20:47 -08:00
Andrew Tridgell 330728cd80 Replay: fixed compass readings on rover 2014-03-06 21:40:08 +11:00
Andrew Tridgell 5dfd9b074e Replay: fixed for rover logs 2014-03-06 17:51:49 +11:00
Andrew Tridgell 8d99de5eb5 autotest: use xterm by default and only use make clean if needed 2014-03-03 07:06:45 +11:00
Mike McCauley 3a714d5c45 autotest: sim_arduplane.sh works with a range of terminal types 2014-03-03 06:37:20 +11:00
Mike McCauley 7eb7f8b3ab Tools/AntennaTracker: remove redundant comment 2014-03-03 06:36:46 +11:00
Mike McCauley 0885d55905 Tools/AntennaTracker: completed intial tracker code
Now works with 2 servo alt-azimuth mounted antenna tracking mount. Tested
on Flymaple, with Eagle Tree antenna tracker.
2014-03-03 06:36:37 +11:00
Mike McCauley 8251cf32fb Tools/AntennaTracker: removed duplicate update_tracker from task list 2014-03-03 06:34:50 +11:00
Andrew Tridgell f2c79ad639 Replay: fixed -g option 2014-03-02 08:09:13 +11:00
Andrew Tridgell ecdcf70ef5 Replay: added accel and gyro mask options 2014-03-02 08:00:51 +11:00
Andrew Tridgell 3218ac8e7a Replay: added parameter handling
use parameters from log, and allow override
2014-03-01 15:15:46 +11:00
Andrew Tridgell 853271dd37 Replay: moved replay tool into Tools/Replay 2014-03-01 14:30:55 +11:00
Andrew Tridgell c1f9be75fe autotest: fly the cruise rudder circuit a bit faster 2014-02-24 12:08:33 +11:00
Andrew Tridgell 70cf04aaf4 Plane: tweak autotest gains for plane 2014-02-19 15:07:27 +11:00
Andrew Tridgell 213a68cedd autotest: enable EKF for copter AVC test 2014-02-19 11:42:11 +11:00
Andrew Tridgell 88afd40524 autotest: increase timeout for log download 2014-02-18 21:06:53 +11:00
Andrew Tridgell ff5bc7520c build: added AntennaTracker to build_all.sh
ensure it keeps working
2014-02-18 19:16:47 +11:00
Andrew Tridgell 30fd792d40 CPUInfo: fixed SITL build 2014-02-18 19:16:26 +11:00
Andrew Tridgell 7fbe9110c2 VARTest: fixed SITL build 2014-02-18 19:13:43 +11:00
Mike McCauley fb73036327 AntennaTracker: sim_antennatracker.sh does make clean sitl 2014-02-18 19:09:21 +11:00
Mike McCauley 8f71af605b AntennaTracker: update to build with latest libraries
AntennaTracker has not been maintained as other parts of the system and
libraries have been modernised. This patch at least gets it to the stage where
it compiles and runs in SITL. Also added Tools/autotest/sim_antennatracker.sh
to run in SITL
2014-02-18 19:09:21 +11:00
Andrew Tridgell 9a869fb7e5 autotest: enable EKF in autotest for plane
try to get it more testing
2014-02-18 16:18:50 +11:00
Andrew Tridgell ccc449db19 autotest: removed the set of SYSID_THISMAV
this led to a race condition where some parameters were not loaded as
they were being sent with the wrong system ID
2014-02-18 15:51:25 +11:00
Andrew Tridgell 29c818ec6f autotest: re-fetch parms after loading
trying to debug an autotest issue
2014-02-17 13:58:11 +11:00
Andrew Tridgell 0d6e8e9c0d autotest: fixed timeout waiting for LOITER 2014-02-17 13:58:11 +11:00
Andrew Tridgell c39ad1cafb autotest: better skid steering support in the rover simulator 2014-02-17 10:11:40 +11:00
Andrew Tridgell f493b1c07a AntennaTracker: change to Compass::learn_offsets 2014-02-16 13:21:58 +11:00
Randy Mackay 46f4368522 AutoTest: adjust copter CIRCLE_RADIUS to 3000 2014-02-15 06:09:08 +11:00
Andrew Tridgell 804c43216b VARTest: fixed build 2014-02-15 05:29:47 +11:00
Andrew Tridgell f64488e2cf VARTest: cleanup HIL defines 2014-02-15 05:29:46 +11:00
Andrew Tridgell 87d43d766d autotest: kill off lt-JSBSim too
on some systems it gets this name
2014-02-15 05:27:51 +11:00
Andrew Tridgell 9c2df97954 autotest: a useful CMAC test pattern from Paul 2014-02-15 05:27:51 +11:00
Craig Elder aa5a098adb Iris:parameter adjustments 2014-02-13 14:11:55 -08:00
Craig Elder f2a318e057 Iris: Updated Parameter file 2014-02-12 21:16:00 -08:00
Craig Elder e334e92e27 Iris:Updated Parameters 2014-02-12 19:46:00 -08:00
Craig Elder 32f5a1ac94 Iris: Updated gimbal configuration 2014-02-07 18:29:51 -08:00
grant3DR 31f6e3c63b Update 3DR_X8_RTF.param
Updated RATE_PIT_(P,I,D), RATE_RLL_(P,I,D), RATE_YAW_(P,I,D), THR_MID, and STB_(PIT, RLL, and YAW) to autotuned param values

Grant Lieberman
3D Robotics
2014-02-07 22:32:48 +09:00
Randy Mackay 058e058487 Frame Params: 3dr tarot gimbal params 2014-02-04 21:52:25 +09:00
Craig Elder 43cf3fc38f 3DR_Y6A_RTF: Adding frame type 2014-02-03 14:31:32 -08:00
Craig Elder 42a87ab9c9 3DR_RTF frame changes 2014-02-03 13:39:47 -08:00
Craig3DRobotics b2c5e12fb4 3DR_QUAD_X4_RTF: Added to standard frame types 2014-01-31 19:27:27 -08:00
Craig3DRobotics 27ed18d4c6 3DR_X8_RTF: Adding the 3DR X8 RTF copter 2014-01-31 18:21:02 -08:00
Craig3DRobotics 17cc0e88c5 3DR_Y6B_RTF: Updated for FlySky TX 2014-01-31 17:42:45 -08:00
Craig3DRobotics a457322091 3DR_Y6B_RTF: added to standard frames 2014-01-31 15:46:07 -08:00
Andrew Tridgell 604d7fce47 build: rover doesn't fit on APM1-1280 any more 2014-01-22 19:49:18 +11:00
Andrew Tridgell 89b083dd52 build: make build log a bit less verbose
don't show the whole commit patch
2014-01-22 19:46:04 +11:00
Andrew Tridgell 5a16d8067a build: better error reporting for failures in build_binaries.sh
this will make it easier to track down build failures
2014-01-22 19:00:15 +11:00
Andrew Tridgell 0b7e96b528 autotest: ensure old tags in PX4NuttX and PX4Firmware don't get used 2014-01-20 19:54:35 +11:00
Andrew Tridgell 0749cc1fd9 Tools: we don't have AP_NavEKF.h yet 2014-01-15 13:48:50 +11:00
Andrew Tridgell 58c66f255c build: added support for board specific tags in build_binaries
make it possible to build an APM2 specific build
2014-01-14 22:37:03 +11:00
Andrew Tridgell 906c1d18b4 Hello: fixed SITL build 2014-01-14 20:50:37 +11:00
Andrew Tridgell 4d5346be79 CPUInfo: fixed SITL build 2014-01-14 20:50:34 +11:00
Andrew Tridgell 0401e8f914 build: support vehicle-tag tags for PX4 builds 2014-01-14 15:59:02 +11:00
Andrew Tridgell b666680d79 autotest: erase logs after downloading 2013-12-29 07:13:57 +11:00
Andrew Tridgell 6121b9c58e autotest: switched to binary log download over MAVLink 2013-12-28 21:47:12 +11:00
Andrew Tridgell 66c97d7c91 autotest: removed px4io loading instructions 2013-12-28 10:19:40 +11:00
Andrew Tridgell b59f2d4326 build: put px4io elf files in build directory 2013-12-28 10:17:47 +11:00
Craig3DRobotics 9653f4e516 Iris: Add Pitch Settings for gimbal 2013-12-26 22:51:52 -08:00
John Arne Birkeland e4498b7bd1 ArduPPM V2.3.17
- Disabled fail-safe output when signal is missing in PPM pass-trough (PPMSUM) mode (feature depreciated by addition of missing signal detection in APM code)
- ppm_encoder_init() will now make sure PPM output always starts with fail-safe (900us) value on throttle after a brown-out reset
2013-12-17 11:26:04 +09:00
Andrew Tridgell bdbf9a8935 CPUInfo: fixed build 2013-12-17 11:51:36 +11:00
Nils Högberg 0530b4a1db Test: testing commit
This is a test commit
2013-12-16 23:05:21 +09:00
Andrew Tridgell 222ad82b5f web: fixed icon 2013-12-07 20:32:53 +11:00
Andrew Tridgell 9546a96443 web: added icon for SiK firmware 2013-12-07 20:22:56 +11:00
Andrew Tridgell d39598de6a autotest: use mavflightview.py from $PATH 2013-11-22 22:04:18 +11:00
Randy Mackay 9d4e0a216f Copter: parameter files for beg, int, adv and camera ship 2013-11-13 22:57:08 +09:00