Commit Graph

1725 Commits

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