Andrew Tridgell
15a84972d1
SITL: added SIM_MAG_ERROR parameter
...
this is a compass yaw error in degrees, used for testing navigation
with a bad compass
12 years ago
Andrew Tridgell
a09c53a3ea
SITL: use new HIL compass API
12 years ago
Andrew Tridgell
98ead51801
SITL: fill in a lot more of the AP_HAL SITL backend
12 years ago
Andrew Tridgell
d5b218c80b
SITL: use AP_Declination code to get right compass dec for autotest
13 years ago
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
90c3d230d9
SITL: improve the simulated compass
...
this implements a much more accurate model of a compass using matrix
rotations, instead of trying to calculate components directly
13 years ago
Andrew Tridgell
fd2a24f8ed
SITL: reduce the simulated compass offsets
...
this was causing us problems in getting DCM right
13 years ago
Andrew Tridgell
a48a118128
SITL: adjust the SITL compass code to have saner z values
13 years ago
Andrew Tridgell
43c56be70c
SITL: add some magnetometer offsets
...
this ensures the compass null_offset algorithm has some work to do in
autotest
13 years ago
Andrew Tridgell
90c6bad814
autotest: make magnetic field point down
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