Commit Graph

623 Commits

Author SHA1 Message Date
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
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 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 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
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 3c9af9e474 autotest: fixed hil mode start for sim_vehicle 2015-03-13 22:52:55 +11:00
Andrew Tridgell d44fff71cf autotest: disable ARMING_REQUIRE in autotest 2015-03-12 12:55:08 +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 cd2898b149 autotest: removed old table of contents link in generated paramater docs 2015-02-19 15:58:30 +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 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 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
Andrew Tridgell b4265cf467 autotest: fixes to quad view for new fg versions 2015-01-27 17:22:13 +11: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
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
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
Andrew Tridgell 82a08036f6 autotest: use small INS offsets so INS is recognised as being calibrated 2015-01-05 08:41:54 +11:00
Randy Mackay 765fa0e223 AutoTest: higher copter throttle when in stabilize 2014-12-31 15:23:00 +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
Grant Morphett 89602d60fd Autotest: Added BMAC (Belconnen Model Aero Club) to the locations list. 2014-12-07 10:58:08 +11: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
Clay McClure 12c514553d AutoTest: copter test that zero alt defaults to current alt 2014-11-06 11:53:56 +09: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 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
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
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
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
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
Randy Mackay a0468db064 AutoTest: update sim_vehicle for antenna move 2014-08-14 20:56:07 +10:00
Andrew Tridgell 1f7305f516 autotest: support starting with HIL for plane 2014-08-13 21:35:26 +10:00
labtoast dfc9470e01 SITL: added missing parameters to sim_multicopter.py call 2014-08-11 11:22: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
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 06c3a0e96c autotest: fixed tracker sim for non-onoff mode 2014-08-03 18:16:50 +10:00
Andrew Tridgell a60590d1fe autotest: use run_in_terminal.sh for HIL 2014-07-27 22:12:08 +10:00
Andrew Tridgell 8ea098ad21 autotest: support antenna trackers with on/off servos in SITL 2014-07-23 18:41:34 +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
Randy Mackay ba25f051e7 AutoTest: reduce fence radius to 150m for testing 2014-07-14 11:25:30 +09:00
Arthur Benemann 8e0f3c152a Tools: Added 3DR Berkeley to the locations list on SITL 2014-07-06 20:34:20 +09: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 Tridgell 94876dccb1 autotest: added Ballarat to autotest locations 2014-06-07 20:52:08 +10:00
Randy Mackay 4f75cbcce0 AutoTest: fix error reporting for copter AVC mission 2014-06-06 11:42:57 +09:00
Andrew Tridgell 69349f7fb0 autotest: added TomCarpark test location 2014-06-04 14:02:19 +10:00
Andrew Tridgell 0ca5a60f25 autotest: added -R to sim_vehicle.sh for reverse throttle 2014-06-04 09:40:07 +10:00
Andrew Tridgell 9ae32addc8 autotest: convert Rascal back to a tail dragger 2014-06-03 16:16:00 +10:00
Andrew Tridgell 0a79efae61 autotest: fixed problem with initial JSBSim headings to east
this avoids an auto-trim problem in JSBSim
2014-06-03 16:15:22 +10:00
Andrew Tridgell 4607fe9bf1 autotest: cope with newer versions of JSBSim 2014-06-03 16:14:16 +10:00
Andrew Tridgell f6160cf78f autotest: added AVC_plane location
point along takeoff path
2014-06-03 16:13:49 +10:00
Randy Mackay 796aaac475 AutoTest: add AVC_copter to location
The existing AVC location is for Rovers.  Planes and copters take-off
from a position slighly further north.
2014-05-27 11:32:59 +09:00
Andrew Tridgell 9882763873 autotest: set full logging for plane 2014-05-23 07:30:58 +10:00
Andrew Tridgell 5c82711578 autotest: update fg_plane_view.sh for FlightGear 3.0 2014-05-23 07:30:58 +10:00
Randy Mackay 5e21111076 AutoTest: add -j option to sim_vehicle
new option controls the number of processors used during compile
2014-05-21 21:14:28 +09:00
Andrew Tridgell cc1b75ad29 autotest: restore timeout in log download
this removes the debug code now that the issue has been found (it was
an old version of pymavlink causing the problem)
2014-05-09 09:50:22 +10:00
Andrew Tridgell 73dc32108f autotest: try to debug log download timeouts 2014-05-08 17:38:49 +10:00
Andrew Tridgell b6774b8bc7 autotest: raise the time for log download 2014-05-08 15:15:55 +10:00
Randy Mackay cad1441739 AutoTest: print failed copter test
Name of the failed tests appears at the moment it fails and then again
after all tests have been run.  This hopefully makes it slightly easier
to know which test has failed
2014-04-30 21:46:15 +09:00
Michael Day 04292d7e5e autotest: Added McMillan airstrip at Camp Roberts to locations.txt 2014-04-18 07:43:03 +10:00
Kevin Hester 2e79032f83 AutoTest: fixup line endings 2014-04-15 15:55:45 +09:00
Andrew Tridgell 4c5e59c098 autotest: added OBC frame type 2014-04-11 16:47:40 +10:00
Andrew Tridgell b3d84cec81 autotest: added AVC location 2014-04-11 12:50:06 +10:00
Andrew Tridgell f13e6079bc autotest: added locations.txt
startup locations for SITL
2014-04-11 12:48:03 +10:00
Andrew Tridgell 42b9ba531e autotest: replace sim_*.sh with sim_vehicle.sh
much nicer interface for developers
2014-04-11 12:29:28 +10:00
Randy Mackay 028b7d1cce AutoTest: fix AVC copter test
Also incorporate file name changes
2014-04-08 11:00:47 +09:00