Commit Graph

1663 Commits

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