Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Challinger e883b889b6 SITL: Add compassmot interference 2014-05-15 21:14:20 +10:00
Andrew Tridgell 4efcae46ab SITL: cope with more rubbish startup values from JSBSim 2014-05-04 17:30:10 +10:00
Andrew Tridgell 05bffb5915 HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter 2014-04-21 15:37:08 +10:00
Andrew Tridgell 8b9b4026f0 SITL: support -P option
this allows changing a parameter on initial startup
2014-04-11 12:28:32 +10:00
Andrew Tridgell a15e4633b7 SITL: prevent wind effects at negative altitudes
this prevents crashes on takeoff with barometer noise
2014-04-09 15:28:14 +10:00
Andrew Tridgell 6eee2421cc AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
2014-03-25 14:39:41 +11:00
Andrew Tridgell 0115b9fa07 HAL_SITL: support a 2nd GPS 2014-02-26 08:19:47 +11:00
Andrew Tridgell bb0eed5c14 SITL: prevent initialisation error 2014-02-15 05:48:17 +11:00
Andrew Tridgell 765bfbfe43 HAL_SITL: use SIM_RC_FAIL 2013-12-20 09:43:04 +11:00
John Boiles d8cdb57efa HAL_SITL: Attempting to avoid SIGPIPE on all platforms 2013-12-17 14:51:27 +11:00
Andrew Tridgell b075f8735f SITL: moved airspeed pin to pin 1
keep it separate from the sonar, allowing both to be used at the same time
2013-11-28 21:44:05 +11:00
Ben Nizette 70d37d2cf6 SITL: Wire in basic support for SITL downward-looking sonar sensors 2013-11-28 21:38:05 +11:00
Andrew Tridgell 86afc26609 HAL_SITL: decrease wind with altitude
this prevents JSBSim crash on the runway
2013-10-17 17:22:19 +11:00
Randy Mackay db2975901d AP_HAL_AVR_SITL: use SIM_BATT_VOLTAGE parameter 2013-10-03 11:16:36 +09:00
Andrew Tridgell c7df0eaf2a SITL: added battery voltage and current
assume 3DR brick
2013-10-03 11:16:14 +09:00
Andrew Tridgell 350af4d92f HAL_AVR_SITL: updates for InertialSensor 2013-09-28 22:04:15 +10:00
Michael Oborne 54fc004956 SITL: fix sitl timer issues under cygwin 2013-09-21 22:06:38 +10:00
Andrew Tridgell e85d275fe5 SITL: added SIM_SERVO_RATE parameter
this allows a slew rate for servos to be specified in degrees/second
2013-09-16 09:16:52 +10:00
Andrew Tridgell 33cbe6151a SITL: support multiple instances of SITL running at once 2013-08-14 16:35:24 +10:00
Randy Mackay b914f9ba06 SITL: use SIM_ENGINE_MUL to simulate motor failure 2013-05-19 14:29:08 +09:00
Andrew Tridgell 53ebcfeba5 SITL: fixed compass vector to be based on yaw not GPS heading
Many thanks to Randy for noticing this, and apologies for the wasted time!
2013-05-04 14:28:08 +10:00
Andrew Tridgell 811c2ccc11 libraries: fixes for AP_Baro_HIL 2013-05-02 15:09:05 +10:00
Andrew Tridgell 0ffc7dab6b SITL: added GPS speed down to SITL state 2013-03-28 10:29:12 +11:00
Andrew Tridgell 16270ccc47 HAL_AVR_SITL: fixed windows build 2013-03-03 22:22:19 +11:00
Andrew Tridgell 37be83994f SITL: allow motor multiplier to work on quad simulation 2013-01-22 21:22:01 +11:00
Pat Hickey bc3b6fcb9f AP_HAL_AVR_SITL: remove begin/end atomic, adjust timer procs 2013-01-03 17:33:14 -08:00
Andrew Tridgell 091c14a33e SITL: disabled buffering on stdout
this fixes the ArduPlane log dump
2012-12-24 08:00:57 +11:00
Andrew Tridgell 7ecf8981b9 SITL: added dummy SPI and make RCInput 50Hz 2012-12-20 14:52:34 +11:00
Andrew Tridgell abbe37be37 SITL: added emulated airspeed sensor on a pin 2012-12-20 14:52:33 +11:00
Andrew Tridgell 472b45bc2a SITL: fixed use of local printf() method in UART driver 2012-12-20 14:52:33 +11:00
Andrew Tridgell 7be507948f SITL: added SITL_State::loop_hook()
this prevents us using so much CPU time, and ensures stdout is flushed
2012-12-20 14:52:33 +11:00
Andrew Tridgell 0c9d37e2ee SITL: added RCInput and RCOutput 2012-12-20 14:52:33 +11:00
Andrew Tridgell 98ead51801 SITL: fill in a lot more of the AP_HAL SITL backend 2012-12-20 14:52:30 +11:00