Francisco Ferreira
1d27193efb
AP_GPS: use proper macro in array sizes
2019-04-30 12:24:51 +09:00
Francisco Ferreira
2be3797f9e
AP_GPS: correct blending check
2019-04-30 12:24:50 +09:00
Francisco Ferreira
7e9c56c50e
AP_GPS: fix out-of-bounds array access
2019-04-30 12:24:49 +09:00
Andrew Tridgell
271bbbd8d1
HAL_ChibiOS: mark SDIO and SDMMC IO as pullup
...
this is needed for boards such as PixhackV3 which don't have hardware
pullups. Thanks to Hongle for reporting this.
2019-04-30 12:24:48 +09:00
Andrew Tridgell
692c9a15df
AP_InertialSensor: don't set INS_ENABLE_MASK to found IMUs
...
this is needed for detection of failed cubes
2019-04-30 12:24:47 +09:00
Andrew Tridgell
5e5775c3ca
AP_AHRS: ensure AHRS never uses an unhealthy gyro
2019-04-30 12:24:46 +09:00
Jonathan Challinger
f65172f2e4
AP_BoardConfig: add targetted check for cube black internal sensors
2019-04-30 12:24:45 +09:00
Jonathan Challinger
16230bf2a9
AP_Baro: make crc4 a static member of AP_Baro_MS56xx
2019-04-30 12:24:44 +09:00
Jonathan Challinger
7d129c9b54
AP_HAL_ChibiOS: add define HAL_CHIBIOS_ARCH_CUBEBLACK to cubeblack hwdef
2019-04-30 12:24:43 +09:00
Michael du Breuil
de38c6dc2f
AP_GPS: Log reciever status to GPS SD card
...
This improves log analysis of bad GPS health messages when you have a
report of bad GPS health but lost the MAVLink message, or didn't have
access to the autopilot log with the information for some reason.
2019-04-30 12:24:42 +09:00
Michael du Breuil
a0cc776eb5
AP_GPS: Remove external event from GPS data stream
...
If the event pin floats, this can lead to UART congestion, causing the
EKF to reject the GPS data, and the vehicle will drift around the sky in
a most disturbing manner
2019-04-30 12:24:41 +09:00
Andrew Tridgell
a796e501ae
AP_NavEKF3: fixed EKF compass switching
...
when we had 3 compasses the lack of the 'break' meant when we switched
compass in flight we would always switch back instantly to the one
that we had just rejected.
2019-04-22 11:09:32 +09:00
Andrew Tridgell
9b5cc8467b
AP_NavEKF2: fixed EKF compass switching
...
when we had 3 compasses the lack of the 'break' meant when we switched
compass in flight we would always switch back instantly to the one
that we had just rejected.
2019-04-22 11:09:28 +09:00
Andrew Tridgell
933cbb6184
AP_Compass: change to 3 compasses in SITL
2019-04-22 11:09:25 +09:00
Pavlo Kolomiiets
195b053e1a
GCS_MAVLink: add WHEEL_DISTANCE to ap_message enum
2019-04-22 11:05:27 +09:00
Siddharth Purohit
f01335691f
AP_UAVCAN: disable SLCAN for minimize feature enabled
2019-01-30 09:57:30 +09:00
Siddharth Purohit
7a2668ae1a
HAL_ChibiOS: disable SLCAN for minimize feature enabled
2019-01-30 09:57:28 +09:00
Siddharth Purohit
816c339e4d
BoardConfig: disable SLCAN for minimized features
2019-01-30 09:57:26 +09:00
Nathan E
9ae5ada82f
Correct AP_TECS.cpp typos per magicrub comments
...
poper changed to proper
2019-01-23 09:24:18 -07:00
Nathan E
24f3abde99
Update AP_TECS.cpp
2019-01-23 09:24:18 -07:00
Nathan E
0401078694
Update AP_Airspeed.cpp
2019-01-23 09:24:18 -07:00
Nathan E
548a573803
Update AP_YawController.cpp
2019-01-23 09:24:18 -07:00
Nathan E
f9aac6919c
Update AP_RollController.cpp
2019-01-23 09:24:18 -07:00
Nathan E
fbb2252fd9
Update AP_PitchController.cpp
2019-01-23 09:24:18 -07:00
Pavlo Kolomiiets
2c909cf83b
AP_WheelEncoder: Wheel encoder's offsets are properly propagated to EKF3.
2019-01-23 17:01:13 +09:00
Michael du Breuil
753f360d06
GCS_Common: NACK a failed partial mission write
2019-01-23 00:06:07 -07:00
Peter Barker
b19f760628
GCS_MAVLink: don't allow signing key to be set up when armed
...
Discussion is here:
https://github.com/ArduPilot/ardupilot/issues/10298
2019-01-23 17:39:10 +11:00
Siddharth Purohit
c459f6c484
AP_UAVCAN: run code format script on AP_UAVCAN_SLCAN
2019-01-23 15:57:05 +11:00
Siddharth Purohit
e12cb58b21
HAL_ChibiOS: run code formatter on CANSerialRouter
2019-01-23 15:57:05 +11:00
Siddharth Purohit
ed6fe450c0
UAVCAN: SLCAN replace asserts with return false
2019-01-23 15:57:05 +11:00
Siddharth Purohit
e1a9094bf6
HAL_ChibiOS: CANSerialRouter allow for changing serial port for the same boot
2019-01-23 15:57:05 +11:00
Siddharth Purohit
5cbe8eb5ee
BoardConfig: fix description for SLCAN parameters
2019-01-23 15:57:05 +11:00
Siddharth Purohit
38125ab92a
UAVCAN: change hex2nibble method to use branching instead of plain lookup table
2019-01-23 15:57:05 +11:00
Siddharth Purohit
2c0521654c
AP_BoardConfig: split SLCAN Interface params to there own class
2019-01-23 15:57:05 +11:00
Siddharth Purohit
70da885214
AP_ToshibaCAN: add argument for enabling filters, unsupported
2019-01-23 15:57:05 +11:00
Siddharth Purohit
dae9cbfad8
AP_KDECAN: add argument for CAN filter, unsupported
2019-01-23 15:57:05 +11:00
Siddharth Purohit
a6b01901f1
HAL_ChibiOS: flush serial bus during switching to and from SLCAN
2019-01-23 15:57:05 +11:00
Siddharth Purohit
664c952460
HAL_ChibiOS: disable code for CAN for non UAVCAN supported
2019-01-23 15:57:05 +11:00
Siddharth Purohit
f6d165d8c1
HAL_ChibiOS: CANSerialRouter unlock the port in timer
2019-01-23 15:57:05 +11:00
Siddharth Purohit
7912952afe
BoardConfig_CAN: reset slcan port state at restart
2019-01-23 15:57:05 +11:00
Siddharth Purohit
b5fbdc9888
HAL_ChibiOS: invoke serial data event signal for non dma ports as well
2019-01-23 15:57:05 +11:00
Siddharth Purohit
e9047cc131
AP_UAVCAN: do locked serial transactions to support slcan routing
2019-01-23 15:57:05 +11:00
Siddharth Purohit
3a46fb59e5
AP_SerialManager: add support for fetching serial port by id
2019-01-23 15:57:05 +11:00
Siddharth Purohit
32a71cef92
ChibiOS: add support for timeout and closing SLCAN
2019-01-23 15:57:05 +11:00
Siddharth Purohit
979a8dea6d
BoardConfig_CAN: add parameters for serial port selection and timeout
2019-01-23 15:57:05 +11:00
Siddharth Purohit
5cefd251f9
ChibiOS: add CAN to Serial bus router
2019-01-23 15:57:05 +11:00
Siddharth Purohit
112f535365
AP_UAVCAN: implement routing SLCAN to and from CANbus
2019-01-23 15:57:05 +11:00
Siddharth Purohit
7a871a8843
AP_UAVCAN: add config for enabling/disabling can filters
2019-01-23 15:57:05 +11:00
Siddharth Purohit
8f964b08b0
ChibiOS: move CAN driver code into HAL
2019-01-23 15:57:05 +11:00
Siddharth Purohit
504cfd8989
AP_HAL: add flag for enable/disabling filters
2019-01-23 15:57:05 +11:00