Commit Graph

3043 Commits

Author SHA1 Message Date
bugobliterator
925e3a2dcb waf: added ChibiOS support 2018-01-15 11:46:02 +11:00
Andrew Tridgell
9869b98da3 waf: added ap_version_append_int()
used for date defines
2018-01-15 11:46:02 +11:00
mirkix
d3d46a7f2c Linux_HAL_Essentials: set default pwm to 0us 2018-01-11 16:35:10 +00:00
Matt
9f1c96bb09 Tools: Solo AC 3.6 parameters
Parameters for a 3DR Solo running ArduCopter 3.6, since there are some
differences from 3.5.
2018-01-11 11:14:12 +09:00
Matt
a766551a48 Tools: Solo AC 3.5 disable log prearm check
There are still intermitant false-positive logging failure happening in
ArduCopter.  This disables the logging arming check for the time being.
This was set back to 1 a few months ago thinking the issue was fixed.
But it turns out it is not.
2018-01-11 11:13:53 +09:00
Stephen Dade
aa7389b455 Tools: Fixed Cygwin SITL package names and made install easier for new users 2018-01-09 14:40:43 +00:00
Peter Barker
c56529f39c Tools: waf: remove GCS_Console 2018-01-09 13:46:22 +00:00
Peter Barker
8a15c69aff Tools: add --fresh-params option to sim_vehicle.py
This will rebuild and use the XML file we generate from our
source code which conveys information about our parameters.

When using this option, "param help PARAMETERNAME" should reflect
changes made to the parameter metadata for PARAMETERNAME.
2018-01-08 14:49:35 +00:00
Randy Mackay
af7bb7cbd7 Tools: update eLAB VEK default parameters
Add default steering feedforward value
2018-01-04 16:15:28 +09:00
Randy Mackay
7b0b9f10de Tools: AION R1 default params use steering feed-forward
Also add wheel encoder defaults
2018-01-04 14:03:52 +09:00
Randy Mackay
368698d173 Tools: AION R1 default remove compass-external
compass-external settings should normally not need to be set
2018-01-04 14:02:53 +09:00
NickNunno
94eceddf69 Tools: update AION R1 default parameters
Added default presets to match documentation & hardware setup.
2018-01-04 13:51:04 +09:00
mirkix
793578c0a9 ardupilotwaf: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix
7126b0c5ae Linux_HAL_Essentials: add PocketPilot PRU Firmware 2017-12-27 16:01:55 +00:00
Peter Barker
e76865eb9c Tools: Replay: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00
Patrick José Pereira
560d8b88d8 Tools: Add gazebo-bluerov2 on vehicleinfo.py
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-26 09:12:56 +11:00
Randy Mackay
dcb37a2454 Tools: default param file for AION R1 rover 2017-12-23 14:25:25 +09:00
Matt
41f2e8869e FRAME_PARAMS: Solo mag and arming param update
Updates the arming check to all
Updates the required compass parameters
Updates the compass_typemask to disable the LIS3MDL
2017-12-23 10:58:03 +09:00
Patrick José Pereira
0e6fc54a0e Tools: Add BATT_MONITOR on sub.parm
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-21 11:26:51 -05:00
Andrew Tridgell
0b78817b81 Tools: added apj_tool.py
used to change embedded parameters in firmware
2017-12-18 11:14:59 +11:00
Peter Barker
0b4dcdde35 Tools: param_parse.py: allow whitespace between vehicles
Also add sanity check that the vehicles you're limitting to we know
about
2017-12-16 11:08:35 +11:00
Peter Barker
d1128e7be4 Tools: param_parse.py: replace comments with debug statements 2017-12-16 11:08:35 +11:00
Peter Barker
eeb15d7fd5 Tools: param_parse.py: make comment consistent 2017-12-16 11:08:35 +11:00
Peter Barker
825832be93 Tools: param_parse.py: add a map for vehicle name to a true-name to be used in code
Where true-name is something like "Rover" and the normal name remains
the directory name (e.g. "APMrover2")
2017-12-16 11:08:35 +11:00
Peter Barker
e0125a68e7 Tools: param_parse.py: use single regex for params everywhere 2017-12-16 11:08:35 +11:00
Peter Barker
a45ab6b84c Tools: param_parse.py: correct example comment 2017-12-16 11:08:35 +11:00
Peter Barker
b6415b34d1 Tools: do not build combined parameters as part of build_autotest 2017-12-16 11:08:35 +11:00
Peter Barker
94afaebdb7 Tools: autotest builds each vehicle parameters individually 2017-12-16 11:08:35 +11:00
Peter Barker
ea2c156c7f Tools: param_parse.py: understand tagging of parameters for specific vehicles 2017-12-16 11:08:35 +11:00
Andrew Tridgell
88abd34d40 Replay: fixed build with no create() 2017-12-14 08:12:28 +11:00
Peter Barker
8c516fb29c Tools: autotest: add max-alt fence 2017-12-13 10:04:50 +09:00
Randy Mackay
19af2f7d1d Tools: add decibel as valid param Unit 2017-12-12 07:59:41 +09:00
Andrew Tridgell
20d44136b0 autotest: fixed handling of core files 2017-12-12 08:45:56 +11:00
Peter Barker
75e8424e3f Tools: autotest: add a test for driving a simple RTL mission
In particular, we weren't setting NAV_CONTROLLER_OUTPUT.wp_dist
correctly before a recent commit from Randy
2017-12-09 22:34:07 +11:00
khancyr
fac89ed437 Tools: autotest: move common functionality to common.py
Tools: don't need to pass option on first mavproxy

