Commit Graph

1697 Commits

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