Andrew Tridgell
88a90495b2
HAL_SITL: allow for more data before GPS pipe flush
10 years ago
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
10 years ago
Andrew Tridgell
b2b5c8cd18
HAL_SITL: fixed some build warnings
10 years ago
Andrew Tridgell
40e3b422b5
HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
...
it is nothing to do with the original AVR emulation now
10 years ago
Tom Pittenger
b7fb4022b4
AVR_SITL: fix compile warnings re float constants
10 years ago
Fergus Noble
0480867de2
SITL: Update SBP simulation functions for pseudo-absolute mode
10 years ago
Andrew Tridgell
9748cb1e3e
HAL_SITL: use a synthetic clock when possible
...
this decouples wall clock time from simulation time if the FDM
supports it
10 years ago
Andrew Tridgell
8fee936ad7
HAL_SITL: fixed emulation of MTK1.6 GPS
10 years ago
Andrew Tridgell
869fb23062
HAL_SITL: implement SIM_GPSDRIFTALT
10 years ago
Jonathan Challinger
2d288d46a4
AP_HAL_AVR_SITL: fill in ublox accuracy metrics with reasonable values
10 years ago
Niels Joubert
fee79c5bac
SITL: Piksi Heartbeat Message support, Integer-RTK baseline simulation
11 years ago
Niels Joubert
e32b73f075
AP_HAL_AVR_SITL: Adding Swift Binary Protocol stand-alone simulator
11 years ago
Andrew Tridgell
af2f72acb0
HAL_SITL: honor SIM_GPS2_ENABLE option
11 years ago
Andrew Tridgell
0115b9fa07
HAL_SITL: support a 2nd GPS
11 years ago
Andrew Tridgell
af27921225
HAL_SITL: fixed GPS delay off by one
11 years ago
Andrew Tridgell
65ebdfa786
HAL_SITL: fixed time strings in simulated NMEA GPS
11 years ago
Andrew Tridgell
b7b9efd120
HAL_SITL: properly emulate timestamps on ublox and MTK
11 years ago
Andrew Tridgell
6438be74e0
HAL_SITL: get the ublox GPS timestamps right in SITL
11 years ago
Andrew Tridgell
55ba536331
HAL_SITL: fixed a warning
11 years ago
Andrew Tridgell
42bc8b12df
SITL: added a SIM_GPS_HZ option
...
this allows simulation of slow GPS updates (for example, the 1Hz GPS
problem)
12 years ago
Randy Mackay
c6a99ac24a
AutoTest: add support for GPS glitching
12 years ago
Andrew Tridgell
e75c48c029
SITL: added simulated NMEA GPS
...
useful for validating the NMEA GPS driver
12 years ago
Andrew Tridgell
e2eca3e273
AP_HAL_AVR_SITL: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
ed918dc6bc
SITL: use PACKED attribute instead of pragma pack
12 years ago
Andrew Tridgell
055da3c4b6
SITL: added SIM_GPS_NUMSATS parameter
...
this allows testing of the DCM code with less than 6 satellites
12 years ago
Andrew Tridgell
0ffc7dab6b
SITL: added GPS speed down to SITL state
12 years ago
Andrew Tridgell
fb4e68f0f0
SITL: added SIM_GPS_BYTELOSS option
...
this allows testing of protocol recovery after losing bytes on the GPS
serial link
12 years ago
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