Andrew Tridgell
3a582663fb
SITL: improve time field handling in simulated GPS
12 years ago
Andrew Tridgell
428966160a
SITL: added support for MTK16 and MTK19 simulated GPS types
12 years ago
Andrew Tridgell
10cd466035
SITL: added simulation of the original MTK GPS
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
c16db01395
HAL_SITL: add pragma pack
...
may be needed on some systems
12 years ago
Andrew Tridgell
9931009db2
Math: use pythagorous2() in some more places
12 years ago
Andrew Tridgell
5f7f6966af
SITL: fixed GPS and UART startup
12 years ago
Andrew Tridgell
98ead51801
SITL: fill in a lot more of the AP_HAL SITL backend
12 years ago
Andrew Tridgell
951e764442
SITL: prevent the GPS pipe filling up and delaying GPS readings
12 years ago
Andrew Tridgell
cd0672ce94
SITL: set a reasonable number of satellites in simulated uBlox
12 years ago
Andrew Tridgell
78a95290a3
SITL: prevent a fd leak in GPS code
13 years ago
Andrew Tridgell
c35a2e999b
SITL: added SIM_GPS_DELAY parameter
...
this allows a delay to be added to the gps data to test the impact on
AHRS/DCM
13 years ago
Andrew Tridgell
a6543f1e84
SITL: removed an unused variable
13 years ago
Andrew Tridgell
27761737ce
SITL: fixed GPS heading in simulated UBlox
...
longitude scale does not apply to velocity->heading conversions
13 years ago
Andrew Tridgell
b811653800
SITL: changes UBlox simulation to 5Hz
...
this matches the real UBlox driver
13 years ago
Andrew Tridgell
f95d7cadc5
fixed SITL GPS heading to be 0..360
13 years ago
Andrew Tridgell
49cf409c23
desktop: floating point precision changes from Justin Beech
13 years ago
Andrew Tridgell
c9b0b384f7
desktop: added framerate and initial height code
...
this allows the sensors to initialise before the simulator has
connected. The GPS will give a value indicating no GPS lock
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