Andrew Tridgell
ed691fc465
SITL: added SITL class for controlling simulation
...
this holds mavlink settable parameters for controlling sensor noise
levels
13 years ago
Andrew Tridgell
10c35e3769
SITL: add magnetic field noise to the simulated compass
13 years ago
Andrew Tridgell
ba8e764349
SITL: lower the noise and drift levels for general autotest usage
13 years ago
Andrew Tridgell
c8189c80d4
SITL: cleanup the gyro drift calculations
...
use units that are more easily understood
13 years ago
Andrew Tridgell
bddc6ba241
SITL: separate out drift speed and drift level
13 years ago
Andrew Tridgell
25cad09746
SITL: added a drift_level multiplier
...
this makes it easier to experiment with different gyro drift levels
13 years ago
Andrew Tridgell
8424609924
SITL: push noise level to 2.0 for DCM testing
13 years ago
Andrew Tridgell
73dafe537e
SITL: use the new noise model
...
use the new noise model at a low level for master until we sort out
DCM noise handling
13 years ago
Andrew Tridgell
39797c6f33
SITL: simulate noise on each ADC channel separately
...
scale the noise based on the period of the motors
13 years ago
Andrew Tridgell
efe5c0142c
SITL: raise the ADC noise level to 8 bits when flying
...
this is about the level of noise of a aircraft that has a lot of
vibration
13 years ago
Andrew Tridgell
9793d04ed1
SITL: increase the amount of noise in the simulated ADC
...
this increases the noise to 2 bits, which actually can have the effect
of improving accuracy, as it leads to better averaging
13 years ago
Andrew Tridgell
bdb1599e96
desktop: improved the accuracy of the sensor emulation
13 years ago
Andrew Tridgell
de0c38339d
desktop: fixed ADC value for airspeed
13 years ago
Andrew Tridgell
ffba37d599
desktop: first version of register level SITL support
...
this adds register level emulation of the ADS7844 and the RC
input/output hardware on the APM1, allowing for SITL testing without
enabling HIL in the code
13 years ago