priseborough
3b32d583a9
AP_NavEKF2: Fix delta time use error
2017-12-12 11:39:38 +11:00
priseborough
440d361aff
AP_NavEKF2: Limit range of delta times
2017-12-12 11:39:38 +11:00
Andrew Tridgell
6b30c9213a
AP_NavEKF3: delay startup until IMU buffer is filled
...
this prevents a vulnerability where the initial IMU data is processed
26 times (where 26 is the IMU buffer length)
2017-12-12 11:39:38 +11:00
Andrew Tridgell
1f9a3dd1bd
AP_AHRS: improved init attitdue in DCM
...
this tries harder to get a good IMU sample for the initial attitude
estimate. I have seen cases of bad IMU data on startup and this makes it
much less likely
2017-12-12 11:39:38 +11:00
Andrew Tridgell
97729a12f0
AP_NavEKF2: don't run IMU updates until buffer fills
...
this prevents us using bad initial data multiple times. It fixes a bug
where the IMU may pause during EK2 initialisation
2017-12-12 11:39:38 +11:00
Andrew Tridgell
39c206ca03
AP_InertialSensor: limit delta-time from INS
...
limit delta-time to 2x average time
DEBUG CODE - DO NOT MERGE
2017-12-12 11:39:38 +11:00
Andrew Tridgell
a0af4af5b5
AP_InertialSensor: debugging code for EK2 bug
2017-12-12 11:39:38 +11:00
Randy Mackay
38145f9541
AP_InertialSensor: fix param docs for notch and log settings
2017-12-12 07:59:41 +09:00
Randy Mackay
cabced82f1
AR_AttitudeControl: fix parameter descriptions
2017-12-11 17:01:18 +09:00
Michael Oborne
78f732c380
AR_AttitudeControl: fix parameter docs
2017-12-11 08:35:33 +09:00
Randy Mackay
744f4baf22
AR_AttitudeControl: add parameter description increment
2017-12-09 16:23:25 +09:00
Randy Mackay
f00f4ce79b
AR_AttitudeControl: fix get_desired_speed timeout
2017-12-09 16:23:22 +09:00
Randy Mackay
9b81c133f6
AP_HAL_PX4: fix compiler warning in UARTDriver
2017-12-09 12:18:49 +09:00
Randy Mackay
36c5f057ae
AR_AttitudeControl: add get_desired_turn_rate lat_accel and speed
...
for reporting use only
2017-12-09 12:18:49 +09:00
Andrew Tridgell
30944f60e6
AP_SBusOut: fixed param doc name
2017-12-09 08:31:24 +11:00
Andrew Tridgell
051f30990c
SRV_channel: fixed doc names of VOLZ and SBUS
...
thanks to Mark for noticing
2017-12-09 08:08:00 +11:00
Peter Barker
c4734484e7
AC_Avoid: take an AP_AHRS in place of an AP_AHRS_NavEKF
2017-12-08 11:27:37 +09:00
Peter Barker
8a4ab685c7
AP_AHRS: implement get_hgt_ctrl_limit on base class
...
If no limits are required false can be returned, so an trivial
implementation is possible
2017-12-08 11:27:37 +09:00
Peter Barker
89e12163cd
AP_AHRS: correct comment
2017-12-08 11:27:37 +09:00
Peter Barker
c3eff57f60
AP_InertialNav: remove unused get_hgt_ctrl_limit
2017-12-08 11:27:37 +09:00
Peter Barker
a1c982be4a
AC_Avoid: work in metres to avoid extra work
2017-12-08 11:27:37 +09:00
Peter Barker
0fe45ef6b6
AC_Avoid: eliminate get_position and get_alt_above_home
2017-12-08 11:27:37 +09:00
Peter Barker
54010451bf
AC_Avoid: check result of AHRS calls
...
Work in metres to avoid computation
2017-12-08 11:27:37 +09:00
khancyr
b44ba29a05
AC_Avoidance: replace AP_InertialNav by AHRS
2017-12-08 11:27:37 +09:00
Andrew Tridgell
4289190654
HAL_PX4: added LIS3MDL on FMUv4
2017-12-08 09:49:25 +11:00
Mark Whitehorn
b0e2f06a7a
AP_Compass: add LIS3MDL probe for Pixracer
2017-12-08 09:49:25 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
9b2e48ce10
AP_GPS: Improve comments (NFC)
2017-12-05 10:44:58 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
fa4427fbce
AC_AttitudeControl: Add AC_PosControl::get_bearing_to_target() method
2017-12-05 09:17:15 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
1a512609ac
AC_WPNav: Use the get_bearing_cd() overloaded function provided by AP_Math instead
2017-12-05 08:54:49 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
e13281ab2d
AP_Math: add overloaded functions get_horizontal_distance_cm() and get_bearing_cd() (NFC)
2017-12-05 08:54:49 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
07c8d208bc
AC_WPNav: Use DEGX100 define instead of hardcoded value (NFC)
2017-12-05 08:54:49 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ec1790dad9
AP_Math: Use DEGX100 define instead of hardcoded value (NFC)
2017-12-05 08:54:49 +09:00
Guglie
4eaa1f17df
SITL: fix pthread_setname_np to build on mac
2017-12-04 21:14:29 +11:00
Tom Pittenger
da11241aa8
AP_HAL_SITL: add const
2017-12-02 09:17:27 +09:00
Patrick José Pereira
bd1110f444
AP_JSButton: simplifies logic
...
Less code make people happy
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-01 14:50:15 -08:00
Peter Barker
e39e8359b6
GCS_MAVLink: tighten result of handle_preflight_reboot
2017-12-01 17:01:10 +00:00
Peter Barker
161e2145cb
AP_InertialSensor: tighten type of simple_accel_cal result
2017-12-01 17:01:10 +00:00
Randy Mackay
82cd320bd0
AP_AHRS: add get_origin method to parent
2017-12-01 09:28:56 +09:00
Andrew Tridgell
da4d3ebe2b
HAL_SITL: fixed UART utils for cygwin and Linux
2017-12-01 08:02:48 +11:00
Tom Pittenger
6bdbe53024
AP_HAL_SITL: fix compile error for Windows/Cygwin builds
...
termios2 not available on cygwin. This needs a re-think for cygwin. For now let's just hide it by letting it be declared empty by the virtual and totally bypass it in the cygwin build.
2017-11-30 12:17:49 -08:00
Tom Pittenger
013035a4da
AP_HAL_SITL: fix compile error for Windows/Cygwin builds
...
Can not find "asm/termios.h"
2017-11-30 12:05:56 -08:00
Tom Pittenger
760c6185e5
AP_HAL_SITL: remove SBUS debug code
2017-11-30 12:03:17 -08:00
Pierre Kancir
c30642a348
AP_HAL_SITL: correct _unbuffered_writes usage
2017-11-30 10:36:54 -08:00
Mark Whitehorn
b1b1c0218f
AP_HAL_PX4: clean whitespace
2017-11-30 10:20:04 +11:00
Mark Whitehorn
d9ce90ceb0
AP_SBusOut: fix typo in comment
2017-11-30 10:20:04 +11:00
Mark Whitehorn
8d70255b8b
AP_SBusOut: turn off SBUS_DEBUG
2017-11-30 10:20:04 +11:00
Mark Whitehorn
5a417e3152
AP_HAL_SITL: support SBusOut
...
add uart config methods
2017-11-30 10:20:04 +11:00
Mark Whitehorn
644f5b75e6
AP_HAL_VRBRAIN: rename enable_sbus_out to enable_px4io_sbus_out
2017-11-30 10:20:04 +11:00
Mark Whitehorn
12ea8efa84
AP_HAL_PX4: support SBusOut
...
add unbuffered writes and uart config
2017-11-30 10:20:04 +11:00
Mark Whitehorn
66c4b7d986
AP_HAL: support SBusOut
...
rename enable_sbus_out to enable_px4io_sbus_out
2017-11-30 10:20:04 +11:00