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
Michael du Breuil
d5a5a97a3d
SITL: Use the GPS_LEAPSECOND define
8 years ago
Lucas De Marchi
f6d475c1e6
AP_HAL_SITL: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
priseborough
a9f63abc6f
AP_HAL_SITL: simulate effect of GPS antenna offset
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Michael Oborne
11c376588d
AP_GPS_NOVA: support tersus/novatel/comnav gps
9 years ago
Ricardo de Almeida Gonzaga
91e9dd10ba
AP_HAL_SITL: Fix typos
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Andrew Tridgell
2718b0649b
HAL_SITL: fixed GPS rate in SITL when speedup used
9 years ago
Michael du Breuil
287a3367ad
AP_HAL_SITL: Force the simulated gps time to be on valid intervals for u-blox hardware
9 years ago
Andrew Tridgell
cb60384dc4
AP_HAL_SITL: allow auto-baudrate detection in GPS driver in SITL
...
this is useful when testing a real GPS in SITL
9 years ago
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
9 years ago
Caio Marcelo de Oliveira Filho
85d12efbef
AP_HAL_SITL: use millis/micros/panic functions
9 years ago
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
9 years ago
Michael Oborne
b861233677
AP_HAL_SITL: add file based gps
10 years ago