Peter Barker
b360521d0b
SITL: permit double-precision maths in SITL even on embedded hardware
3 years ago
Peter Barker
0957131543
SITL: use AP_HAL::micros() for get_wall_time_us
3 years ago
Peter Barker
bff0b6f970
SITL: add and use AP_SIM_GPS_FILE_ENABLED
3 years ago
Jaaaky
22e1ea559c
SITL: Fix typo (NFC)
3 years ago
Andrew Tridgell
df30d4e723
SITL: support interpolated GPS lag
...
use SIM_GPS_LAG_MS and SIM_GPS2_LAG_MS for the lag in milliseconds
3 years ago
Andrew Tridgell
c565b8a84e
SITL: support KSXT message for Unicore NMEA
3 years ago
Peter Barker
60453b2250
SITL: quieten MKFIFO warning in case of EEXIST
3 years ago
Peter Barker
306bd0a4ab
SIM_GPS: make writing of data w/out byteloss more efficient
3 years ago
Peter Barker
a88464c928
SITL: send sv_info from both GPS instances
...
Without sv_info we don't get the correct ublox type, meaning we get the wrong lag time, meaning EKF2 gets rather more annoyed than it should when we do loops in SITL.
3 years ago
Peter Barker
06c3290e15
SITL: correct buffer over-read in GPS lag simulation
3 years ago
Peter Barker
6c16da21c5
SITL: make simulated GPS work as a SerialDevice
3 years ago
Peter Barker
99e80549b1
SITL: move sitl_gps.cpp to SIM_GPS.cpp
3 years ago
Peter Barker
f5d5387358
AP_HAL_SITL: remove unused ext_fifo_fd member variable
3 years ago
Peter Barker
6bd2bc2179
AP_HAL_SITL: remove mtk GPSs
...
These are ancient and of very poor quality.
3 years ago
bugobliterator
26e2a4a3cb
AP_HAL_SITL: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
3fc88b19b8
HAL_SITL: implement initial GPS position offsets
4 years ago
Andrew Tridgell
2168633372
HAL_SITL: account for attitude rate in moving baseline data
4 years ago
Philippe Hamelin
187549b431
SITL: Add NMEA THS message.
4 years ago
Andrew Tridgell
266b425115
HAL_SITL: use common nmea_printf()
4 years ago
bugobliterator
49d934eb42
AP_HAL_SITL: add support for multiple periph instances
4 years ago
Andrew Tridgell
9a026b8068
HAL_SITL: fixed warning building with gcc 9.x
4 years ago
bugobliterator
09a0d8d0c0
HAL_SITL: add support for AP_Periph SITL build
4 years ago
Samuel Tabor
21a8471d2d
SITL: Add start time argument.
4 years ago
Harshit Kumar Sankhla
952c14ed33
AP_HAL_SITL: add GPS Velocity Error through a SITL parameter
5 years ago
Andrew Tridgell
3f630d3d43
HAL_SITL: use GPS accuracy params
5 years ago
Peter Barker
b3d755d018
AP_HAL_SITL: correct loop counter type
5 years ago
Andrew Tridgell
ac604cac54
HAL_SITL: update for GPS param changes
5 years ago
Andrew Tridgell
e8fb082a9a
HAL_SITL: fixed simulation of roll/pitch of moving baseline ublox
5 years ago
Andrew Tridgell
b90b4f9157
HAL_SITL: implement moving baseline for ublox
...
this allows testing of the moving baseline dual ublox code
5 years ago
Andrew Tridgell
dd1426cf73
HAL_SITL: allow for separate position for 2nd GPS
...
makes for better simulation of moving baseline
5 years ago
Grant Morphett
fdcdbddecc
AP_HAL_SITL: Send NMEA GPHDT sentence if enabled.
...
and add VTG message
6 years ago
Francisco Ferreira
0e33907cf7
AP_HAL_SITL: change NMEA output to use new macro
6 years ago
Peter Barker
900d9f71f6
AP_HAL_SITL: stop taking address of packed members
6 years ago
Andrew Tridgell
a611803b6d
HAL_SITL: fixed valgrind error in NOVA GPS
6 years ago
Peter Barker
c5d13847b2
AP_HAL_SITL: set cloexec on sitl-gps file descriptors
7 years ago
Andrew Tridgell
6558da2c4c
HAL_SITL: fixed valgrind error in ubx driver
...
this was causing a valgrind error on all runs with a virtual ublox GPS
7 years ago
Michael du Breuil
8ef7e61066
AP_HAL_SITL: Spam u-blox NAV-SVINFO at 0.1Hz
...
This resolves EKF3 being hung on launch
7 years ago
Andrew Tridgell
25c7ee4d42
AP_HAL_SITL: added SIM_GPS_ALT_OFS
...
this is used to give a bad GPS height in SITL, which is very useful for
testing origin vs home issues
7 years ago
Andrew Tridgell
42181ee7c8
HAL_SITL: use SIM_GPS_LOCKTIME
8 years ago
Andrew Tridgell
e51bbcebec
AP_HAL_SITL: rename macros to avoid conflicts
...
these macros were also defined in NuttX in clock.h
8 years ago
Pierre Kancir
f8d6b5fc9c
AP_HAL_SITL: Allow to use a second type of gps for all type
8 years ago
Pierre Kancir
327ac07d54
AP_HAL_SITL: gps correct glitchs
8 years ago
Niels Joubert
873915d82b
AP_HAL_SITL: Support both SBPv0 and SBPv2
8 years ago
Andrew Tridgell
961da9deb8
HAL_SITL: use quaterion instead of eulers
8 years ago
Michael du Breuil
2aec41e0ef
AP_HAL_SITL: Fix SIM_GPS_DISABLE not disabling the ublox GPS with PVT support
8 years ago
Randy Mackay
341b926a43
AP_HAL_SITL: add glitch for 2nd ublox
8 years ago
Michael du Breuil
c716e76bfc
AP_HAL_SITL: Apply a GPS noise parameter
8 years ago
murata
30151c8253
Global: Define MSEC_PER_SEC, MSEC_PER_WEEK, SEC_PER_WEEK and UNIX_OFFSET.
8 years ago
Peter Barker
eb6826f7de
SITL: avoid use of uninitialised memory
8 years ago
Michael Oborne
d05b0d5885
AP_GPS_UBLOX: add pvt message support
8 years ago