Jacob Walser
f7da853adb
AP_HAL: update hardware definitions for navigator r3
4 years ago
Jacob Walser
397def7b9e
AP_LeakDetector: update leak pin for navigator r3
4 years ago
Jacob Walser
5537f5564c
AP_HAL: update imu hardware for navigator r3
4 years ago
Jacob Walser
3a433cd71e
AP_HAL: update pwm hardware for navigator r3
4 years ago
Jacob Walser
421638453f
AP_HAL: update Notify LED hardware for navigator r3
4 years ago
MHefny
6bbfdbaf6a
AP_HAL_LINUX:fix missing setting physical address
4 years ago
MHefny
30382740d2
AP_HAL_Linux:fix code style
4 years ago
MHefny
8767112a77
AP_HAL_LINUX:remove duplicates and fix _version
4 years ago
MHefny
c57764e9b4
linux: RCInput_RPI RPI-4 Support
4 years ago
Andrew Tridgell
7b9826cdce
SITL: change for AP::terrain as a pointer
4 years ago
Andrew Tridgell
483ed19662
AP_OSD: change for AP::terrain as a pointer
4 years ago
Andrew Tridgell
d3e3e58466
AP_Frsky_Telem: change for AP::terrain as a pointer
4 years ago
Andrew Tridgell
5e820b203b
Ap_Terrain: make AP::terrain return a pointer
...
this is needed for rover and OSD support
4 years ago
Peter Barker
9471d8069c
GCS_MAVLink: move handling of last-seen-SYSID_MYGCS up to GCS base class
4 years ago
Peter Barker
5d686b9cb1
AP_AdvancedFailsafe: move handling of last-seen-SYSID_MYGCS up to GCS base class
4 years ago
anbello
77998fb5ba
revo-mini bdshot
4 years ago
anbello
dcb90c7bdb
revo-mini ext i2c
4 years ago
Andy Piper
be39e1f297
AP_HAL_ChibiOS: correct current scale for BeastH7 and BeastF7
4 years ago
Andy Piper
aa0ec0f091
AP_HAL_ChibiOS: optimize BeastH7 compilation
4 years ago
Iampete1
ec90ab13f4
AP_HAL_ChibiOS: RCOutput: print DMA alocation errors
4 years ago
Iampete1
15509f314c
AP_HAL_ChibiOS: RCOuput: LED setup re-work
4 years ago
Andrew Tridgell
61c829d624
HAL_ChibiOS: only use SRAM4 for DMA for now
...
we can enable others when we have an allocation interface that
specifies the peripheral type
4 years ago
Iampete1
2377d33417
AP_HAL_ChibiOS: H7 set SRAM4 to no cache and allow DMA
4 years ago
Jacob Walser
8defcb9169
AP_Compass: add memsic MMC5883 driver
4 years ago
Andrew Tridgell
4cddb12508
HAL_ChibiOS: fixed DMA sent calculation on UART DMA timeout
4 years ago
Andy Piper
b3dbc21fa7
AP_HAL_ChibiOS: KakuteF7 bdshot configuration, tested by yaapu
4 years ago
Iampete1
79a6c5d2d5
SITL: Examples: JSON: MATLAB: add legacy Simulink files for 2018b
4 years ago
Michael du Breuil
bde695d11f
AP_Notify: UAVCAN_RGB_LED: don't init if no UAVCAN backends
...
This allows us to consider enabling UAVCAN_RGB_LED as a more general
default, as it won't consume one of our limited backend slots if UAVCAN
is not enabled.
4 years ago
PYBrulin
240bfeb6bd
AP_RangeFinder: TeraRangerI2C added case of out of range measurement
4 years ago
PYBrulin
afe9573900
AP_RangeFinder: TeraRangerI2C redefining the output distance logic with OutOfRange cases
4 years ago
Andrew Tridgell
c886fd7025
AP_Logger: make log file erase async
...
this prevents clagging up the main loop on a big erase. With an erase
of large enough files we could trigger a disarmed watchdog.
4 years ago
Andy Piper
721850d00a
AP_HAL_ChibiOS: fix dshot150.
4 years ago
Andy Piper
f6b1e15b0e
AP_HAL_ChibiOS: optimize bdshot ISRs
4 years ago
Andy Piper
cb3b37d181
AP_HAL_ChibiOS: ensure that non-dshot modes get regular 1Khz updates
4 years ago
Andy Piper
ea3291520c
AP_HAL_ChibiOS: add fast cycle calibration step
4 years ago
Andy Piper
74d4af9ac9
AP_HAL_ChibiOS: reset bdshot IC correctly
...
don't allow dshot rates below 800Hz.
set pin speed to MID1 to avoid glitching
don't run receive pulses on a timer
4 years ago
Andy Piper
477ff72214
AP_HAL_ChibiOS: allow dshot rate to be set so as to both regularize the output as well as
...
allow faster rates synchronized to the loop rate
synchronize 1Khz and use Betaflight definition for prescaler
adjust dshot bitrates
don't allocate IC DMA if already allocated
cancel DMA pulses correctly
try really hard to align pulses with push() by making each dshot pulse event driven
4 years ago
Andy Piper
9a870e4d75
SRV_Channel: add SERVO_DSHOT_RATE and propagate to rcout
4 years ago
Andy Piper
9ac8e2b705
AP_Vehicle: addlow SRV_Channels to be initialized
4 years ago
Andy Piper
f29dba2ddd
AP_HAL: add set_dshot_rate()
4 years ago
Peter Barker
749d4c997b
AP_Vehicle: ensure reboot command ACK is written out in SITL
4 years ago
Peter Barker
5ebe505f2c
AP_HAL_SITL: ensure reboot command ACK is written out in SITL
4 years ago
Jacob Walser
d91fd8b006
AP_Notify: add driver for LED on Blue Robotics Navigator board
4 years ago
Peter Barker
1a2b960b0d
GCS_MAVLink: prune old statustexts from queue
4 years ago
Peter Barker
4027ed6070
GCS_MAVLink: make servicing statustext more efficient
...
We should only need to do a single PAYLOAD_SIZE check for each mavlink
backend now.
- stop iterating over all channels, only do instantiated mavlink
backends
- if we don't have space for a statustext on a channel, break
immediately and don't do remaining texts
- resposibility is now on the GCS_MAVLINK backend for sending texts
- that's a timing change
- only iterate over entries actually in the queue rather than maximum
queue size
- it's likely to be the full length anyway as we don't expire things
from the queue and most setups will have full channels
4 years ago
Rishabh
5e5ca6e02a
AP_Proximity: Check for stray faces and add new param for filter cut off freq
4 years ago
Rishabh
e31ea2f3ee
AC_Avoid: Change parameter defaults
4 years ago
Rishabh
1dc67fb932
AP_Proximity: Change parameter defaults
4 years ago
Andrew Tridgell
45477f6063
HAL_ChibiOS: fixed default MSP port for f405-MatekGPS
4 years ago
Andrew Tridgell
ca948171fe
HAL_ChibiOS: fixed ADC error on revXY STM32H7 boards
...
with the new ChibiOS revision we were configuring for newer revisions
of the H7, which meant that we changed the ADC config. This broke ADC
readings on revX and revY H7 MCUs.
This PR fixes it in two ways:
1) change ChibiOS config to assume XY config chips
2) use 16 bit ADC for H7, which means the chip rev doesn't matter,
and also gives us 16x the resolution for ADC readinga, so we can
read smaller voltage and current values
4 years ago