Andrew Tridgell
a611803b6d
HAL_SITL: fixed valgrind error in NOVA GPS
2018-12-30 18:33:27 +11:00
Peter Barker
c5d13847b2
AP_HAL_SITL: set cloexec on sitl-gps file descriptors
2018-06-29 21:53:14 +10:00
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
2018-01-24 18:00:42 -07:00
Michael du Breuil
8ef7e61066
AP_HAL_SITL: Spam u-blox NAV-SVINFO at 0.1Hz
...
This resolves EKF3 being hung on launch
2018-01-13 10:13:00 +09:00
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
2017-09-18 10:24:45 +10:00
Andrew Tridgell
42181ee7c8
HAL_SITL: use SIM_GPS_LOCKTIME
2017-07-14 15:02:14 +10:00
Andrew Tridgell
e51bbcebec
AP_HAL_SITL: rename macros to avoid conflicts
...
these macros were also defined in NuttX in clock.h
2017-05-06 15:21:14 +10:00
Pierre Kancir
f8d6b5fc9c
AP_HAL_SITL: Allow to use a second type of gps for all type
2017-04-26 18:34:56 +01:00
Pierre Kancir
327ac07d54
AP_HAL_SITL: gps correct glitchs
2017-04-19 17:44:29 +01:00
Niels Joubert
873915d82b
AP_HAL_SITL: Support both SBPv0 and SBPv2
2017-04-18 18:25:54 +01:00
Andrew Tridgell
961da9deb8
HAL_SITL: use quaterion instead of eulers
2017-04-16 14:01:36 +10:00
Michael du Breuil
2aec41e0ef
AP_HAL_SITL: Fix SIM_GPS_DISABLE not disabling the ublox GPS with PVT support
2017-03-19 23:13:11 -07:00
Randy Mackay
341b926a43
AP_HAL_SITL: add glitch for 2nd ublox
2017-03-13 11:31:51 +11:00
Michael du Breuil
c716e76bfc
AP_HAL_SITL: Apply a GPS noise parameter
2017-02-13 09:23:14 +11:00
murata
30151c8253
Global: Define MSEC_PER_SEC, MSEC_PER_WEEK, SEC_PER_WEEK and UNIX_OFFSET.
2017-02-11 01:34:09 -08:00
Peter Barker
eb6826f7de
SITL: avoid use of uninitialised memory
2017-02-05 01:07:32 +00:00
Michael Oborne
d05b0d5885
AP_GPS_UBLOX: add pvt message support
2017-01-25 03:34:26 +00:00
Michael du Breuil
d5a5a97a3d
SITL: Use the GPS_LEAPSECOND define
2017-01-18 18:07:26 +00:00
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.
2016-11-07 12:37:30 -03:00
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.
2016-11-02 16:04:47 -02:00
priseborough
a9f63abc6f
AP_HAL_SITL: simulate effect of GPS antenna offset
2016-10-27 14:54:44 +11:00
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.
2016-10-24 09:42:01 -02:00
Michael Oborne
11c376588d
AP_GPS_NOVA: support tersus/novatel/comnav gps
2016-09-20 10:53:49 +10:00
Ricardo de Almeida Gonzaga
91e9dd10ba
AP_HAL_SITL: Fix typos
2016-05-13 19:20:06 -03:00
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.
2016-05-10 11:41:26 -03:00
Andrew Tridgell
2718b0649b
HAL_SITL: fixed GPS rate in SITL when speedup used
2016-05-07 18:27:18 +10:00
Michael du Breuil
287a3367ad
AP_HAL_SITL: Force the simulated gps time to be on valid intervals for u-blox hardware
2016-02-26 09:57:03 +11:00
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
2016-02-11 18:46:01 +11:00
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
2016-01-10 17:43:01 +11:00
Caio Marcelo de Oliveira Filho
85d12efbef
AP_HAL_SITL: use millis/micros/panic functions
2015-11-20 12:31:20 +09:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Michael Oborne
b861233677
AP_HAL_SITL: add file based gps
2015-09-03 19:43:31 +10:00
Lucas De Marchi
ffa37e6de2
AP_HAL_SITL: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-18 17:12:52 +10:00
Gustavo Jose de Sousa
27b9d71e2c
AP_HAL_SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:43 +10:00
Michael du Breuil
c8c34f54cc
AP_HAL_SITL: Add hdop to ublox sitl sim (as well as vdop to be reported)
2015-08-08 13:22:02 +09:00
Andrew Tridgell
88a90495b2
HAL_SITL: allow for more data before GPS pipe flush
2015-07-04 15:14:39 +10:00
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
2015-05-05 10:59:07 +10:00
Andrew Tridgell
b2b5c8cd18
HAL_SITL: fixed some build warnings
2015-05-05 09:45:58 +10:00
Andrew Tridgell
40e3b422b5
HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
...
it is nothing to do with the original AVR emulation now
2015-05-05 09:45:54 +10:00