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
Andrew Tridgell
c338002e0d
autotest: fixed defaults extraction in autotest
2015-03-25 18:57:46 -07:00
Andrew Tridgell
0ea0b51ccd
autotest: start plane sim during initial parameter load
...
this is now needed to get timestamps from JSBSim
2015-03-24 08:06:50 -07:00
Andrew Tridgell
38e9bd5336
SITL: provide simulation timestamp from JSBSim
2015-03-24 08:06:50 -07:00
Andrew Tridgell
45887a5d28
autotest: run rover and copter with synthetic clock
2015-03-22 18:57:43 -07:00
Randy Mackay
e1abdadc06
AutoTest: allow 10sec for EKF to settle in AVC test
2015-03-21 21:51:41 +09:00
Kevin Hester
8b78e6f2c0
vagrant: Fix error on virgin installs
...
If the user didn't happen to have a .screenrc the previous version of this
script could fail.
2015-03-19 10:41:59 +09:00
mirkix
1f85a087ac
Linux_HAL_Essentials: Move pwmpru and rcinpru to subfolder pru
2015-03-17 08:21:46 +11:00
mirkix
a0f183e6ce
Linux_HAL_Essentials: Move PFX DT files to devicetree/pxf
2015-03-17 08:20:51 +11:00
mirkix
bd34ffa7db
Linux_HAL_Essentials: RC AIO PRU firmware. Does RC input (5ns accuracy) and 12 PWM RC ouputs (better than 1us accuracy) with only one PRU.
2015-03-16 09:33:55 +11:00
mirkix
b88dc40e79
Linux_HAL_Essentials: Add device tree for BBBMINI
2015-03-16 09:15:06 +11:00
Andrew Tridgell
9ec9d58fb2
autotest: removed flymaple copter build
...
doesn't support NavEKF
2015-03-14 20:00:04 +11:00
Andrew Tridgell
0bafd33cfa
autotest: disable remaining APM1 build for copter
2015-03-14 15:04:22 +11:00
Randy Mackay
74b46818bd
AutoTest: add 10sec before starting copter test
...
We should probably replace this with a check that the EKF has completed
it's initialisation and has not gone into constant position mode.
2015-03-14 11:03:15 +09:00
Georacer
9b29a9cd5d
autotest: Enable SITL code to call an external ROS simulator for ArduPlane
...
sim_vehicle.sh code was modified to call the ROS/runsim.py file
instead of the default /jsbsim/runsim.py. ROS/runsim.py uses roslaunch
command to launch the last_letter simulator
https://github.com/Georacer/last_letter , which should be cloned
and compiled in the system.
GIT_Success.txt file was modified to depict the author's current
mindstate.
The location LGAT (Former National Airport of Athens, now an unofficial
model park) was added in the locations.txt file, since this is my
base of operations and start for my missions.
2015-03-14 09:07:52 +11:00
Andrew Tridgell
57273b41b4
autotest: removed 2560 build for copter
2015-03-13 22:58:21 +11:00
Andrew Tridgell
ac4b52a31c
Build: removed HIL builds
...
now use HIL_MODE=1
2015-03-13 22:54:55 +11:00
Andrew Tridgell
3c9af9e474
autotest: fixed hil mode start for sim_vehicle
2015-03-13 22:52:55 +11:00
Andrew Tridgell
95a1ab0cab
Replay: fixed build with new AP_Compass API
2015-03-13 18:46:16 +11:00
Vic
6467e5b3ee
VARTest: Update VARTest to backend
2015-03-13 18:46:15 +11:00
Randy Mackay
774332ea02
Replay: fixup after inertial nav and baro glitch removal
2015-03-13 16:41:08 +09:00
Andrew Tridgell
472a50f9c2
Build: removed APM2 build for copter
...
no longer supported
2015-03-13 11:36:54 +11:00
Andrew Tridgell
0b261e8695
Travis: used sudo with pip
2015-03-13 10:54:59 +11:00
Andrew Tridgell
de2c22b4b9
Travis: try to upgrade to g++ 4.8
2015-03-13 10:51:31 +11:00
Andrew Tridgell
2e6d79f449
Travis: disable droneapi and upgrade pip
2015-03-12 17:28:04 +11:00
Andrew Tridgell
67e10ff392
Travis: ignore failure of extra deb install
2015-03-12 17:28:04 +11:00
Andrew Tridgell
d44fff71cf
autotest: disable ARMING_REQUIRE in autotest
2015-03-12 12:55:08 +11:00
Andrew Tridgell
c42a40553a
Travis: install some extra packages for AVR
2015-03-12 12:50:30 +11:00
Andrew Tridgell
08d0ac37a3
autotest: need accel offsets for 2 IMUs now
2015-03-12 12:50:30 +11:00
Andrew Chapman
e90f5375d0
added octa-quad target for SITL, fixed octa motor order
2015-03-11 21:38:25 +09:00
Robert Lefebvre
45a12646be
SITL: Initial improvements to tradheli simulation
2015-03-11 21:07:02 +09:00
Andrew Tridgell
3ca4142c91
SITL: added tradheli support
...
start with:
sim_vehicle.sh -f heli --console --map
2015-02-24 16:16:05 +11:00
Andrew Tridgell
dd5be8837a
autotest: raise timeout
2015-02-19 21:49:43 +11:00
Andrew Tridgell
cd2898b149
autotest: removed old table of contents link in generated paramater docs
2015-02-19 15:58:30 +11:00
Andrew Tridgell
0b3118b3c4
Travis: more packages for new PX4 build
2015-02-14 12:31:49 +11:00
Andrew Tridgell
801c4d0a93
Build: disable board specific build tags
...
disable this until we work out why apm1/apm2 tags have re-appeared
2015-02-12 06:21:03 +11:00
Andrew Tridgell
f69622f041
Travis: cope with setuptools upgrade failing
2015-02-11 21:18:35 +11:00
Jonathan Challinger
c2d60ed7a8
Replay: use hal.util soft_armed state
2015-02-11 20:57:27 +11:00
Jonathan Challinger
5059fc620c
Build: add git hashes to .px4 files
2015-02-11 20:22:08 +11:00
Randy Mackay
82df53ed80
CPUInfo: fix compile error
2015-02-09 22:26:51 +09:00
Andrew Tridgell
a118ac69c6
Travis: use separate pip commands to find travis issue
2015-02-08 22:11:57 +11:00
Andrew Tridgell
97d6543520
Travis: added install-travis-env.sh
...
this will be used for travis test builds, to avoid some issues with
pip install using the generic script
2015-02-08 21:59:58 +11:00
Randy Mackay
ae487ca88b
AutoTest: remove calibrate level from copter tests
2015-02-03 14:29:11 +09:00
Andrew Tridgell
579048803c
autotest: removed PX4IO firmware link
2015-02-03 09:51:42 +11:00
Paul Riseborough
fe0c434d2b
Simulator: Gimbal debug output changes
2015-02-03 09:49:17 +11:00
Paul Riseborough
84029f8f7c
Simulator: Bypass angle limiting to allow debugging
2015-02-03 09:49:17 +11:00
Andrew Tridgell
9bdefd0bba
autotest: updates for new GIMBAL_REPORT format
2015-02-03 09:49:16 +11:00
Andrew Tridgell
734cc61838
Replay: fixed build
2015-02-03 09:49:15 +11:00
Andrew Tridgell
c58397020a
autotest: send targeted GIMBAL_REPORT messages
2015-02-03 09:49:15 +11:00
Andrew Tridgell
28cf93d300
autotest: added maths for correct gimbal joint limits
...
This adds (more) correct join rate limiting based on Pauls maths. It
avoids the coupling of the axes inherent in the last implementation
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:14 +11:00
Andrew Tridgell
f63eb870cf
autotest: change euler312 ordering conventions
2015-02-03 09:49:14 +11:00
Andrew Tridgell
791dfbff7e
autotest: added mavlink gimbal simulation in copter SITL
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:13 +11:00
Andrew Tridgell
edad8da613
pysim: added euler312 conversions
2015-02-03 09:49:13 +11:00
Randy Mackay
f225558dbd
IRIS params: update RATE_PIT_IMAX to 1000
2015-02-02 17:59:52 +09:00
LukeMike
a665037176
TOOLS: changed script for building single project
2015-02-02 08:44:01 +11:00
LukeMike
903f5d2211
TOOLS: changed permissions of scripts for building
2015-02-02 08:44:00 +11:00
Emile Castelnuovo
7795cb6929
Tools: update scripts to build all firmwares for all VR boards
2015-02-02 08:43:58 +11:00
LukeMike
2522709a78
Tools: added script to build all VirtualRobotix binaries
2015-02-02 08:43:57 +11:00
Randy Mackay
18af7c1437
Replay: fix compile error for Serial Manager
2015-01-29 14:05:16 +11:00
Randy Mackay
4de0710f88
AutoTest: copter params need accel2 offsets
2015-01-29 14:05:16 +11:00
Craig Elder
ee30cb9537
Autotest: Add APM Planner logo
2015-01-28 16:33:57 -08:00
Craig Elder
bd490e21d0
autotest: Added APM Planner 2.0 to Index page
2015-01-28 16:33:55 -08:00
Kevin Hester
5b5ab01c07
SITL: Don't prompt for vagrant package installs (minor)
2015-01-28 10:52:50 +09:00
Andrew Tridgell
b4265cf467
autotest: fixes to quad view for new fg versions
2015-01-27 17:22:13 +11:00
Kevin Hester
ff4151ef47
SITL: Update install instructions based on Robert's finding
2015-01-23 11:00:09 +09:00
Kevin Hester
4eb2cc0173
SITL: Build JSBsim so that plane sim works in Vagrant
2015-01-23 11:00:06 +09:00
Kevin Hester
ad9c3d730c
SITL: Numerous improvements to vagrant image and easier SITL for mac/windows
...
For full instructions/notes see Tools/vagrant/README.md
Notes:
* Old Vagrantfile updated to run faster and self init with our various
build dependancies.
* The sim_vehicle.sh script will now implicitly configure if necessary
* run_in_terminal_window.sh is now smart enough to use Screen sessions. Or
if those are not available to warn the user but run the command with logging
going to a file in /tmp.
2015-01-23 11:00:04 +09:00
Randy Mackay
d26121036f
AutoTest: param file to enable SIM OptFlow
2015-01-22 14:40:23 +09:00
Andrew Tridgell
b4ce3e0ba5
autotest: lock in the altitude before the FBWB test
2015-01-22 11:33:25 +11:00
Andrew Tridgell
d239d8314a
Replay: fixed replay for re-organised dataflash messages
2015-01-21 14:38:37 +09:00
Randy Mackay
4aba4b13ac
AutoTest: enable BATT_MONITOR for Copter AVC
2015-01-21 14:38:11 +09:00
Randy Mackay
13fa029399
AutoTest: enable BATT_MONITOR for Plane
2015-01-21 14:38:08 +09:00
Andrew Tridgell
ad8480d5f7
Replay: keep airspeed msgs in log
2015-01-20 09:11:07 +11:00
Andrew Tridgell
731678b0a1
Travis: test building without logging for plane
2015-01-17 10:46:01 +13:00
Randy Mackay
2a7f78a2cd
AutoTest: reduce copter throttle when in stabilize
...
Simulated copter is flying too high and causing the land to timeout
2015-01-14 12:41:57 +09:00
mirkix
189dd158d7
Linux_HAL_Essentials: add channel mapping comments for RCInput and RCOutput
2015-01-13 12:18:42 +13:00
Andrew Tridgell
231b44fc83
Replay: fixed baro.setHIL call
2015-01-09 11:50:57 +11:00
Andrew Tridgell
b0030126a8
VARTest: updates for new AP_Baro API
2015-01-09 11:50:55 +11:00
Andrew Tridgell
488714ccba
Replay: updates for new AP_Baro API
2015-01-09 11:50:55 +11:00
Andrew Tridgell
406f11423e
Replay: enable array bounds checking in Replay
2015-01-09 11:05:21 +11:00
Andrew Tridgell
c9b7d27b98
Travis: use px4-cleandep to make script more robust
2015-01-07 08:40:43 +11:00
Andrew Tridgell
82a08036f6
autotest: use small INS offsets so INS is recognised as being calibrated
2015-01-05 08:41:54 +11:00
Andrew Tridgell
a658dc4f60
VARTest: fixed build
2015-01-05 07:36:56 +11:00
Andrew Tridgell
b3316865fa
CPUInfo: fixed build
2015-01-05 07:36:49 +11:00
Andrew Tridgell
0d8faab48f
Replay: fixed build with AHRS change
2015-01-03 14:16:34 +11:00
Andrew Tridgell
584fa9b4bf
Replay: fixed format string for EKF4
2015-01-03 14:07:25 +11:00
Andrew Tridgell
1359e6d321
travis: we need a "make configure" at the start
2015-01-01 09:40:32 +11:00
Andrew Tridgell
9b5a2ea1d0
Replay: fixed build
2015-01-01 09:37:17 +11:00
Andrew Tridgell
494789054e
travis: enable wide range of builds in Travis-CI
2015-01-01 09:32:25 +11:00
Randy Mackay
765fa0e223
AutoTest: higher copter throttle when in stabilize
2014-12-31 15:23:00 +09:00
priseborough
9c8406998b
Replay: Don't log EKF optical flow data if not required
2014-12-31 13:16:10 +09:00
Randy Mackay
82a83200b1
AutoTest: minor fix to AVC copter params
...
remove unnecessary AHRS_EKF_USE because it's on by default now
2014-12-30 20:48:53 +09:00
Randy Mackay
4ea48f8f64
AutoTest: increase throttle for fly_square test
2014-12-30 20:48:12 +09:00
Andrew Tridgell
8d393c89d0
autotest: fixed bash syntax
2014-12-27 21:40:57 +11:00
Brandon Basso
4ace5bcccb
CHDK script changes
...
S100 settings
2014-12-26 16:04:35 +09:00
Andrew Tridgell
068b5a54c9
Replay: prevent float exception in log writing
2014-12-09 12:45:58 +11:00
Andrew Tridgell
fa95ea91fd
Replay: generate dataflash logs in Replay
...
this allows the calculated EKF flight path to be compared with
different parameters by using replay
2014-12-08 11:25:22 +11:00
Grant Morphett
89602d60fd
Autotest: Added BMAC (Belconnen Model Aero Club) to the locations list.
2014-12-07 10:58:08 +11:00
Andrew Tridgell
a9defa3508
autotest: build some examples for px4-v2
2014-11-28 18:15:30 +11:00
Andrew Tridgell
1c94559fa2
autotest: auto-update uavcan repo
2014-11-28 07:29:44 +11:00
Andrew Tridgell
a3422325c7
Replay: cope with new airspeed log msg
2014-11-22 18:27:51 +11:00
Andrew Tridgell
c52578426e
Replay: cope with up to 3 IMUs
2014-11-16 12:31:05 +11:00
Craig Elder
324473a15b
Frame_params: Updating 3DR_X8_RTF.param for Copter 3.2
2014-11-14 18:03:29 -08:00
Craig Elder
5ea947de2f
Frame_params: Updating 3DR_X8-M_RTF for Copter 3.2
2014-11-14 17:56:56 -08:00
Craig Elder
e3d6b25301
Frame_params: Updated 3DR_X8+_RTF
2014-11-14 13:52:38 -08:00
Arthur Benemann
14c77adca9
Tools: Updated gcc-arm compiler to version 4_7-2014q2
...
As suggested in the thread at the following link:
https://groups.google.com/forum/#!topic/drones-discuss/hiD23c3w6xQ
2014-11-14 10:47:19 +11:00
Andrew Tridgell
ce4da9b09c
autotest: raise timeout again
2014-11-14 10:26:18 +11:00
Dario Lindo Andres
18e4747a6f
Added name to GIT_Success.txt
2014-11-13 10:55:58 -08:00
Andrew Tridgell
0d7ec0fbfe
autotest: fixed buildlogs location for *.BIN
2014-11-13 21:52:48 +11:00
Andrew Tridgell
e49cd68b83
autotest: save core and elf files
...
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell
7f82397467
autotest: ensure we get the BIN flight logs even on mission failure
2014-11-13 16:31:26 +11:00
Brandon Basso
74232fd74a
Tools: CHDK SX260 script update
...
changes default Tv to be 1/1600 (higher) and ISO to be lower 200/800
Max1/Max2. Should produce more crisp images in low light.
2014-11-11 18:04:26 -08:00
Brandon Basso
136c358c24
Tools: Added initial support for Canon S100
...
initial commit
2014-11-11 18:03:57 -08:00
bugobliterator
b383e1633b
Tools/Linux_HAL_Essentials: Add loading of PWM capes to support ToneAlarm
...
new capes to be loaded by startup.sh: am33xx_pwm and bone_pwm_P8_36
2014-11-10 06:27:48 +11:00
Clay McClure
12c514553d
AutoTest: copter test that zero alt defaults to current alt
2014-11-06 11:53:56 +09:00
Andrew Tridgell
0738d75701
build_devrelease: build all frames for jons release
2014-11-06 07:16:30 +11:00
Randy Mackay
95827e59c1
AutoTest: fix fly_mission to recognise end of mission
...
Copter's behaviour after completing a mission has changed so it does not
automatically switch to Loiter mode but rather stays at the last
waypoint. This was confusing the fly_mission function.
2014-11-05 18:03:47 +09:00
Andrew Tridgell
4e87056631
Replay: fixed build with AP_NavEKF API change
2014-10-31 10:47:57 +11:00
Andrew Tridgell
34a43b2d99
autotest: fixed backup of autotest .bin logs
2014-10-30 18:30:15 +11:00
Jonathan Challinger
210f4397da
Replay: clean up unused variables deltaGyroBias and divergeRate
2014-10-30 18:17:37 +11:00
priseborough
296dfad600
Replay : Remove unused numerical divergence metric
2014-10-30 18:17:37 +11:00
Andrew Tridgell
d95a1be3d6
scripts: fixed devrelease permissions
2014-10-30 12:32:42 +11:00
Andrew Tridgell
05b903654e
autotest: added link to devbuild tree
2014-10-30 11:13:36 +11:00
Andrew Tridgell
c0f18272ed
autotest: added developer build support
...
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
Craig Elder
5df3d24c77
Frame_params: 3DR_X8+_RTF.param
...
Adding param file for 3DR X8+
2014-10-28 19:33:44 -07:00
Markus Koetter
789fd06192
LogAnalyzer - Improve Autotune Test
...
- previously version could report failed autotune sessions as valid and
valid sessions as failed
2014-10-27 15:55:57 -07:00
Markus Koetter
c2030de4ec
LogAnalyzer: write \xff EOF assumption to stderr
2014-10-27 15:53:36 -07:00
Markus Koetter
cf4435989e
LogAnalyzer: Binary Logs may end with \xff
...
- ignoreBadlines can be used to assume this is a proper EOF
2014-10-27 15:53:35 -07:00
Randy Mackay
4aa07d7aef
LogAnalyser: rename BalanceTwist to MotorBalance
2014-10-27 13:58:19 +09:00
Randy Mackay
98e9ce3206
LogAnalyser: TestBalanceTwist sanity check of motor values
2014-10-27 13:58:16 +09:00
Jonathan Challinger
a62f1f0f48
LogAnalyzer: updated testCompass to match our prearm check
2014-10-27 13:58:15 +09:00
Jonathan Challinger
0955284d7e
LogAnalyzer: balance/twist initial commit
2014-10-27 13:58:12 +09:00
Andrew Tridgell
485397c4cb
Replay: cope with old copter attitude and baro msgs
2014-10-25 11:20:26 +11:00
Andrew Tridgell
39d623ff94
VARTest: convert to new AP_InertialSensor API
2014-10-24 12:10:39 +11:00
Andrew Tridgell
d809ce51a7
Replay: convert to new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Craig Elder
df16dd67d2
Frame_params: 3DR_Iris+.param
...
Add GPS_HDOP_GOOD
2014-10-23 17:05:08 -07:00
benoit35690
92b67cca5b
Added name to GIT_Success.txt
2014-10-21 11:47:28 +09:00
Randy Mackay
34352860e7
SITL: remove _randy sitl startup scripts
...
sim_vehicle.sh can be used instead and is far more flexible
2014-10-20 12:10:05 +09:00
Andrew Tridgell
baad65bafc
Replay: update for new copter ATTITUDE message
2014-10-19 20:12:12 +11:00
Andrew Tridgell
fce20b24c2
Replay: fixed printf format
2014-10-19 19:41:57 +11:00
Andrew Tridgell
6e0e56a6ef
Replay: fixed loading of users parameters and parameter override
...
use compass.set_offsets() to avoid trying to write to storage
2014-10-15 09:17:22 +11:00
Andrew Tridgell
b688577825
autotest: update compiler
2014-10-13 16:07:32 +11:00
Andrew Tridgell
b0c9e97181
Linux_HAL_Essentials: P8.15 is an input pin
2014-10-08 12:50:50 +11:00
Craig Elder
adf741b959
Frame_params: Updated 3DR_X8-M_RTF.param
2014-10-07 15:00:57 -07:00
Andrew Tridgell
e0caee9500
Linux_HAL_Essentials: rebuilt rcinpru0 with 300 ring buffer entries
...
thanks to Sid for doing this
2014-10-07 14:57:35 +11:00
Andrew Tridgell
994b2597fd
Linux_HAL_Essentials: change ring buffer to 300 entries
...
this ensures full SBUS frames can be decoded
2014-10-07 14:57:34 +11:00
Craig Elder
5b23f81e2b
Frame_params: Updating 3DR_X8-M_RTF.param
2014-10-06 16:07:49 -07:00
Craig Elder
5d7ec98d7a
Frame_params: Adding 3DR_X8-M_RTF.param
2014-10-06 15:44:35 -07:00
Craig Elder
41ce8c2abd
Frame_params: 3DR_Iris+
...
Decreased ATC_RATE_RP_MAX to 18000
2014-10-06 12:17:52 -07:00
Randy Mackay
41d7462eee
LogAnalyzer: add POSHOLD to TestPitchRollCoupling
2014-09-29 11:46:02 +09:00
Craig Elder
ab46f2d2fe
Frame_params: 3DR_Iris+ reduced WP_NAV to 650
2014-09-24 13:43:52 -07:00
Jonathan Challinger
7c3e614c19
LogAnalyzer: Add IMU Mismatch check
2014-09-24 15:50:23 +09:00
Craig Elder
3f687733e6
Frame_params: added 3DR_AERO_M.param
2014-09-17 18:48:48 -07:00
Craig Elder
da66c7df36
Frame_params: 3DR_Aero_RTF.param Changed tuning
2014-09-17 18:46:52 -07:00
Craig Elder
4c38f51337
Frame_Parameters: 3DR_Iris+ changed mode switch configuration
2014-09-16 00:12:40 -07:00
Craig Elder
f9f6f39d61
Merge branch 'master' of https://github.com/diydrones/ardupilot
2014-09-11 23:06:10 -07:00
Craig Elder
d26173bf81
Frame_params: Updated 3DR Iris+
2014-09-11 23:05:28 -07:00
Kristian Klausen
7b0046e75e
Tools/autotest/sim_vehicle.sh: Added option to run the sim_vehicle framework with an external simulator
2014-09-11 20:09:06 +10:00
Craig Elder
6e79ab8478
Frame_params: Added Frsky telemetry to 3DR_Iris+.param
2014-09-10 13:30:59 -07:00
Craig Elder
b28b0aa6c1
CHDK-Scripts: Move SX260 file to its own folder
2014-09-10 11:54:51 -07:00
Brandon Basso
114b83341d
CHDK-Scripts : initial commit of the SX260 specific file
2014-09-10 11:52:15 -07:00
Craig Elder
6a6aee1d44
CHDK-Scripts: Creating folder for Cannon SX260 files
2014-09-10 11:47:17 -07:00
Craig Elder
5fae3638dc
Frame_params: Updated 3DR_Iris+
2014-09-10 10:54:06 -07:00
Craig Elder
a6db3586f6
Frame_params: Removed Iris with 3 Position Mode Switch.param
2014-09-09 18:55:34 -07:00
Brandon Basso
752e32f338
CHDK-Scripts : add instructions
2014-09-09 18:30:35 -07:00
Brandon Basso
f495d6550b
CHDK-Scripts : initial commit
2014-09-09 18:30:35 -07:00
Craig Elder
e6b2726738
Frame_params: 3DR_Iris+.parm
2014-09-09 12:36:04 -07:00
Craig Elder
6ea044cda9
CHDK-Scripts: Preparing to replace the script files
2014-09-09 11:48:16 -07:00
Craig Elder
2f2665c022
Frame_params: Updated 3DR_Iris+.param
2014-09-09 00:36:06 -07:00
Craig Elder
8fcc96bb79
CHDK-Scripts: Adding kap_uav
2014-09-09 00:28:21 -07:00
Craig Elder
6ff1aa39ca
CHDK-Scripts: adding README.md
2014-09-09 00:10:23 -07:00
Craig Elder
f1934c6db2
Initial Commit
2014-09-09 00:02:17 -07:00
Craig Elder
df82e0accc
Frame_Params: Added 3DR Iris+
2014-09-08 12:40:10 -07:00
Craig Elder
a57818dfc8
Frame_parameters: Updated Iris with 3 Position Mode Switch
2014-09-04 11:49:02 -07:00
Craig Elder
21e4144b29
Frame_params: Updated Iris with 3 Position Mode Switch
2014-09-03 16:47:18 -07:00
Andrew Tridgell
78c12ca9dd
autotest: added skid steering support for rover in sim_vehicle.sh
2014-08-29 06:59:32 +10:00
Andrew Tridgell
e836d1aa2b
autotest: added CMAC_South
...
used to simulate takeoff to the south
2014-08-28 11:22:40 +10:00
Kevin Hester
81bd4c0b4c
LogAnalyzer: If skipping badlines, ignore parse errors
2014-08-26 15:36:56 +09:00
Kevin Hester
5cb242f5a4
LogAnalyzer: Report missing parameters as test failures
2014-08-26 15:36:53 +09:00
Kevin Hester
332ab9bc1b
LogAnalyzer: convert tabs to spaces (only) per coding conventions
2014-08-26 15:36:50 +09:00
Randy Mackay
68be36d4f8
AutoTest: reduce copter throttle when flying square
...
This will keep the copter lower during this test and resolve the timeout
during landing
2014-08-26 12:19:58 +09:00
Eric Liao
e34b0847d7
3dr Berkeley moved - updated coords
2014-08-25 16:17:54 +09:00
Craig Elder
0ab3e40e92
Frame Parameters: Updated Mode Switch order
2014-08-21 13:34:42 -07:00
Andrew Tridgell
e629a8d67a
Linux: added example startup script for plane
2014-08-19 20:03:33 +10:00
bugobliterator
5e03df2d9a
Tools:HAL_Linux_Essentials: store pin status during pulse instead of status after pulse
2014-08-19 10:08:16 +10:00
bugobliterator
210d3e8c32
Tools:HAL_Linux_Essentials:add rcinput test code
...
the test code performs continuous reads from ring buffer shared with PRU0
2014-08-19 10:08:16 +10:00
bugobliterator
d8e36fee41
Tools:HAL_Linux_Essentials: Add PRU side of code for RCinput to run on PRU0
...
PRU0 with rcinpru0 firmware will be timing pin state changes and loading it inside ring buffer maintained inside SHARED_RAM at 0x12000 offset
2014-08-19 10:08:16 +10:00
Victor Mayoral Vilches
04a8377462
Tools: Change sensor configurations easily.
...
This shell script allows to change the sensor configuration
(for now just supports IMU changes) so that the autopilot is
compiled for different combinations of sensors. This has probed
to be useful with Linux-based boards (e.g.: PXF, Erle-board)
that include serveral, different sensors for each kind.
2014-08-19 10:08:16 +10:00
Craig Elder
27a7ea2766
Frame Parameters: 3DR Aero RTF
2014-08-18 15:33:34 -07:00
Randy Mackay
946de4f644
Tools: build antenna tracker binary
2014-08-18 13:00:16 +09:00
Craig Elder
b0d26d9ace
* Frame Parameters: 3DR AERO RTF
...
Updated RLL2SRV_P parameter
2014-08-15 12:18:49 -07:00
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