Peter Barker
c95348c1d9
SITL: Avoid run-time FPEs due to bad gyro settings if SIM_DRIFT_TIME is set to 0
...
_gyro_drift essentially suffers a divide-by-zero if SIM_DRIFT_TIME is 0. The gyro initialisation routines in AP_InertialSensor do not return once the generated NaN propogates back to them.
10 years ago
Sean O\'Brien
bfba8870e2
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Andrew Tridgell
f13248e5f5
SITL: implement SIM_TERRAIN
...
either use AP_Terrain or flat earth
10 years ago
Andrew Tridgell
22237f2530
HAL_SITL: fixed handling of SIM_FLOAT_EXCEPT in main thread
10 years ago
Andrew Tridgell
5da5360dde
HAL_SITL: fixed sonar correction for attitude
11 years ago
Andrew Tridgell
5a55101703
HAL_SITL: added millis64() and micros64()
11 years ago
Andrew Tridgell
b559e9d331
SITL: better rangefinder simulation
...
able to handle a wider range, and takes account of attitude
11 years ago
Randy Mackay
5f1f619829
HAL_AVR_SITL: integrate ACC_BIAS and BARO_GLITCH
...
Adjust simulated accelerometer values and barometer altitude
11 years ago
Andrew Tridgell
e69a473315
SITL: update simulated sonar support
11 years ago
Andrew Tridgell
05bffb5915
HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter
11 years ago
Andrew Tridgell
cc4c443b32
SITL: simulate dual accel/gyro
11 years ago
Andrew Tridgell
5d7346b5c2
HAL_SITL: fixed build with new HIL INS API
11 years ago
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
11 years ago
Ben Nizette
339da1c21b
SITL: Add noise and glitching behaviour for the sonar sensor
11 years ago
Ben Nizette
70d37d2cf6
SITL: Wire in basic support for SITL downward-looking sonar sensors
11 years ago
Andrew Tridgell
428479b9d5
SITL: added SIM_ACCEL_FAIL option
...
used to test accelerometer failure in flight
11 years ago
Andrew Tridgell
ede927f68a
HAL_SITL: added airspeed noise control
11 years ago
Andrew Tridgell
f5d20b4085
SITL: reduce the minimum accel and gyro noise
...
on APM2 and PX4 we do a lot of smoothing of accels and gyros, so a 2
bit error isn't a good representation of the min noise
12 years ago
Andrew Tridgell
119ffb0fc0
SITL: fixed simulated airspeed value
12 years ago
Andrew Tridgell
589b8cdb58
AP_HAL: added voltage_average_ratiometric() call to AnalogIn
...
this is for ratiometric sensors such as the 3DR airspeed sensor and
the Maxbotix analog sonar
12 years ago
Andrew Tridgell
0ffc7dab6b
SITL: added GPS speed down to SITL state
12 years ago
Andrew Tridgell
abbe37be37
SITL: added emulated airspeed sensor on a pin
12 years ago
Andrew Tridgell
98ead51801
SITL: fill in a lot more of the AP_HAL SITL backend
12 years ago