Michael du Breuil
d568767164
AP_Math: Add conversion between inches of water to pascals
7 years ago
Andrew Tridgell
c9a830bf3f
AP_Notify: support both NCP5623 addresses
7 years ago
Andrew Tridgell
935165a8f8
AP_Notify: tidy up NCP5623 driver
7 years ago
caijie
a98d892dec
AP_Notify: Add RGB LED driver for NCP5623
7 years ago
Andrew Tridgell
301884f7a6
AP_RCProtocol: fixed coverity error in SUMD
...
CID308356
7 years ago
Andrew Tridgell
d1334fab73
AP_ROMFS: fixed error handling in tinflate
...
coverity CID308327
7 years ago
Michael du Breuil
4aff747b28
AP_RCProtocol: Fix out of bounds write, CID 308323 and 308333
7 years ago
Andrew Tridgell
3ed7c060df
AP_Compass: address review comments
7 years ago
Jonathan Challinger
cefd998177
AP_Compass: add expected DEV_ID parameters
7 years ago
Jonathan Challinger
878e84a015
AP_Compass: correct edge case where checks pass when saved dev_id != detected dev_id
7 years ago
Michael du Breuil
ee9cc28fda
AP_NavEKF2: Utilize the GPS drivers estimate for lag
7 years ago
Michael du Breuil
1a406dacfc
AP_GPS: Ensure a lag value is always provided
...
The value may not be the optimal value for the driver, but we should
always try to provide a value for the caller
7 years ago
Michael du Breuil
21dfe02c6e
GCS_MAVLink: always send an idea of battery voltage as part of
...
BATTERY_STATUS
7 years ago
Peter Barker
e4ff937c96
RC_Channel: remove min-max-configured pre-arm checks
...
These are really, really expensive to run while your RC isn't
configured.
We now have a split between inputs (RC) and servos (SRV), so these
aren't as critical as they were. We also have range checks to ensure
they're roughly good enough to fly with.
7 years ago
Peter Barker
eaefdcfac2
AP_Arming: remove min-max-configured pre-arm checks
7 years ago
Peter Barker
87e7cc7ef0
RC_Channels: zero all channels before populating
...
Fix for CID 308365
7 years ago
vierfuffzig
bc52d430f9
Chibios add bootloader for mini-pix
7 years ago
Andrew Tridgell
f0fba01138
AP_Stats: use set_and_save_ifchanged()
...
if the board has no GPS then the values usually don't change
7 years ago
Randy Mackay
1c18d06aa3
AR_AttitudeControl: move unnecessary else
7 years ago
Randy Mackay
9b60e0844b
AR_AttitudeControl: add get_desired_pitch accessor
7 years ago
Andrew Tridgell
846418e5e9
HAL_ChibiOS: raise timer thread priority
...
needs to be above main for guaranteed DShot and oneshot output periods
7 years ago
Randy Mackay
c88926f227
Compass: remove accumulate from example sketch
7 years ago
Randy Mackay
99b54935db
Compass: remove accumulate
...
this method is a noop on all backends
7 years ago
Peter Barker
f2b1387c1c
RC_Channel: add AUTOTUNE to init_aux_function routine
...
Also, cark it in SITL if we fail to initialise an aux function
7 years ago
Andrew Tridgell
53fbdc3750
AP_BLHeli: pass motor mask to serial_setup_output()
7 years ago
Andrew Tridgell
3df2a1c228
HAL_ChibiOS: fixed dshot bad frames
...
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
7 years ago
Andrew Tridgell
1fe6c7b497
AP_HAL: added chanmask to serial_setup_output()
7 years ago
Andrew Tridgell
946b4db0e6
HAL_ChibiOS: set min dshot separation to 100usec
...
this fixes a problem with BLHeli32 not recognising dshot
7 years ago
Andrew Tridgell
476a40c906
AP_BLHeli: improved reliability of pass-thru support
...
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
7 years ago
Andrew Tridgell
22ba9a0aea
HAL_ChibiOS: fixed timeout of serial read bytes
...
this allows for fast timeout of serial read bytes in BLHeli pass-thru
7 years ago
Andrew Tridgell
df643d8499
GCS_MAVLink: allow uninstall of alt protocol handler
7 years ago
Andrew Tridgell
769c99d4d7
AP_Baro: added register checking on BMP280
...
this follows a log which seems to show an in-flight register
corruption on a MatekF405
7 years ago
Lucas De Marchi
88df4d127e
AP_Common: remove ARRAY_SIZE_SIMPLE
...
Now this is basically ARRAY_SIZE, so remove it.
7 years ago
Lucas De Marchi
668c941717
Global: use new version of ARRAY_SIZE
7 years ago
Lucas De Marchi
57ee0e29f6
AP_Common: simplify ARRAY_SIZE
...
This rolls back to the simpler version of ARRAY_SIZE. The more complex
one helps catching bugs when we use pointers when we are expecting an
array, but can't stand arrays with 0 elements. I'm not aware of bugs it
actually caught on ArduPilot, although it did for me in other projects.
I think this is better than having a separate "_SIMPLE" version of the
macro and spread its usage... the trend is just to use the simpler
version anyway.
7 years ago
Peter Barker
049f61c943
AP_Camera: populate camera singleton
7 years ago
utkinpol
2912e732b4
HAL_ChibiOS: updated for KakuteF7
7 years ago
Andrew Tridgell
64c8ca514c
HAL_ChibiOS: fixed attach_interrupt check
...
we can't have two handlers on the same pad
7 years ago
Andrew Tridgell
4e6ac85057
HAL_ChibiOS: use 32 bit time intervals
...
this makes for smaller and faster code. We really don't need 64 bit
intervals as long sleeps are done with a loop.
7 years ago
Andrew Tridgell
1bd0ea079b
HAL_ChibiOS: fixed build on older compilers
...
allow build with gcc 4.9.x
7 years ago
Andrew Tridgell
7aba99e229
HAL_ChibiOS: fixes for ChibiOS version update
7 years ago
Andrew Tridgell
f8e2edbc7f
HAL_ChibiOS: fixed cache flush for updated ChibiOS version
7 years ago
Siddharth Purohit
2604b00b43
HAL_ChibiOS: use ch.h header for oslib api
7 years ago
Siddharth Purohit
ea709b9316
AP_Radio: move to using updated time conv API
7 years ago
Siddharth Purohit
9f5dbb74e7
AP_IOMCU: move to using updated time conv API
7 years ago
Siddharth Purohit
ff65487ab3
HAL_ChibiOS: follow updated gpio pin setup procedure
7 years ago
Siddharth Purohit
5f88163e17
HAL_ChibiOS: update configuration and rtlib headers for ChibiOS 18.x.x
7 years ago
Siddharth Purohit
395c48933c
HAL_ChibiOS: move tto using updated time conversion API
7 years ago
Siddharth Purohit
4e8d072d6d
HAL_ChibiOS: move to using recent pal driver api for GPIO IRQ events
7 years ago
Mark Whitehorn
86b7adf68f
AP_HAL_Chibios: fix fmuv3/hwdef.dat printf/STDOUT description and clean up
7 years ago