Peter Barker
c3414a5767
Tools: param_parse: move init of variable lower
4 years ago
Peter Barker
4c6b07e950
Tools: param_parse: remove support for Parameters.pde
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
Stavros Korokithakis
3c19579988
Plane: Push the TECS to climb in all circumstances
4 years ago
chobits
28fbc73fb6
Copter: fix build error when landinggear disabled
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
TunaLobster
1bda79dd72
ArduCopter: loosen motion based landing detection when WoW is present
4 years ago
TunaLobster
444b33b059
ArduCopter: add WoW to Copter landing check
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
Peter Barker
e7a9e0acb4
Copter: move brake state into a structure
4 years ago
Peter Barker
c350268918
autotest: correct compilation of Replay in autotest suite
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
Peter Barker
ea4bbcf6ee
autotest: add test for copter position reset
4 years ago
willpiper
94bdca7f6f
AP_HAL_ChibiOS: tidy up beastF7 DMA channels
4 years ago
Randy Mackay
ab2e429f32
Tools: Copter.fly_square descends more quickly
4 years ago
Randy Mackay
f341429977
Tools: Copter.RTLSpeed gets increased speed tolerance
4 years ago
Randy Mackay
c04f686ce7
Tools: extend copter NavDelay test by 80sec
...
s-curves slows missions slightly
4 years ago
Randy Mackay
224cd5a0d3
Sub: auto-yaw-correct-xtract uses target velocity instead of position error
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
4 years ago
Randy Mackay
afa59b9a60
Sub: integrate s-curves, remove spline support
4 years ago
Randy Mackay
ff8b69fbad
Plane: update tuning to integrate poscon changes
4 years ago
Randy Mackay
941cf6b293
Copter: integrate AC_WPNav::get_yaw_rate_cds rename
4 years ago
Randy Mackay
94d4e5912b
Copter: add comments to smartRTL
4 years ago
Randy Mackay
96267553cf
Copter: auto detects mission changes
4 years ago
Randy Mackay
238d102a56
Copter: auto's wp_start skips submode change on terrain failsafe
4 years ago
Leonard Hall
d981de1ff4
Copter: position control PID logging
4 years ago
Leonard Hall
a29e2d8920
Copter: fix references to position error
4 years ago
Randy Mackay
7c14f4de0d
Copter: rtl passes speed to wpnav::init
4 years ago