Commit Graph

112 Commits

Author SHA1 Message Date
Mark Whitehorn db1c7d9bdd SITL: add support for AHRS_ORIENTATION=ROTATION_CUSTOM 2020-04-28 10:57:26 +10:00
Peter Barker cda0d14f57 SITL: add documentation for SITL and SMOO message 2020-04-21 09:48:43 +10:00
Samuel Tabor 15cef55e97 SITL: Make thermal drift relative to 100m alt to avoid so much change with wind speed and direction." 2020-04-08 09:11:54 +10:00
Samuel Tabor ae27f96361 SITL: Make soaring thermals slanted. 2020-04-08 09:11:54 +10:00
Samuel Tabor 5082c9be8b SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings. 2020-04-08 09:11:54 +10:00
murata 147a940451 SITL: Indicates that the message is SIM only 2020-02-18 11:23:52 +11:00
Andrew Tridgell 6218537ff7 SITL: fixed segv in SITL RCProtocolTest 2020-01-09 17:38:52 +11:00
Peter Barker 4cc7df8e15 SITL: emit hit-ground via mavlink
This lets autotest look for it
2020-01-01 22:10:43 +11:00
Mark Whitehorn 76b985fc9c SITL: only recalculate ahrs rotation matrix if necessary 2019-12-17 11:42:40 +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
Peter Barker 32ec6d7e9a SITL: add a simulated buzzer 2019-10-16 16:00:35 +11:00
Michael du Breuil fe279b03b6 SITL: Directly include needed headers 2019-08-28 13:13:03 +10:00
Peter Barker 169013cae2 SITL: allow starting location to come from parameters 2019-08-15 18:00:35 +10:00
Peter Barker f7b47679bb SITL: remove home_str from constructor 2019-08-15 15:16:11 +10:00
Andrew Tridgell 626c632859 SITL: fixed pitch constraint on fixed wing takeoff
fixes issue with jet takeoff
2019-07-05 20:12:22 +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 d57ea43ea6 SITL: fixed crash in example code run 2019-04-09 12:50:17 +10: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
Dr.-Ing. Amilcar do Carmo Lucas 0b9d10c0f9 SITL: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +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 e3c719b27f SITL: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +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
Fabio D'Urso 8ff9923e07 SITL: parse home coordinates as double (not float) to avoid precision loss 2019-01-05 21:38:41 +11:00
Andrew Tridgell 8d86b6fbee SITL: added support for laser scanner for Morse 2018-12-04 18:29:41 +11:00
Andrew Tridgell 366361f0bb SITL: fixed running of example programs 2018-11-07 07:35:45 +11:00
Pierre Kancir 5b0ae42725 SITL: limit on_ground() check to militer accuracy to prevent bouncing 2018-09-07 10:22:34 +10:00
Peter Barker 3e9294a2ae SITL: eliminate float-equals issues 2018-08-28 09:54:47 +10:00
Pierre Kancir 37f7cc4bcf SITL: rearrange Grippers and Sprayers in SITL 2018-07-31 23:34:43 +10:00
Patrick José Pereira b66b4775bc SITL: Replace find_object with SITL singleton
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-27 14:59:33 -07:00
Patrick José Pereira ae378f0fb3 SITL: Use reinterpret_cast with AP_Param::find_object
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Andrew Tridgell 0078a68fbb SITL: fixed segv when running examples under SITL 2018-05-15 13:36:41 +10:00
Andrew Tridgell d75e47a4d8 SITL: cope with cygwin64 2018-03-02 17:11:31 +11:00
Peter Barker 6a862c6e24 SITL: make home location parsing verbose
Given we don't fail to start SITL if the home location fails to parse,
we should at least make the user very aware that their home location
string is bad.

This commit makes failures verbose, and outputs the parsed location
values rather than regurgitating the location string the user supplied;
it was very misleading in that the location could simply fail to parse
and thus be unused.
2018-02-21 23:51:56 +10:00
Andrew Tridgell 6a89fdf268 SITL: use AP_Declination for magnetic tables 2018-02-08 17:36:33 +11: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
Andrew Tridgell 917d9842c4 SITL: support AHRS_ORIENTATION in SITL
this allows for tailsitters in RealFlight
2017-11-23 14:26:11 +11:00
Andrew Tridgell 964d64a623 SITL: adjust FlightAxis defaults
and map 0,0 to CMAC location, to improve how SITL works in
MissionPlanner
2017-11-19 18:24:08 +11:00
hiro2233 7d304073ed SITL: fixed include case sensitive
On case sensitive cygwin feature enabled, this build ok.
2017-10-25 20:59:55 +11:00
Andrew Tridgell c5cd1b873c SITL: use thread for FlightAxis comms
this allows us to run SITL at a much higher framerate than RF can
provide, and results in the EKF being much happier
2017-10-21 11:57:59 +11:00
Andrew Tridgell 74265f523a SITL: support -roll180 option to frames 2017-10-10 10:57:38 +11:00
Pierre Kancir b176ba53d7 SIM_Aircraft: move advance in time from update_position to time_advance 2017-06-07 20:29:02 +10:00
Pierre Kancir 599e3d7b83 SITL: make range finder a standalone sitl plugin 2017-06-07 20:28:25 +10:00
Andrew Tridgell 47b79eb72d SITL: expose home location 2017-05-08 13:38:10 +10:00
Andrew Tridgell 4de0daa7a1 SITL: make quaternion state available outside SITL 2017-04-16 14:01:36 +10:00
Pierre Kancir ee7355a301 SITL: Reduce some variables scope and include 2017-03-18 19:58:11 +11:00
Pierre Kancir 8054405521 SITL: Change interface port to a generic solution for external simulator 2017-03-18 19:58:11 +11:00
Pierre Kancir 5b8c89225a SITL: Make socket more verbose 2017-03-18 19:58:11 +11:00
Pierre Kancir 567a8d68e5 SITL: Make socket error more verbose 2017-03-18 19:58:11 +11:00