Andrew Tridgell
a0af08a3aa
SITL switched to motor_mask for which actuators are motors
...
this allows for any output to be an ESC, which allows for proper
simulation of quadplanes with ESCs on outputs 5-8 or 9-12, for testing
notch filtering
2022-10-16 20:38:19 +11:00
Peter Barker
44cc3de7a6
SITL: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
90f8cbde13
SITL: provide HAL_x_ENABLED for many SITL features
...
This allows for the feature to be compiled out
2021-10-12 09:04:55 +11:00
Andrew Tridgell
5eaf76cdc8
SITL: separate origin and home in SITL
...
this allows for accurate sensor data when flying a very long distance
from the takeoff location
2021-07-14 17:34:40 +10:00
Andrew Tridgell
fb275c9874
SITL: convert to double precision for positions
2021-06-24 21:34:30 +10:00
Andrew Tridgell
7e14f62fcd
SITL: suppress cast-align warnings in SIM_XPlane
2020-07-10 13:31:27 +10:00
Peter Barker
30c65e57be
SITL: remove use of Vector3 as function
2020-06-16 11:06:47 +10: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
f7b47679bb
SITL: remove home_str from constructor
2019-08-15 15:16:11 +10: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
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
3e9294a2ae
SITL: eliminate float-equals issues
2018-08-28 09:54:47 +10: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
Pierre Kancir
b176ba53d7
SIM_Aircraft: move advance in time from update_position to time_advance
2017-06-07 20:29:02 +10:00
Andrew Tridgell
68e0b5b7fa
SITL: support XPlane-11
...
the packets are prefixed with DATA* instead of DATA@
This makes it work with both versions
2017-04-09 16:39:26 +10:00
Peter Barker
8b38ce666d
SITL: SIM_XPlane: fix fabsf/abs warning; location alts are in integer cm
2017-01-17 09:41:37 -08:00
Andrew Tridgell
39ab1a0abc
SITL: adapt to new RC_Channel API
2017-01-12 17:39:37 +11:00
Pierre Kancir
c0be20ece2
SITL: XPLANE fix member shadowing
2017-01-09 06:51:48 -08:00
Andrew Tridgell
eaf5676636
SITL: fixed unselection bitmask bug in XPlane
2017-01-09 09:55:14 +11:00
Andrew Tridgell
35d6dc141a
SITL: only de-select data types in xplane once
...
don't fight the user
2017-01-07 14:41:23 +11:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
52caf8419e
SITL: fixed sense of wind direction
...
wind direction is where wind is coming from, not going to
2016-09-16 10:59:27 +10:00
Andrew Tridgell
4301faeac9
SITL: map X-Plane Mixture inputs to channels 6 and 7
...
this gives two user controllable channels for experimental aircraft
2016-07-22 19:14:46 +10:00
Andrew Tridgell
f3f34be9c4
SITL: added comment on heli interlock
2016-07-12 20:50:22 +10:00
Andrew Tridgell
4f17093add
SITL: give a bit more pitch on tail in XPlane heli
2016-07-12 19:08:50 +10:00
Andrew Tridgell
fdd20830d6
SITL: use flaps for collective on helis in X-Plane 10
...
works for more helis
2016-07-12 19:08:50 +10:00
Andrew Tridgell
871219d199
SITL: support helicopters with X-Plane 10
...
we get collective from "throttle2" and get interlock from generator1 on/off
2016-07-12 14:40:08 +10:00
Andrew Tridgell
0be442d34b
SITL: improved throttle input in XPlane
...
reduce chance that throttle output will be interpreted as input
2016-07-05 09:48:40 +10:00
Andrew Tridgell
82f131667d
SITL: added flaps control in XPlane
2016-06-30 20:26:00 +10:00
Andrew Tridgell
a6e927d434
SITL: default gyro cal off in XPlane and FlightAxis
...
pointless doing cal on these backends
2016-06-24 10:32:52 +10:00
Andrew Tridgell
569443231a
SITL: improved altitude data in XPlane
2016-06-20 12:52:13 +10:00
Andrew Tridgell
51fff00871
SITL: report data and frame rates in XPlane
...
and avoid time going backwards if possible
2016-06-20 12:52:13 +10:00
Andrew Tridgell
16595d2f3b
SITL: auto-set AHRS_EKF_TYPE to 10 for XPlane and FlightAxis
2016-06-20 08:38:53 +10:00
Andrew Tridgell
2f88c24f49
SITL: added debug showing UDP ports for XPlane
2016-06-19 21:18:19 +10:00
Andrew Tridgell
ec5534bd6a
SITL: explain the throttle_magic code for XPlane
2016-06-19 21:10:49 +10:00
Andrew Tridgell
f76a7e64ca
SITL: auto-select correct data fields from X-Plane10
2016-06-19 20:57:34 +10:00
Andrew Tridgell
4f99c17aae
SITL: added X-Plane 10 SITL backend
2016-06-19 13:59:15 +10:00