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
Mark Whitehorn
3587d7f253
AP_SerialManager: add SBUS1 serial output support
2017-11-30 10:20:04 +11:00
Mark Whitehorn
cca251c135
SRV_Channel: support SBusOut
2017-11-30 10:20:04 +11:00
Mark Whitehorn
94d4f068a8
AP_SBusOut: create library
2017-11-30 10:20:04 +11:00
Mark Whitehorn
560402bad4
AP_BoardConfig: clarify PX4IO SBUS enable message
2017-11-30 10:20:04 +11:00
Peter Barker
47f8ed7fab
AP_GPS: set GPS_SAVE_CFG default to save GPS config as required
2017-11-29 00:58:43 -07:00
Andrew Tridgell
9677d570e9
AP_GPS: faster GPS lock
...
use 9600 and 115200 first
2017-11-29 00:58:43 -07:00
Andrew Tridgell
2c6593e35e
AP_NavEKF3: fixed inverted function setInhibitGpsVertVelUse()
2017-11-29 09:47:14 +09:00
Andrew Tridgell
4019a167a9
AP_NavEKF2: fixed inverted function setInhibitGpsVertVelUse()
2017-11-29 09:47:14 +09:00
Grant Morphett
f7db538220
APM_Control: Fixed the subparam indexs to start at 1
...
AFAIK there is still a bug in ArduPilot where subparams should not start at index 0. This is due to the way the index math and bit shifing works as it incorrectly offsets all 0 index params to 0. We allow 2 levels of sub params - 3 levels in total. So params, sub params and sub sub params. The 0 parameter in all those is unfortunately always references param[0]. So param[0] and subparam[0] and subsubparam[0] will reference the same parameter value. Its why we always say start the index from 1 as the math and bitshifting then works correctly.
Yeah this is worded badly - hard to explain.
2017-11-29 09:43:10 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
5a0ffe94d2
AP_Common: NFC spell in comments
2017-11-27 23:13:34 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
0ecb14361d
AP_AHRS: NFC spell in comments
2017-11-27 23:13:34 +09:00
Randy Mackay
b9a1621d38
AR_AttitudeControl: minor comment fix
...
non-functional change
2017-11-27 10:35:26 +09:00
Peter Barker
30355fa6d8
AP_Mission: provide short description for mission item types
2017-11-27 10:28:24 +09:00
Andrew Tridgell
9660973975
AP_Math: make crc_crc8 const
2017-11-27 10:15:07 +09:00
Leonard Hall
bd284d9fd7
AC_PosControl: correct lean-angle-to-accel formula
...
Thanks to @luweikxy for finding this issue!
2017-11-24 09:12:00 +09:00
Leonard Hall
e49d29f8cd
AC_WPNav: protect against divide by zero
...
This could occur if the spline origin and destination were the same location
In these cases we mark the vehicle as having reached the destination avoid all calculations
2017-11-23 21:24:28 +09:00
Andrew Tridgell
917d9842c4
SITL: support AHRS_ORIENTATION in SITL
...
this allows for tailsitters in RealFlight
2017-11-23 14:26:11 +11:00
Andrew Tridgell
ebcffcb0ac
HAL_SITL: fixed console printf in SITL examples
2017-11-23 14:26:11 +11:00
Andrew Tridgell
3f226cd2b9
AP_Math: added from_rotation() method to Matrix3
...
this is used to get a rotation matrix from a rotation enum
2017-11-23 14:26:11 +11:00
Peter Barker
22f1b5ed6f
TECS: support for units on fields
2017-11-23 10:40:30 +11:00
Peter Barker
d68ba874d0
DataFlash: correct examples with units
2017-11-23 10:40:30 +11:00
Peter Barker
b19f981c07
DataFlash: validate units and multipliers
2017-11-23 10:40:30 +11:00
Peter Barker
9896e23c36
DataFlash: Log_Write() fills unknown units with '?'
2017-11-23 10:40:30 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
2e94673e4f
DataFlash: keep the unit names consistent with Tools/autotest/param_metadata/param.py:33
2017-11-23 10:40:30 +11:00
Peter Barker
a5442fb293
DataFlash: support for units on fields
2017-11-23 10:40:30 +11:00
Peter Barker
1e512338f9
AP_AirSpeed: clarify comment
2017-11-23 10:40:30 +11:00