Tools: reformat common.py and add commun function

Tools: use new common functions

Tools: move functions from rover to commun and reorder

Tools: add and use set_rc function with timeout

Tools: fix style for pep8
2017-12-02 22:28:22 +11:00
Guglie
42e5b180cb Tools: fix sim_vehicle.py terminal tab when using --no-mavproxy 2017-12-02 09:34:10 +11:00
Peter Barker
3dc6c34465 Tools: LogAnalyzer: fix various Tests for newer-style logs
Tools: LogAnalyzer: don't continue if we fail to set vehicle type from MSG

Tools: LogAnalyzer: cope with renamed CTUN.BarAlt attribute

Tools: LogAnalyzer: cope with renamed CTUN.BarAlt attribute

Tools: LogAnalyzer: cope with missing THR_MIN parameter
2017-12-02 09:26:09 +11:00
Peter Barker
7257fb6284 Tools: LogAnalyzer: correct join() in GPSGlitch test 2017-12-01 10:30:56 +11:00
Mark Whitehorn
fd5039f8cd Tools: link SBusOut library 2017-11-30 10:20:04 +11:00
Peter Barker
b7a293ca5f Tools: autotest: move fetching of banner and version
Moved these to before log download.

They fail randomly after log download.
2017-11-28 09:47:46 +11:00
Peter Barker
5ee9361941 Tools: generate_manifest: include firmware type as differentiator 2017-11-24 12:12:35 +11:00
Peter Barker
ada7d700c2 Tools: support for units on fields
Tools: add units to minimal log format

Tools: add units to CHEK message
2017-11-23 10:40:30 +11:00
Peter Barker
fa68738726 Tools: waf: avoid trigraph warnings by adding -Wno-trigraphs 2017-11-23 10:40:30 +11:00
HeBin
c700e69541 Tools: add Robsense PhenixPro Devkit Board support 2017-11-22 10:10:21 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas
5c07a44a6d Tools: Fix a race condition on the regression tests on Windows
Added \r\n to the expect() string as recomended at:
http://pexpect.readthedocs.io/en/stable/overview.html#find-the-end-of-line-cr-lf-conventions
this should work on both windows and linux systems

pexpect says it will always do a minimal (non greedy) matching and docs explicitly say that a .+ expression will always return only one character. These lines in autotest are looking for \S+, which, believing the documentation, would only return one character of the log file path.
Now we know that's not true, neither for Linux or for Windows (given the logs from @karthikdesai), so I can only assume that it does a greedy match but only for the characters it has received at the time expect is called.
Apparently, in the machines we are using autotest, it isn't a problem since MAVProxy is likely fast to give its output to pexpect before the expect method is called. On @karthikdesai's machine that wasn't happening since his machine was more or less loaded.
Concluding, this looks like a correct fix in the sense that it extends the regex pattern to wait for the end of line (and probably other places could benefit from it too).
2017-11-22 17:01:05 +09:00
Andrew Tridgell
766a2a4bc0 Tools: link volz library 2017-11-21 14:10:54 +11:00
Patrick José Pereira
df6d2659ac autotest: Add RAT Beach for ArduSub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-11-20 17:27:47 +09:00
murata
0934bdb5dc Tools: remove default values from eLAB 445 params 2017-11-16 22:48:13 +09:00
Jacob Walser
83bb1e7f4a Frame_params: (BlueROV2/Sub-3.5.2) update tilt servo reversal 2017-11-14 18:10:45 -05:00
Peter Barker
2f76f83ab7 Tools: autotest: add and use progress function
Based on work done by khancir
(https://github.com/ArduPilot/ardupilot/pull/6360)

Tools: arduplane.py change print to progress function
Tools: quadplane.py change print to progress function
Tools: ardusub.py change print to progress function
2017-11-14 16:02:05 +11:00