Commit Graph

123 Commits

Author SHA1 Message Date
Andy Piper a6a020b3c7 SITL: record throttle value instead of motors on/off 2019-12-31 10:34:02 +11:00
Andy Piper c807267bab SITL: add rpm-based motor noise per-motor to gyros and accels
convert multicopter thrust to rpm per motor
2019-12-17 10:07:06 +11:00
Andrew Tridgell 7b203f6816 SITL: added SIM_MAG_SCALING for testing scale factor errors 2019-12-03 20:48:23 +11:00
Peter Barker 326ba5b974 SITL: support for virtual hardware safety switch 2019-11-26 10:14:11 +11:00
Andrew Tridgell 4d50996780 SITL: added MegaSquirt EFI simulation 2019-11-17 20:10:54 +11:00
Peter Barker 47fbf70e85 SITL: create SITL tonealarm files to hold enable parameter 2019-10-16 16:00:35 +11:00
Peter Barker 32ec6d7e9a SITL: add a simulated buzzer 2019-10-16 16:00:35 +11:00
Andrew Tridgell 3d9f393f4b SITL: added SIM_LOOP_DELAY parameter
this allows us to test high CPU load conditions by adding a delay to
each loop
2019-09-19 18:25:20 +10:00
Peter Barker 169013cae2 SITL: allow starting location to come from parameters 2019-08-15 18:00:35 +10:00
Peter Barker 24405f1b23 SITL: correct and add comment 2019-08-15 18:00:35 +10:00
Peter Hall 2a3676003a SITL: sailboat add tide 2019-08-07 14:34:07 +09:00
Peter Hall 90bf224e7f SITL: sailboat add wave simulation and parameters 2019-08-07 14:34:07 +09:00
Grant Morphett 2ce7955614 SITL: Create gps_hdt_enabled varible for enable/disable HDT GPS sentence 2019-07-13 11:05:57 +10:00
Peter Barker e01ea2f5f9 SITL: support a count of baros 2019-07-09 10:01:23 +10:00
Peter Barker 6939a9fa91 SITL: add capability to twist the aircraft
This makes the EKF very, very unhappy, but is useful for compass
calibration testing
2019-04-23 10:06:17 +10:00
Andrew Tridgell e18f40cc08 SITL: added IMU failure masks 2019-04-22 14:56:30 +10:00
Paul Riseborough 8ac8c7285b SITL: Add parameter for optical flow sensor noise 2019-04-02 10:51:12 +11:00
Peter Barker 4db011f530 SITL: add SIM_SHOVE_* options to shove the simulated vehicle
The parameter values are time in milliseconds and body-frame
acceleration in m/s/s

So to test throw mode:
 mode throw
 param set SIM_SHOVE_Z -30
 arm throttle
 param set SIM_SHOVE_TIME 500
2019-03-12 11:09:37 +11:00
Pierre Kancir 04bc267a61 SITL: add precland object
add position for precland object
add refresh rate
add alt and lateral range
add diffusion range
2019-03-01 20:28:22 +11:00
Tom Pittenger a4e91e196f SITL: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Andrew Tridgell 56683ba803 SITL: added SIM_BAUDRATE_EN parameter 2019-01-27 08:56:12 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 834b45ce18 SITL: stop taking DataFlash pointer as argument 2019-01-18 11:16:54 +11:00
Peter Barker d3b9ac5c8c SITL: add simulated parachute
Doesn't actually change aerodynamics at the moment
2019-01-09 13:16:03 +11:00
Andrew Tridgell 9ca059ba16 SITL: added SIM_VIB_FREQ parameter 2019-01-08 06:49:02 +11:00
Andrew Tridgell 0536a3c4c6 SITL: added SIM_WOW_PIN 2018-11-09 14:35:14 +11:00
Pierre Kancir 37f7cc4bcf SITL: rearrange Grippers and Sprayers in SITL 2018-07-31 23:34:43 +10:00
Andrew Tridgell 128ea42286 SITL: added SIM_RC_CHANCOUNT parameter 2018-07-24 19:44:03 +10:00
Andrew Tridgell d1f67f6ded SITL: added diagonal, off-diagonal and orientation of SITL compass 2018-07-18 16:07:19 +10:00
Peter Barker a137afd11b SITL: add singleton 2018-05-23 18:36:50 +10:00
Eugene Shamaev d086edc762 SITL: add wind type parameters 2018-05-02 07:32:25 -07:00
Peter Barker 08189e0754 SITL: add parameter for Vicon observation delay 2018-03-27 20:28:53 +09:00
Eugene Shamaev 6954a0035a SITL: SITL of several airspeed sensors 2018-03-09 11:27:20 -08:00
Nicholas Engle 1103e92884 SITL: Add SIM_WIND_DIR_Z parameter for SITL
This controls the vertical pitch of the 3d wind vector, allowing futher control of the wind
using systems like dronekit. This change directly effects the calcuation of the wind vector
2018-02-05 16:38:53 -08:00
Mark Whitehorn dedb40ce0b SITL: add parameter to simulate reversed pitot tube order 2017-09-22 18:21:09 +10:00
Andrew Tridgell 7ade37bd4e SITL: added SIM_GPS_ALT_OFS
this is used to give a bad GPS height in SITL, which is very useful for
testing origin vs home issues
2017-09-18 10:24:45 +10:00
Michael du Breuil 4dbe282121 SITL: Add airspeed failure parameters 2017-08-10 20:15:35 +10:00
Andrew Tridgell a7967e00e4 SITL: added SIM_GPS_LOCKTIME parameter 2017-07-14 15:02:12 +10:00
Andrew Tridgell d50dcb5ad2 SITL: added SIM_TEMP_BFACTOR
for barometer temperature error
2017-05-03 20:12:04 +10:00
Andrew Tridgell c1b6684b9f SITL: added temperature control parameters 2017-05-03 20:12:04 +10:00
Andrew Tridgell 67404e9660 SITL: added SIM_ODOM_ENABLE
for enabling visual odomotry simulated data
2017-05-01 15:06:46 +10:00
Pierre Kancir f8d6b5fc9c AP_HAL_SITL: Allow to use a second type of gps for all type 2017-04-26 18:34:56 +01:00
Andrew Tridgell 4de0daa7a1 SITL: make quaternion state available outside SITL 2017-04-16 14:01:36 +10:00
Guilherme Sousa 204fcba8c1 SITL: Added SIM_ENGINE_FAIL to define failed motor 2017-03-29 22:39:51 +11:00
Randy Mackay 07ce7b8bd6 SITL: add GPS2_GLITCH parameter 2017-03-13 11:31:51 +11:00
Michael du Breuil ef0c51da42 SITL: Add GPS noise parameter 2017-02-13 09:23:14 +11:00
Andrew Tridgell 65c3d0e060 SITL: added ACC2_BIAS 2016-12-19 08:07:14 +11:00
priseborough 27dab27565 SITL: Add parameters for sensor position offsets in body frame 2016-10-27 14:54:44 +11:00
Andrew Tridgell 5e03358b0b SITL: added servo filtering
SIM_SERVO_SPEED is servo time constant in seconds
2016-10-25 20:39:38 +11:00