Grant Morphett
00e6cd40e5
scripts: Support to build for frame specific tags
...
The driver for this is to separate the Copter and TradHeli builds so
Copter and TradHeli do not have to be released at the same time. This
will also work for all frame times but it is anticipated only required
by Heli.
2015-09-08 09:05:43 +10:00
Andrew Tridgell
6c74782997
autotest: added QMAC to locations list
...
Queanbeyan Model Aircraft Club, where CASA OC tests are run in
Canberra
2015-09-07 08:07:17 +10:00
Peter Barker
43adcd39ab
Replay: DataFlash needs a version string
2015-09-03 15:20:20 +10:00
Andrew Tridgell
ee91a41405
autotest: added H_RSC_MIN/MAX to heli parms
2015-09-01 16:34:20 +10:00
Andrew Tridgell
717c04d507
autotest: fly CopterAVC mission as a helicopter
...
this ensures heli gets basic testing
2015-09-01 16:34:20 +10:00
Randy Mackay
a21eed9695
AutoTest: reduce MOT_THST_EXPO to 0.5
2015-08-31 21:53:43 +09:00
Grant Morphett
ccfefac2fe
build_all: Remove the all target as it just builds SITL.
2015-08-31 20:45:11 +09:00
Grant Morphett
2769487ac0
build_all: Need to remove APM2 from the default master build
2015-08-31 18:31:43 +10:00
Grant Morphett
c0a28c45f8
scripts: using the wrong variable for the board type
2015-08-28 12:00:07 +10:00
Andrew Tridgell
b03c6137a8
Travis: don't do APM2 build in travis any more
...
we no longer require APM2 compatibility for patches in master
2015-08-28 10:42:45 +10:00
Randy Mackay
53b65675b2
SITL: param change to for copter optflow testing
2015-08-27 20:57:35 +09:00
Andrew Tridgell
81d4864c10
autotest: added more autotest build logging
2015-08-27 12:03:28 +10:00
Andrew Tridgell
b966f7fc3e
autotest: ensure we start on master branch
2015-08-27 12:03:14 +10:00
Grant Morphett
50b732d2af
web-firmware: Added an icon and link for AntennaTracker
2015-08-27 09:23:57 +09:00
Andrew Tridgell
6caea9e07c
autotest: fixed sim_vehicle.sh with no realpath
2015-08-24 10:47:41 +10:00
mirkix
6f77d3ae98
Linux_HAL_Essentials: Add PRU firmware files. Prevent user to install PRU compiler
2015-08-24 08:43:11 +10:00
Lucas De Marchi
a2d17b87c7
Tools: add realpath to ubuntu prerequisites
...
The realpath tool may be missing on a Ubuntu distro and we use it in
sim_vehicle.sh. Make sure it's also installed as part of sitl packages.
On Archlinux it's part of the coreutils package which is part of the
base group. Therefore it's guaranteed to be available.
Fix #2730 .
2015-08-23 11:14:53 +09:00
Andrew Tridgell
1cd5b9da9b
scripts: use AVR specific branches for builds for APM1/APM2
2015-08-20 10:45:00 +10:00
Lucas De Marchi
1f90d43c57
Tools: allow script to fixup a single file
...
Instead of always trying to fix the entire tree, accept paths in the
command line so it only fixes that paths. This allows to easily rebase a
branch after the header changes, without touching the rest of the tree.
2015-08-18 17:12:52 +10:00
Andrew Tridgell
2e5d517691
autotest: added basic helicopter parameters
2015-08-13 18:58:14 +10:00
Fredrik Hedberg
e2027a8414
SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME.
2015-08-13 18:23:30 +10:00
Andrew Tridgell
730b5d228e
autotest: cope with symlinks in vehicle path
2015-08-13 15:14:23 +10:00
Andrew Tridgell
596cac58d0
autotest: removed the need for run_cmd.sh
2015-08-13 14:56:33 +10:00
squilter
79efad339f
Tools: add ccache setup to arch setup script
2015-08-12 14:29:51 -07:00
squilter
a112e08e42
Tools: add script to set up Arch Linux
2015-08-12 14:29:48 -07:00
Gustavo Jose de Sousa
ae9a314295
Tools: add script for standardize includes of libraries headers
2015-08-11 16:38:25 +10:00
Gustavo Jose de Sousa
84b5555a1a
Tools: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:41 +10:00
Andrew Tridgell
5cc7c456a7
autotest: fixed sense of test for autotest directory
...
fixes PR#2593
2015-07-23 14:36:18 +10:00
John Hsu
94bf440e8f
autotest: added Gazebo frame type
2015-07-20 09:10:48 +10:00
John Hsu
c75a231846
autotest: added OSRF location
2015-07-20 09:10:48 +10:00
squilter
c5550329a3
Tools: fix ubuntu prereqs script to force python2
2015-07-18 13:48:29 +09:00
squilter
506970fbd3
Tools: Add Bebop prereqs to Ubuntu script
2015-07-14 18:10:56 +09:00
mirkix
1226cc7dae
Tools/autotest: Add location Bremerhaven
2015-07-13 11:04:53 +09:00
Peter Barker
ec9be695fb
LogAnalyzer: don't die if no arm/disarm eveents
2015-07-10 19:00:22 +10:00
Peter Barker
1dba943a10
LogAnalyzer: if no GPS, try GPS2
2015-07-10 19:00:22 +10:00
Peter Barker
ce558b2b98
LogAnalyzer: cope with TimeUS
...
See also: 177f61656f
2015-07-10 19:00:22 +10:00
Jason Martens
a08d57149e
LogAnalyser: Add double support to DataflashLog.py
...
Doubles were added to dataflash in commit 3991e0c476
.
2015-07-10 18:58:11 +10:00
Peter Barker
818bb3f88f
Tools: correct array-out-of-bounds in PRU test
2015-07-10 18:56:20 +10:00
Peter Barker
dbbc5ed816
Replay: fix double-free in MsgHandler
2015-07-10 18:56:20 +10:00
Andrew Tridgell
338ae68537
autotest: allow run without $PATH setup
2015-07-09 14:06:03 +10:00
Andrew Tridgell
01eb27908f
autotest: fixed typo
2015-07-09 11:59:24 +10:00
Andrew Tridgell
7f425a97a3
autotest: use current autotest directory if possible
2015-07-09 11:53:46 +10:00
Andrew Tridgell
f2106f39aa
Replay: save CHEK messages when not being generated
2015-07-09 10:20:45 +10:00
Andrew Tridgell
2eb204d0ca
Replay: added --downsample option
2015-07-07 15:55:41 +10:00
Andrew Tridgell
dd53f5a7a1
Replay: added --nottypes option
2015-07-07 15:14:05 +10:00
mirkix
38318c4b51
Linux_HAL_Essentials: Add support for HC-SR04 Range Finder
2015-07-07 08:00:32 +10:00
Lucas De Marchi
547dbb3906
Replay: use ARRAY_SIZE macro
2015-07-07 07:56:30 +10:00
Andrew Tridgell
dee1bf3da3
Replay: show smaller parameter changes
2015-07-07 07:56:17 +10:00
Andrew Tridgell
bdddfae57f
Replay: don't write out duplicate FMT messages
...
this makes replay output the same as input for when input is a replay
log
2015-07-04 22:43:54 +10:00
Andrew Tridgell
93800fb3a1
Replay: automatically find message types, and improve rate detection
2015-07-04 15:14:14 +10:00
Andrew Tridgell
b20318aaeb
Replay: remap msgids on pass-through to avoid conflicts
...
if msg IDs have changed since the log was produced they need to be
remapped
2015-07-03 09:32:05 +10:00
Andrew Tridgell
bd27fed241
Replay: fixed missing import
2015-07-02 17:14:42 +10:00
Andrew Tridgell
ef36d74a1c
Replay: added generation of -checked logs
2015-07-02 17:05:09 +10:00
Andrew Tridgell
c74d39558c
Replay: initial version of CheckLogs.py
2015-07-02 17:05:09 +10:00
Andrew Tridgell
4f9ccf727a
Replay: cope with bad NSats field from old logs
2015-07-02 17:05:09 +10:00
Andrew Tridgell
a5abb7c698
Replay: use tabs in replay_results.txt
2015-07-02 14:28:44 +10:00
Andrew Tridgell
f79ae4b749
Replay: add to replay_results.txt when run with --check
2015-07-02 14:28:44 +10:00
Andrew Tridgell
b93101b1bf
Replay: reduced verbosity
2015-07-01 21:11:46 +10:00
Andrew Tridgell
2c0d6c0406
Replay: fixed yaw error calculation
2015-07-01 20:44:08 +10:00
Andrew Tridgell
d07b93e661
Replay: fixed writing of CHEK messages
2015-07-01 20:44:08 +10:00
Peter Barker
8bbeedb158
Replay: flush dataflash log on floating point exception
2015-06-30 16:19:22 +10:00
Andrew Tridgell
34689cf949
autotest: cope with mavproxy logging msg changes
2015-06-30 14:06:17 +10:00
Andrew Tridgell
2291a8994e
Replay: fixed build
2015-06-29 15:59:53 +10:00
Peter Barker
2266f118e9
Replay: DataFlash frontend/backend split
2015-06-26 16:02:50 +10:00
Andrew Tridgell
f2756ecb22
Replay: added checking of solution
2015-06-26 15:55:19 +10:00
Andrew Tridgell
9016a3d3db
Replay: added --chek-generate option
...
adds CHEK messages based on current estimates
2015-06-26 15:55:18 +10:00
Andrew Tridgell
42023eb17a
autotest: check for .gitmodules before ldir check
...
another attempt to get build_binaries going
2015-06-26 11:32:15 +10:00
Peter Barker
d4a34b3da1
SITL: abort sim_vehicle.sh if build fails a second time
...
Previously a build could fail and we would end up running the old code
2015-06-25 10:16:24 +10:00
Andrew Tridgell
48828a7834
autotest: more changes to cope with older builds without submodules
2015-06-24 09:36:21 +10:00
Andrew Tridgell
fd17a69cd1
autotest: skip binary builds without submodules
...
the build_binaries is trying to build for navio and pxf without
submodules
2015-06-23 21:43:44 +10:00
Andrew Tridgell
63895cbe75
autotest: build pxf and navio binaries for firmware.diydrones.com
2015-06-23 14:27:49 +10:00
Peter Barker
54efa3d727
Replay: split off a ReplayVehicle class
...
Like "Copter copter" and "Plane plane": "ReplayVehicle replayvehicle"
2015-06-23 09:49:13 +10:00
Andrew Tridgell
7e23912d17
autotest: added -b option for build target to sim_vehicle.sh
2015-06-19 16:39:45 +10:00
Grant Morphett
0645474b3b
autotest: Fixed the LOG_BITMASK for Rover in SITL.
2015-06-18 17:54:19 +10:00
Andrew Tridgell
9e36e2c562
Replay: fixed handling of dual-GPS HDop field
2015-06-18 09:28:59 +10:00
Andy Piper
a8df968441
Fix vagrant build issues with submodules.
2015-06-18 08:47:32 +10:00
Andrew Tridgell
47834759e5
Replay: fixed build warnings
2015-06-17 12:46:55 +10:00
Andrew Tridgell
31f7525a61
Replay: added --no-imt flag
2015-06-17 12:46:55 +10:00
Lucas De Marchi
ac09a61238
Travis: split build by target instead of vehicle
...
This way we can group together the builds that are fast so we pay the
"setup price" just once. Let the long PX4 build on its own VM because
it's the one that takes most of the time building NuttX.
By grouping the projects by target it's also easier to split the build
in more VMs if we want to speed up the build.
2015-06-17 09:26:04 +10:00
Lucas De Marchi
a435269839
Travis: make most targets run with -j2
...
As documented in Travis the VMs have 1.5 cores
(http://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-build-on-one-VM ).
So let's make it only -j2.
The exception is PX4 build that runs without any -j setting since NuttX
fails to build if we do that.
2015-06-17 09:26:04 +10:00
Lucas De Marchi
985764fb1c
Travis: build APMrover2 and AntennaTracker for apm2
2015-06-17 09:26:03 +10:00
Lucas De Marchi
5c5bdc2c7b
Travis: use associative arrays
...
This makes the script be more declarative and easier to extend.
2015-06-17 09:26:03 +10:00
Lucas De Marchi
ae40aed2a2
Travis: split build using vehicle types
...
Travis build is timing out because it's taking too much time. Let's
split the build so 1) they can run concurrently and 2) we don't timeout.
We still lose some time due to multiple checkouts, but at least we don't
fail the build due to timeout.
2015-06-17 09:26:03 +10:00
Lucas De Marchi
a124fbc4c2
Travis: don't build same configuration multiple times
...
In ArduPlane "make all" is the same as "make sitl" and both sitl and
linux are already covered by the loop below. Don't build the same
configuration multiple times.
2015-06-17 09:26:03 +10:00
Andrew Tridgell
43d6060ba7
autotest: removed "Library Parameters" heading in autodocs
2015-06-16 10:01:03 +10:00
Andrew Tridgell
c7cb980498
Replay: support IMT messages
2015-06-16 09:53:55 +10:00
Andrew Tridgell
46926765c4
autotest: support general models
2015-06-15 09:20:56 +10:00
Andrew Tridgell
22d5d2e251
scripts: fixed build_binaries for submodules
...
no longer have PX4_ROOT
2015-06-15 06:54:02 +10:00
Peter Barker
71bc48189e
Replay: remove dangling declarations from LogReader.h
...
These seem to have been left in after MsgHandler was factored out
2015-06-14 17:25:08 +10:00
Peter Barker
f996bf4307
Replay: move LR_MsgHandlers into their own files
2015-06-14 17:17:42 +10:00
Peter Barker
7eb588e9ff
Replay: use a subclasss of DataFlashFileReader to determine log rate
2015-06-14 16:47:52 +10:00
Peter Barker
d41b21cd19
Replay: split off a base class for reading dataflash logs
2015-06-14 16:47:52 +10:00
Peter Barker
0b5e645075
Replay: grab reference to timestamp rather than timestamp
...
PARM messages would not have been updating the clock correctly
Also, random stack corruption...
2015-06-14 16:34:01 +10:00
Staroselskii Georgii
c0dceb667d
Travis: reduced number of threads used for a build
2015-06-11 16:27:51 +10:00
Peter Barker
125042e1db
Replay: use GetOptLong for command line parsing
2015-06-10 10:14:15 +10:00
Peter Barker
f4db241bf6
Replay: avoid dataflash buffer filling up on many pass-through messages
2015-06-09 21:52:46 +10:00
Peter Barker
5fb46b0e11
Replay: fix dataflash overflow on timestamp-poor (older) logfiles
2015-06-09 21:52:45 +10:00
Andrew Tridgell
57cef63b94
autotest: enable submodule build for binaries
2015-06-09 16:57:30 +10:00
Andrew Tridgell
28ffd9d4ed
travis: setup for git submodules
2015-06-09 16:51:55 +10:00
Randy Mackay
fbec1e63ad
autotest: fix typo in Bitmask keyword for autodocs
2015-06-05 09:19:26 +09:00
Randy Mackay
7c851b781b
autotest: allow Bitmask keyword in autodocs
2015-06-04 21:31:41 +09:00
Andrew Tridgell
b1002eae3b
Replay: fixed -A0 for "arm immediately"
2015-06-03 12:31:21 +10:00
Randy Mackay
08466d34e8
Frame: add SToRM32 gimbal parameters
...
These parameters can be used to configure ardupilot to control a SToRM32
3-axis gimbal attached to Pixhawk Telem2 port using the MAVLink
protocol. Gimbal Tilt is controlled using the RC6 input
2015-06-02 14:49:40 +09:00
Andrew Tridgell
a87279cfe5
Hello: convert example from .pde to .cpp
2015-06-01 18:12:16 +10:00
Andrew Tridgell
e233376074
scripts: don't build VARTest example
2015-06-01 17:07:09 +10:00
Andrew Tridgell
bd71e8e848
VARTest: removed example sketch
...
this isn't of much use any more
2015-06-01 17:07:09 +10:00
Andrew Tridgell
a3546a3ac2
CPUInfo: convert example from .pde to .cpp
2015-06-01 17:07:08 +10:00
Andrew Tridgell
26e55f078a
Replay: converted to .cpp files
2015-06-01 16:15:08 +10:00
Andrew Tridgell
f4c61acbc2
autotest: removed old python antennatracker simulator
2015-06-01 14:20:27 +10:00
Andrew Tridgell
074a6cad91
autotest: use new tracker simulator in sim_vehicle.sh
2015-06-01 12:54:06 +10:00
Andrew Tridgell
b6ed86465b
autotest: prioritise .cpp projects over .pde projects
2015-05-30 15:21:25 +09:00
Andrew Tridgell
337cd3d4a7
autotest: allow RebootRequired keyword in autodocs
2015-05-29 16:35:33 +10:00
Andrew Tridgell
b27d0a6525
Replay: handle replay on older logs
...
we now pass-thru all messages except those that are being generated by
replay. We also pass-thru the FMT headers for those messages
2015-05-28 13:30:38 +10:00
Andrew Tridgell
2007d2b6eb
Replay: cope with FRAM messages
...
use them to trigger ahrs updates
2015-05-28 13:30:37 +10:00
Peter Barker
8eafc209a9
Replay: understand and use 64-bit timestamps in Replay
2015-05-27 11:54:17 +10:00
Andrew Tridgell
320b69c375
autotest: make sim_vehicle.sh work better on windows
2015-05-25 16:50:27 +10:00
Andrew Tridgell
532839d7dd
autotest: remove old python simulators
2015-05-25 12:22:28 +10:00
Andrew Tridgell
9f09ac64cf
autotest: enable internal MAVLink gimbal
...
and add -B option to help debugging
2015-05-25 12:20:27 +10:00
Andrew Tridgell
0d20167294
autotest: removed earth-frame rates usage
...
work only with rates in body frame
2015-05-25 08:42:21 +10:00
Andrew Tridgell
8f5c663463
autotest: show -M option in usage for sim_vehicle.sh
2015-05-24 15:24:02 +10:00
Andrew Tridgell
90aa834102
autotest: use internal simulator backends when possible
2015-05-23 17:14:52 +10:00
Andrew Tridgell
2392481945
autotest: remove old ROS runsim code
2015-05-22 16:09:58 +10:00
Andrew Tridgell
d734e700fc
autotest: support last_letter in sim_vehicle.sh
2015-05-22 16:07:44 +10:00
Andrew Tridgell
d00f1c0d4d
scripts: fixed handling of no-pde for fw version
2015-05-22 16:07:43 +10:00
Andrew Tridgell
088fb95192
autotest: make last_letter run at 500Hz
2015-05-22 16:07:43 +10:00
Andrew Tridgell
a661187ac0
autotest: added some debug to last_letter startup
2015-05-21 21:17:38 +10:00
Andrew Tridgell
4c96ec26e5
autotest: fixed the -e option for sim_vehicle.sh
2015-05-21 21:16:32 +10:00
Andrew Tridgell
dfc7878b14
autotest: fixed cpp files for parameter parsing
2015-05-21 11:42:32 +10:00
Andrew Tridgell
332fdbbbea
Scripts: removed 'make configure'
2015-05-21 10:54:19 +10:00
Andrew Tridgell
64ace3c0c1
autotest: removed 'make configure'
2015-05-21 10:54:19 +10:00
Andrew Tridgell
b63028621a
VARTest: removed NOINLINE define
2015-05-21 09:36:04 +10:00
Andrew Tridgell
dc1ff9a757
Replay: added in_list() method
...
neaten up code
2015-05-19 20:22:46 +10:00
Andrew Tridgell
34fe39f17d
Replay: force COMPASS_ORIENT to 0
...
we use compass.setHIL() in body frame, or must use an orientation of 0
to give the right value
2015-05-19 20:22:46 +10:00
Peter Barker
91b761cfb0
Replay: merge MessageHandler_* into MsgHandler.h/MsgHandler.cpp
...
These were trivial classes; having lots of these files around made
it painful to work with.
2015-05-19 20:22:45 +10:00
Andrew Tridgell
f08f0ca2f9
Replay: show time of AHRS health change
2015-05-19 15:21:22 +10:00
Andrew Tridgell
ba930f8cf1
Replay: removed the timestamp rounding code
...
this makes things worse for plane replay
2015-05-19 13:18:02 +10:00
Andrew Tridgell
52f6332fa9
Replay: pass through some message types to output log
...
this gives mode information in output log
2015-05-18 10:08:27 +10:00
Andrew Tridgell
7177d5df7e
Replay: removed attempt to interpolate IMU data
...
it seems to cause more harm than good
2015-05-18 09:51:14 +10:00
Andrew Tridgell
dd7c42be67
autotest: setup offsets for 2 SITL compasses
2015-05-16 07:07:35 +10:00
Andrew Tridgell
be8ebd5802
travis: don't require apm1-nologging to work
2015-05-15 17:55:50 +10:00
Andrew Tridgell
49146a2a88
Replay: call Log_Write_POS()
2015-05-15 14:28:15 +10:00
Andrew Tridgell
56f44266d8
Replay: fixed for new compass API
2015-05-15 14:25:44 +10:00
Andrew Tridgell
a356ad1c79
Replay: added MAG2 message
2015-05-15 14:25:44 +10:00
Andrew Tridgell
9f05e54d90
Replay: added support for EV message for copter arming
2015-05-15 14:25:44 +10:00
Andrew Tridgell
4e3d18bee4
Replay: added ARM message to logs, and auto ARM/DISARM
2015-05-15 14:25:43 +10:00
Randy Mackay
c86a396ca0
SITL: allow easier slowing of copter test
2015-05-13 22:40:03 +09:00
Lucas De Marchi
35b550f03d
autotest: fix usage of tabs instead of space
...
Python 3 is stricter with regard to using tabs instead of space (PEP8):
Spaces are the preferred indentation method.
Tabs should be used solely to remain consistent with code that
is already indented with tabs.
Python 3 disallows mixing the use of tabs and spaces for
indentation.
Python 2 code indented with a mixture of tabs and spaces should
be converted to using spaces exclusively.
2015-05-13 20:51:37 +09:00
Randy Mackay
2ac30a53ad
SITL: remove copters 3rd accel scaling from params
2015-05-12 16:43:02 +09:00
Randy Mackay
2ad5011177
SITL: slow down autotest for slow VMs
2015-05-12 16:31:32 +09:00
Andrew Tridgell
fb245cd77b
autotest: removed unmaintained jenkins autotest code
...
this can be revived later if there is interest
2015-05-11 11:27:48 +10:00
Andrew Tridgell
68515d0324
autotest: fixed CopterAVC test
2015-05-11 11:26:54 +10:00
Andrew Tridgell
64a55c908f
Replay: fixed trailing nul and don't wait for EKF to init
2015-05-11 11:19:11 +10:00
Andrew Tridgell
460489e2dc
Replay: fixed cast of AP_AHRS_DCM
2015-05-11 09:41:43 +10:00
Andrew Tridgell
044a09425b
autotest: cope with environments with no $DISPLAY
2015-05-11 09:19:54 +10:00
Andrew Tridgell
068b862888
autotest: use buildlogs directory consistently
2015-05-11 08:37:49 +10:00
Andrew Tridgell
aaff670ec4
autotest: use builtin JSBSim support for plane testing
2015-05-11 08:06:31 +10:00
Andrew Tridgell
ebf358138f
autotest: use internal sim code for JSBSim
2015-05-10 21:58:05 +10:00
Peter Barker
32beaea48c
Replay: use column labels rather than IDs in Replay.pde
2015-05-10 08:33:32 +10:00
Andrew Tridgell
6b668c08dc
autotest: use internal rover sim in sim_vehicle.sh
2015-05-09 21:22:02 +10:00
Peter Barker
f3d1242d60
Replay: update Attitude on ATT rather than AHRS2
2015-05-09 20:54:07 +10:00
Holger Steinhaus
1cdc5f7c7f
LogAnalyser: adapt to new APM:* vehicle names
2015-05-09 12:20:28 +09:00
Holger Steinhaus
46c3c26065
LogAnalyser: fix buffer calculations
2015-05-09 12:20:25 +09:00
Holger Steinhaus
a146b188a7
LogAnalyser: fix parsing of log messages without attributes (e.g. STRT)
2015-05-09 12:20:23 +09:00
Fabio Kruger
d585d5691d
autotest: Enables copy to clipboard from xterm shells. Useful to copy gdb output.
2015-05-08 16:42:43 +10:00
Andrew Tridgell
7d3b3533e4
autotest: updated wiki page names for auto-generated parms
2015-05-08 16:38:17 +10:00
Ramón Roche
a2a0d834aa
autotest: provide a custom location to set as sim home
...
this helps to set a custom home location on sim, if the location is
outside of the locations in Tools/autotest/locations.txt
Usage:
sim_vehicle.sh -l 37.872991,-122.302348,20,260
The location needs to be in the same format as the locations defined in
locations.txt inside autotest
2015-05-08 13:51:37 +10:00
Michael Day
a17f53254c
autotest: Separated McMillan into McMillan and McMillan_East in locations.txt
2015-05-08 09:18:28 +09:00
Andrew Tridgell
c27b605b86
autotest: fixed sim_vehicle -w for plane
2015-05-07 17:28:00 +10:00
Andrew Tridgell
98df4fe60e
autotest: make sim command clearer in logs
2015-05-06 10:10:13 +10:00
Andrew Tridgell
fe536a4b89
autotest: use internal copter sim for autotest
2015-05-05 16:56:40 +10:00
Andrew Tridgell
d5b51f2129
autotest: use internal simulator for copter test
2015-05-05 16:56:39 +10:00
Andrew Tridgell
209896afc7
autotest: use builtin rover model for autotest
2015-05-05 16:56:39 +10:00
Staroselskii Georgii
33aa05d7b3
Travis: NavIO compiler fix
2015-05-05 15:08:59 +10:00
Andrew Tridgell
75229ebf6c
Tools: removed fast_atan
2015-05-05 13:57:10 +10:00
Andrew Tridgell
8c8c910ad0
autotest: removed the old AVR/2560 code in autotest
...
now checked with build_all
2015-05-05 10:39:31 +10:00
Andrew Tridgell
3d14b47d8b
autotest: try to run at 10x, not 100x speed
...
if we run too fast mavproxy can't keep up
2015-05-05 09:45:59 +10:00
Andrew Tridgell
5d8a897330
autotest: use right sim backend for different vehicles
2015-05-05 09:45:59 +10:00
Andrew Tridgell
9e02ce44ae
Tools: fix for HAL_SITL rename
2015-05-05 09:45:57 +10:00
Peter Barker
e1be814853
Replay: correct case for Airspeed when parsing airspeed messages
2015-05-01 09:18:49 +10:00
Peter Barker
67ba043b65
Replay: fix replay for CTUN (type=0) messages
2015-05-01 09:18:11 +10:00
Peter Barker
2b05f6e2b1
Replay: correct vehicle detection from MSG messages
2015-05-01 09:17:29 +10:00
Peter Barker
db833a6473
Replay: fix null-pointer dereference when fields not present
2015-04-30 20:01:49 +10:00
Andrew Tridgell
9204cab7d5
autotest: fixed rover test
2015-04-30 18:45:38 +10:00
Andrew Tridgell
1cbbf1ab9e
autotest: start SITL in synthetic clock mode
2015-04-30 17:19:56 +10:00
Andrew Tridgell
a262f9d31b
autotest: disable the devrelease build for now
...
not being kept updated
2015-04-30 14:09:59 +10:00
Randy Mackay
ff5f0f1d23
CPUInfo: add include to fix compile error
2015-04-29 10:10:21 +09:00
Peter Barker
56a8bf5460
Replay: use the message's name rather than number to determine which message handler to use for a message
2015-04-28 21:10:16 +10:00
Peter Barker
42351edfa6
Replay: use dataflash log format messages to extract message data instead of using structs
...
dataflash logs have been self-describing since 2013. Replay now uses the descriptions supplied in the dataflash log to understand the format of any particular message.
This change should allow fields to be added to messages with no impact on Replay.
2015-04-28 21:10:15 +10:00
Randy Mackay
60bc986e71
VARTest: remove duplicate ap_message enum
2015-04-28 20:09:07 +09:00
Andrew Tridgell
d1de89f933
Travis: disable navio build due to another travis compiler bug
2015-04-28 14:50:10 +10:00
Staroselskii Georgii
9517bb3049
Travis: added navio target
2015-04-28 11:43:56 +10:00
Randy Mackay
211bdb0bb6
Replay: include AP_RangeFinder.h
2015-04-24 15:49:09 +09:00
Randy Mackay
1f58cb9980
Replay: pass range finder into ahrs constructor
2015-04-24 11:27:27 +09:00
Andrew Tridgell
3300de2c9d
autotest: added some gyro and accel noise to copter sim
...
this noise should be kinematically consistent, so will be better for
the EKF
2015-04-21 21:33:27 +10:00
Andrew Tridgell
79f6d93dc9
autotest: change SIM_GPS_DELAY in parameters to 1
...
better matches uBlox
2015-04-21 21:05:07 +10:00
Andrew Tridgell
03b5305837
autotest: allow for negative col pitch in crrcsim heli
...
this allows for hovering upside down in acro mode
2015-04-21 20:45:30 +10:00
Randy Mackay
cebd578403
Frame Params: remove unused Advanced, Beginner
2015-04-21 10:44:26 +09:00
Andrew Tridgell
5f8c05b712
autotest: fixed extraction of defaults
2015-04-20 15:12:51 +10:00
Andrew Tridgell
8f09ee077c
Replay: try to cope better with millisecond timestamps in 400Hz copter logs
2015-04-20 15:12:51 +10:00
Andrew Tridgell
76a81069c2
autotest: removed unused Rascal XML config
2015-04-20 09:09:23 +10:00
Andrew Tridgell
4fe39c67b4
Build: use git checkout -f
...
this is an attempt to avoid CRLF attributes breakage with builds
2015-04-20 08:59:50 +10:00
Andrew Tridgell
ffd4662ec4
autotest: convert rover sim to use sim_wrapper.py
2015-04-20 08:36:52 +10:00
Andrew Tridgell
dbeaccc3d9
autotest: auto-adjust frame rate for crrcsim
2015-04-20 08:20:50 +10:00
Andrew Tridgell
6897bfdc6b
autotest: fixes for crrcsim with heli model
2015-04-20 08:05:29 +10:00
Andrew Tridgell
e9b6863b23
autotest: changed to new crrcsim FDM protocol format
2015-04-19 15:49:05 +10:00
Andrew Tridgell
59e25d4b2c
autotest: added CRRCSim frame targets
2015-04-19 12:08:27 +10:00
Andrew Tridgell
1cd114e300
autotest: added initial CRRCSim backend
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b5c40cad76
autotest: added gps_distance and gps_bearing
...
needed for CRRCSim backend
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b6ff19e86c
autotest: make default rate depend on model type
2015-04-19 12:08:26 +10:00
Andrew Tridgell
633e7122e7
autotest: added some lateral thrust to helicopter simulator
2015-04-19 12:08:26 +10:00
Andrew Tridgell
6b21aceed0
autotest: moved constrain() into util.py
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b56538ff70
Tools: removed unused file
2015-04-19 12:08:26 +10:00
Andrew Tridgell
d691cfc3d8
autotest: rename sim_multicopter.py to sim_wrapper.py
...
it now supports multiple vehicle types
2015-04-19 12:08:25 +10:00
Randy Mackay
a04bc263f6
SITL: remove redundant takeoff from copter test
2015-04-16 21:00:38 +09:00
Randy Mackay
d0036290c1
SITL: copter test displays which RTL failed
2015-04-16 21:00:17 +09:00
Randy Mackay
1af6fb13ad
SITL: clear glitches before running test
2015-04-15 17:33:25 +09:00
Randy Mackay
90b02a2685
SITL: shorten GPS glitch duration for copter
2015-04-15 17:33:23 +09:00
Hamish Willee
568e4c4d0e
Update README.md
...
Ensure we only have to document the instructions in one place
2015-04-14 17:05:51 +10:00
Lucas De Marchi
5d69e2027c
Travis: install gcc-multilib to get dependency libraries
...
We are failing to execute arm-none-eabi-gcc due to missing 32 bits
libraries in travis. Install gcc-multilib so we get all of them.
This commit also calls this version of gcc in the end of
install-travis-env.sh so if it's to fail, force it to fail early on.
2015-04-14 09:07:31 +10:00
Andrew Tridgell
d4e9418ad4
autotest: rename jsmsim folder to jsb_sim
...
this prevents problems on windows with virtualbox. It tries to run
JSBSim as the directory 'jsbsim' and fails
2015-04-14 09:04:11 +10:00
Andrew Tridgell
82f6bb3c17
autotest: use common frame time handling
2015-04-13 10:08:12 +10:00
Andrew Tridgell
7f89f73ad1
autotest: use simulation time for all time delays
2015-04-13 10:08:12 +10:00
Andrew Tridgell
d2a188c55d
autotest: run plane test at maximum speed
2015-04-13 10:08:12 +10:00
Andrew Tridgell
9fdb74e006
autotest: run JSBSim in lock step mode
...
this requires an updated JSBSim
2015-04-13 10:08:11 +10:00
Andrew Tridgell
e8c115b9c3
autotest: check for the right version of JSBSim
2015-04-13 09:06:21 +10:00
Andrew Tridgell
370edde286
autotest: no need for special SIGCONT handling any more
2015-04-13 06:08:35 +10:00
Randy Mackay
11d0801c99
SITL: fix copter-avc test
2015-04-08 15:24:48 +09:00
mirkix
2e04effd4d
Linux_HAL_Essentials: Add (UAV)CAN support
2015-04-07 20:48:01 -07:00
Randy Mackay
8335399525
SITL: fix copter test
...
Allow more time for fly_square
Allow more movement in loiter_glitch test
2015-04-08 12:18:22 +09:00
Randy Mackay
7eb710ed3a
SITL: copter autotest uses sim time
2015-04-08 12:18:20 +09:00
Randy Mackay
9e1502e54a
SITL: add wait_sim_seconds and get_sim_time
2015-04-08 12:18:18 +09:00
Randy Mackay
2799d15427
SITL: weaken simulated copter
2015-04-08 12:18:15 +09:00
Andrew Tridgell
ee35c2aa35
autotest: update gimbal model to match new messages
2015-04-06 16:45:51 -07:00
Andy Piper
33af275220
Support building of Pixhawk firmware under Vagrant/VirtualBox.
...
On my Windows 7 machine this is at least 5x faster than a mingw based
build. Most of the requirements were taken from install-prereqs-ubuntu.sh
2015-04-06 15:44:01 -07:00
Andrew Tridgell
793a212d28
Travis: removed script breakage
2015-04-06 15:29:57 -07:00
Andrew Tridgell
094910d7e4
Travis: more debugging code
2015-04-05 21:17:20 -07:00
Andrew Tridgell
991d111d91
Travis: another attempt at fixing compiler path
2015-04-05 12:24:54 -07:00
Andrew Tridgell
7048836d1e
Travis: make arm compiler install unconditional
2015-04-05 10:57:17 -07:00
Andrew Tridgell
1315ed7ddf
Travis: allow upgrade to gcc 4.8 to fail
2015-04-05 09:43:57 -07:00
Andrew Tridgell
a0028e3faf
autotest: fixed SITL without ROS installed
2015-04-01 12:28:41 -07:00
Andrew Tridgell
70855027f3
autotest: added Iris ROS simulator support
...
use -f IrisRos
2015-04-01 09:14:03 -07:00
Andrew Tridgell
f82f0da2b3
autotest: support sims that do their own time control
2015-04-01 09:12:11 -07:00
Andrew Tridgell
5947160fd7
autotest: removed delta_time from update_position()
...
not available in some backends, and not needed
2015-04-01 09:11:25 -07:00
Andrew Tridgell
ea10877113
Replay: fix handling of old IMU messages
2015-03-28 10:52:37 -07:00
Andrew Tridgell
cf15b4d4fc
autotest: removed use of --nowait option
2015-03-27 18:03:24 -07:00
Andrew Tridgell
16f09a6eae
autotest: added -S parameter for simulation speedup
2015-03-27 13:52:59 -07:00
Andrew Tridgell
0f540fc30c
autotest: ignore SIGCONT with sim_vehicle.sh -G
2015-03-26 21:23:17 -07:00
Andrew Tridgell
1cdaacdaa1
autotest: avoid a px4-clean for each vehicle type
2015-03-25 22:36:05 -07:00
Andrew Tridgell
58a1ead765
autotest: speed up build_binaries a bit
...
don't need to rebuild from scratch for copter
2015-03-25 22:33:31 -07:00
Andrew Tridgell
97ee7e9fcc
autotest: run copter SITL simulation at 400Hz
...
save a bit of CPU time
2015-03-25 22:30:46 -07:00