Andrew Tridgell
e4a747c247
SITL: allow for extra actuators to be marked as motors
2022-10-24 22:23:32 +09:00
Andrew Tridgell
cca7a540ea
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-24 22:23:32 +09:00
Shiv Tyagi
998119d011
SITL: fix var naming for precland device center
2022-08-09 18:00:11 +10:00
Iampete1
b3f09e5573
SITL: params always use set method
2022-08-03 13:43:48 +01:00
Andrew Tridgell
8cc5172ff3
SITL: fill in wind from flightaxis
2022-08-02 07:49:34 +10:00
Peter Barker
e6e45eda97
SITL: populate rangefinder ranges for inbuilt sims
...
These values are returned for the SITL rangefinder backend, type=100
2022-05-24 10:38:57 +10:00
Peter Barker
348f0ad590
SITL: add SIM_SONAR_ROT, use it for measuring horizontal distances
2022-04-19 10:26:10 +10:00
Andrew Tridgell
536b59ed42
SITL: don't use adjusted terrain in SITL
2022-03-28 16:01:21 +11:00
Peter Barker
edef2ceb56
SITL: usleep only on AP_HAL_SITL
2022-03-17 14:39:55 +11:00
Peter Barker
b360521d0b
SITL: permit double-precision maths in SITL even on embedded hardware
2022-03-17 14:39:55 +11:00
Peter Barker
0957131543
SITL: use AP_HAL::micros() for get_wall_time_us
2022-03-17 14:39:55 +11:00
Andrew Tridgell
07b78ab9a6
SITL: removed terrain home correction
2022-03-10 07:34:20 +11:00
Iampete1
b188d8fc5e
SITL: remove custom rotations
2022-03-02 18:16:42 +11:00
Andrew Tridgell
7643c5d3f3
SITL: log airspeed in SIM2
2022-02-07 14:13:49 +11:00
Peter Barker
af1a454820
SITL: fix may-be-used-uninitialised error in thermalling code
2022-02-02 18:59:23 +11:00
Peter Barker
497e6df326
SITL: correct submarine rangefinding
2021-12-11 20:10:10 +11:00
Peter Barker
6fcf724b67
SITL: tidy range calculations
...
Also return INFINITY if the rangefinder can't see the ground
2021-12-11 20:10:10 +11:00
Peter Barker
581629b332
SITL: make Ship simulator optional
2021-11-01 21:34:04 +11:00
Iampete1
ef9580fcf2
SITL: update tailsitter ground behavoir
2021-10-26 10:03:00 +11:00
Andrew Tridgell
46287dcb00
SITL: fixed plane-tailsitter model
...
it doesn't play well with smoothing
2021-08-19 12:08:54 +10:00
Andrew Tridgell
477f936560
SITL: mark logger Write() calls as streaming where appropriate
2021-08-18 10:20:03 +10:00
Peter Barker
97057a1350
SITL: add simulated FETtec ESC
2021-08-13 16:22:37 +10:00
Andrew Tridgell
8196f422cb
SITL: mark SIM2 as a streaming message
2021-08-03 10:23:36 +10:00
Andrew Tridgell
0048167f16
SITL: added SIM2 message
...
useful for EKF debugging
2021-07-22 10:19:02 +10: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
Peter Barker
05a0205c21
SITL: change to use terrain singleton
2021-07-12 17:34:44 +10:00
Andrew Tridgell
01062cccd7
SITL: fixup offset calls
2021-07-10 07:20:41 +10:00
Andrew Tridgell
fb275c9874
SITL: convert to double precision for positions
2021-06-24 21:34:30 +10:00
Peter Barker
09ba017b5b
SITL: panic if we attempt to filter out-of-range servo index
2021-06-21 14:13:18 +10:00
Andrew Tridgell
bf1f27af32
SITL: added is_lock_step_scheduled() API
...
used to fix panic on bad timing
2021-05-24 20:13:37 +10:00
Pierre Kancir
cec82214d8
SITL: add local_ground_variable
2021-04-21 17:26:07 +10:00
Andrew Tridgell
7b9826cdce
SITL: change for AP::terrain as a pointer
2021-04-07 20:56:01 +10:00
Andrew Tridgell
b7f68e87b4
SITL: added barometer wind coefficients
2020-12-11 15:21:41 +11:00
Peter Barker
f7b2856af0
SITL: add simulator for IntelligentEnergy 2.4kWh
...
SITL: Added setup note to comment
SITL: IE24: Add Error param and cycle battery pwr
2020-11-24 12:54:52 +11:00
Andrew Tridgell
32bda36908
SITL: fixed build with no GCS
2020-11-10 16:15:45 +11:00
Andrew Tridgell
a0bc9d3148
SITL: fixed quadplane mass and rpm indexing
2020-10-28 14:20:44 +11:00
Peter Barker
abab203b32
SITL: remove zero initialisations, move more into class definitions
2020-09-28 12:15:04 +10:00
Iampete1
2764126a1c
SITL: add apparent wind sensor support
2020-09-09 18:26:54 +10:00
murata
a44defc49e
SITL: Disabling debugging cyclic messages
...
SITL: Disabling debugging cyclic messages
2020-09-03 11:31:05 +10:00
Tatsuya Yamaguchi
829cd29d7c
SITL: fix when speedup is specified as a startup parameter
2020-09-02 17:13:22 +10:00
Iampete1
16a9506cf2
SITL: SIM_Aircraft: add rangefinder array
2020-08-05 18:24:36 +10:00
Peter Barker
80d7a4ee5e
SITL: simulated i2c support
2020-08-04 21:40:21 +10:00
Peter Barker
0303c5c4a8
SITL: move calculation of simulated rangefinder range to inside SIM_Aircraft
...
this will allow us to use the for non-serial rangefinder backends
2020-08-04 21:40:21 +10:00
Peter Barker
d298980969
SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf
2020-07-23 18:10:06 +10:00
Andrew Tridgell
f9f8822e47
SITL: added ship takeoff/landing simulation
...
this allows for a ship with a given radius and speed, allowing for
testing of ship takeoff and landing systems
2020-07-10 13:28:38 +10:00
Peter Barker
88c8dd8465
SITL: add RichenPower generator simulator
2020-07-03 08:21:42 +09:00
Andrew Tridgell
5349113104
SITL: improved the speedup code
...
more accurate sleeps using sleep debt system
2020-06-06 08:17:25 +10:00
Andrew Tridgell
750b220a5f
SITL: simulations optimisations
...
- change to 600Hz physics rate by default
- don't export rotational acceleration (not needed)
- report speedup in terminal output at 0.5Hz (wall clock rate)
2020-06-06 08:17:25 +10:00
Alexander Maryanovsky
d73043fc2f
SITL: get_wall_time_us() to use a monotonic clock on non-Windows systems
2020-06-04 10:05:22 +10:00
Andrew Tridgell
e4596efe9b
SITL: added SIM_RATE_HZ
...
this allows the physics step size to be changed while flying the
internal models, which allows for lower CPU usage
2020-06-03 18:11:06 +10:00