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)
5 years ago
bugobliterator
95493e4569
SITL: add support for per mag calibration
5 years ago
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
5 years ago
Randy Mackay
c8f6cb233b
SITL: vicon supports sending vision-speed-estimate
...
SIM_VICON_TMASK controls which of the 3 supported messages are sent
SIM_VICON_VGLI_X/Y/Z allows introducing a velocity glitch
5 years ago
Randy Mackay
366d03a533
SITL: add VICON_YAWERR
...
this allows simulating an error in the camera's reported yaw
5 years ago
Randy Mackay
bf9ee4ada8
SITL: remove unused MAG_ERROR and VICON_HSTLEN params
5 years ago
Randy Mackay
d8bc197d35
SITL: add VICON_GLIT_XYZ, FAIL and YAW
...
glitches are in meters in vicon's frame
fail disables sending of vision-position-estimate messages
yaw is the vicon's heading in degrees. i.e. if vicon's "forward" is
pointing to the east, yaw should be set to 90
5 years ago
Willian Galvani
cf6f5502a4
SITL: Make Sub buoyancy a parameter
5 years ago
Randy Mackay
3ccb3c69a6
SITL: add vicon position offsets
5 years ago
Andrew Tridgell
778532d556
SITL: added SIM_GPS2_HDG and rationalise the GPS position variables
5 years ago
Samuel Tabor
5082c9be8b
SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings.
5 years ago
Andrew Tridgell
09b272b840
SITL: added SIM_LED_LAYOUT parameter
...
for layout of simulated LEDs
5 years ago
Andy Piper
2033cf3b4a
SITL: add SIM_VIB_MOT_MULT to allow motor noise to have a different amplitude to the fixed frequency noise
5 years ago
Siddharth Purohit
8a7dcafa0f
SITL: add parameter MAG_DEVID in SITL
5 years ago
Andrew Tridgell
fb3496b63b
SITL: added SIM_GPS2_POS
...
and re-arrange two sets of GPS parameters to be arrays
5 years ago
Andy Piper
a6a020b3c7
SITL: record throttle value instead of motors on/off
5 years ago
Andy Piper
c807267bab
SITL: add rpm-based motor noise per-motor to gyros and accels
...
convert multicopter thrust to rpm per motor
5 years ago
Andrew Tridgell
7b203f6816
SITL: added SIM_MAG_SCALING for testing scale factor errors
5 years ago
Peter Barker
326ba5b974
SITL: support for virtual hardware safety switch
5 years ago
Andrew Tridgell
4d50996780
SITL: added MegaSquirt EFI simulation
5 years ago
Peter Barker
47fbf70e85
SITL: create SITL tonealarm files to hold enable parameter
5 years ago
Peter Barker
32ec6d7e9a
SITL: add a simulated buzzer
5 years ago
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
5 years ago
Peter Barker
169013cae2
SITL: allow starting location to come from parameters
6 years ago
Peter Barker
24405f1b23
SITL: correct and add comment
6 years ago
Peter Hall
2a3676003a
SITL: sailboat add tide
6 years ago
Peter Hall
90bf224e7f
SITL: sailboat add wave simulation and parameters
6 years ago
Grant Morphett
2ce7955614
SITL: Create gps_hdt_enabled varible for enable/disable HDT GPS sentence
6 years ago
Peter Barker
e01ea2f5f9
SITL: support a count of baros
6 years ago
Peter Barker
6939a9fa91
SITL: add capability to twist the aircraft
...
This makes the EKF very, very unhappy, but is useful for compass
calibration testing
6 years ago
Andrew Tridgell
e18f40cc08
SITL: added IMU failure masks
6 years ago
Paul Riseborough
8ac8c7285b
SITL: Add parameter for optical flow sensor noise
6 years ago
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
6 years ago
Pierre Kancir
04bc267a61
SITL: add precland object
...
add position for precland object
add refresh rate
add alt and lateral range
add diffusion range
6 years ago
Tom Pittenger
a4e91e196f
SITL: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
56683ba803
SITL: added SIM_BAUDRATE_EN parameter
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
834b45ce18
SITL: stop taking DataFlash pointer as argument
6 years ago
Peter Barker
d3b9ac5c8c
SITL: add simulated parachute
...
Doesn't actually change aerodynamics at the moment
6 years ago
Andrew Tridgell
9ca059ba16
SITL: added SIM_VIB_FREQ parameter
6 years ago
Andrew Tridgell
0536a3c4c6
SITL: added SIM_WOW_PIN
6 years ago
Pierre Kancir
37f7cc4bcf
SITL: rearrange Grippers and Sprayers in SITL
7 years ago
Andrew Tridgell
128ea42286
SITL: added SIM_RC_CHANCOUNT parameter
7 years ago
Andrew Tridgell
d1f67f6ded
SITL: added diagonal, off-diagonal and orientation of SITL compass
7 years ago
Peter Barker
a137afd11b
SITL: add singleton
7 years ago
Eugene Shamaev
d086edc762
SITL: add wind type parameters
7 years ago
Peter Barker
08189e0754
SITL: add parameter for Vicon observation delay
7 years ago
Eugene Shamaev
6954a0035a
SITL: SITL of several airspeed sensors
7 years ago
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
7 years ago