Tatsuya Yamaguchi
f23e592057
AP_Camera: move get_channel_pos function to RC_Channels
5 years ago
Tatsuya Yamaguchi
806bd38c7f
RC_Channel: add get_channel_pos function
5 years ago
Tatsuya Yamaguchi
de854a2ffe
AP_Arming: pre-arm check for disarm aux switch
5 years ago
Tatsuya Yamaguchi
4fdd24ecd3
RC_Channel: add disarm aux switch RCn_OPTION=81
5 years ago
Andy Piper
b7b2d9a6ce
AP_Compass: add support for custom compass rotation via COMPASS_CUS_{ROLL,PIT,YAW}
...
add reboot required for parameters that need it
disable custom rotation on AP_Periph devices
5 years ago
Andy Piper
167e1d12d7
AP_RCProtocol: disable flow-control and buffered-writes for SRXL2 uart
...
switched spm_srxl.c to C++ compilation
Correctly set budget for half-duplex writes
Tidy PACKED and other externalities
disable SRXL2 on IOMCU and softserial - SRXL2 is a serial half-duplex protocol-only
fixed buffer overrun in SRXL2 parser
fix bugs in decoder sketch and allow output to SITL
5 years ago
Andy Piper
44e5171f2b
AP_Frsky_Telem: refactor common code into AP_RCTelemetry
...
refactor naming
when using external data AP_Frsky_Telem::init() has to call AP_RCTelemetry::init() and exit.
No need to initialize serial ports
5 years ago
Andy Piper
e3a88f686d
AP_RCTelemetry: Spektrum telemetry library and telemetry abstraction
...
add support for temperature, battery voltage, battery current, flight pack
altitiude, airspeed, attitude and compass, GPS, ESC telemetry based on BLHeli
status messages and QOS packets.
refactor into AP_Telemetry
conditionally compile based on HAL_MINIMIZE_FEATURES
don't initialize spektrum telemetry if there is no RC uart
5 years ago
Andy Piper
da166b256d
GCS_MAVLink: add messages to Spektrum telemetry if it is enabled
5 years ago
Andy Piper
68c6a3b03d
AP_RCProtocol: SRXL2 support
5 years ago
Peter Barker
967f8bf726
AP_HAL_ChibiOS: correct description of where stdout goes
5 years ago
david sastre
f8b6d4b0ac
AP_Parachute: Fix singleton panic message
5 years ago
Andrew Tridgell
e126b6d346
HAL_ChibiOS: fixed race condition in storage write
...
we could mark a line as clean when it should be dirty if we lose a
race condition between storage thread and writer
5 years ago
Andrew Tridgell
0c1ba48212
AP_NavEKF3: fixed external yaw EK3_MAG_CAL=5 or 6
...
don't use GSF
5 years ago
Peter Barker
f43e48a6f1
AP_Filesystem: correct comparison of signed/unsigned
...
Closes #14267
5 years ago
Lucas De Marchi
29d8586ea4
AP_HAL_Linux: RCInput_UDP: accept up to 16 channels
...
This allows more channels to be passed to RCInput_UDP protocol while
also allowing less than 8 channels - this is similar to the approach
used by SITL in which the packet size is used to figure out the number
of channels.
5 years ago
Andrew Tridgell
f0fb64005d
AP_Filesystem: document extra restrictions in param.pck
5 years ago
Andrew Tridgell
685d0666e9
AP_Filesystem: added README on VFS interface
5 years ago
Randy Mackay
183ce50138
AP_NavEKF3: check GPS used before resetting pos due to GPS receiver change
5 years ago
Randy Mackay
f79d5d2d2c
AP_NavEKF3: handle external nav position reset
5 years ago
Randy Mackay
cbb25311bb
AP_NavEKF3: setAidingMode uses lastExtNavPassTime_ms
5 years ago
Randy Mackay
d763597065
AP_NavEKF3: compensate for visual odometry sensor position
5 years ago
priseborough
c5e465aec9
AP_NavEKF3: add external nav system support
...
includes decoupling height source from use of external nav data
5 years ago
priseborough
471372cc7f
AP_AHRS: Write external nav data to EKF3
5 years ago
Peter Barker
81454c7a40
GCS_MAVLink: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
58a8e54d83
AP_Math: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
7befe84f0c
AP_Logger: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
f0b38fa11c
AP_IOMCU: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
a30cdabb34
AP_InternalError: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
5f8a9d1e15
AP_HAL_SITL: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
141d7fed48
AP_HAL: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
48da4e523c
AP_HAL_ChibiOS: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
37cddbeea6
AP_FlashStorage: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
8e82ea2540
AP_Common: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
119eef9954
AP_Arming: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
36fd632a49
AP_AHRS: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
069bd04bdc
AC_Fence: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
pkocmoud
defb7dc43f
hwdef: add mRo M10070 Location One CAN GPS
5 years ago
Patrick José Pereira
3268c234d8
AP_HAL_Linux: Add PAGE_SIZE in RCInput_RPI
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Patrick José Pereira
32c0e37512
AP_HAL_Linux: Organize and document GPIO_RPI class
...
- Move macros to functions and improve explanation about logic behind it
- Break code in functions to make it more readable
- Add doxygen comments about functions and how they work in a comprehensive manner
- Improve general code maintainability
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Andrew Tridgell
66655212b1
AP_Compass: fixed compass ordering bug with AP_Periph
...
when a user swaps compasses on AP_Periph we want to immediately
replace it. The compass ordering code was rejecting the new compass
and calling panic as it was out of slots. This changes the AP_Compass
ordering so that when we only have a single compass we operate in a
very simple manner where we always accept the first compass found
5 years ago
Andrew Tridgell
3ec2ef787d
HAL_ChibiOS: fixed build warning
5 years ago
Andrew Tridgell
f00392d567
AP_GPS: don't accept a zero GNSS timestamp from UAVCAN GPS
...
this is needed for a bug in AP_Periph 1.0 which could briefly send a
zero timestamp on first fix marked as a UTC time
5 years ago
Andrew Tridgell
ce68e0fbb5
HAL_ChibiOS: fixed bootloader build
5 years ago
Andrew Tridgell
0ef66659ce
HAL_ChibiOS: log WDOG message once a second
...
this copes with delayed mounting of the microSD, making it much more
likely we log the critical data
5 years ago
Andrew Tridgell
7d6e5fa8a5
AP_InternalError: implement AP_stack_overflow() C binding
...
allow low level HAL code to report a stack overflow to
AP_InternalError
5 years ago
Andrew Tridgell
18e88e0ea3
HAL_ChibiOS: implement stack overflow hook
...
this needs C bindings to allow call from low level RTOS thread
switching code
5 years ago
Andrew Tridgell
77b8f88289
AP_Vehicle: report thread name in watchdog mavlink msg
5 years ago
Andrew Tridgell
c61cecdbc7
HAL_ChibiOS: report thread name in watchdog
5 years ago
Andrew Tridgell
09477b2dfe
HAL_ChibiOS: shorted thread names
...
changes names so threads can be distinguished by first 4 bytes
5 years ago