Peter Barker
9b9ec4db40
AP_HAL_Empty: attach_interrupt now takes a functor
...
AP_HAL_Empty: add type-safety for interrupt types
7 years ago
Peter Barker
5180e025bb
AP_HAL_SITL: attach_interrupt now takes a functor
...
AP_HAL_SITL: add type-safety for interrupt types
7 years ago
Peter Barker
a7b79f7693
AP_HAL_VRBrain: attach_interrupt now takes a functor
...
AP_HAL_VRBRAIN: add type-safety for interrupt types
7 years ago
Peter Barker
8d5a9ead48
AP_HAL_Linux: attach_interrupt now takes a functor
...
AP_HAL_Linux: add type-safety for interrupt types
7 years ago
Peter Barker
4767666a2d
AP_HAL_PX4: implement attach_interrupt
7 years ago
Peter Barker
74263f8412
AP_HAL: add attach_interrupt that takes a functor, not a AP_HAL::Proc
...
AP_HAL: add type-safety for interrupt types
AP_HAL: remove interrupt-low and interrupt-high, and interrupt-none
It is possible that the radio needs very tight timings - do not force
the use of the functor interface
AP_HAL: add detach_interrupt method
7 years ago
Peter Barker
c846a13d12
AP_HAL: functor: add != override
7 years ago
Peter Barker
a09154c45b
AP_WheelEncoder: correct check for wheelencoder-max-instances
7 years ago
Peter Barker
21201b8816
AP_WheelEncoder: do not permit copies
7 years ago
Peter Barker
45ac3e6bb2
AP_BoardConfig: correct grammar in @DisplayName
7 years ago
Randy Mackay
f536c53fa6
AP_MotorsMatrix: minor format fix
7 years ago
Michael du Breuil
588d1898cd
AP_ServoRelayEvents: More robust check if a channel is available
7 years ago
Peter Barker
df836ec70c
AP_Notify: tidy and remove code duplications
...
Saves 60 bytes, too
7 years ago
Peter Barker
6daa241235
DataFlash: add sanity check for WritePrioritisedBlock size
7 years ago
Peter Barker
32bc1860de
AP_Mission: starts_with_takeoff_cmd skips past mav_cmd_nav_delay
7 years ago
Peter Barker
9af11d79d1
AP_Mission: remove pointless else clauses
7 years ago
Andrew Tridgell
83f293305f
AP_OSD: raise thread stack size to 1024
...
based on testing in SITL
7 years ago
Andrew Tridgell
836176297d
HAL_SITL: added stack checking to SITL
7 years ago
Peter Barker
0a7399ae7d
AC_PrecLand: use AHRS singleton, remove pointless initialisations
7 years ago
Peter Barker
898a46fe0e
AP_Winch: undefine PASS_TO_BACKEND convenience function
7 years ago
Andrew Tridgell
60ec695f55
AP_TECS: set default pitch max to 15
7 years ago
Andrew Tridgell
7c57fb0c31
AP_L1_Control: lower default L1 period
7 years ago
Andrew Tridgell
9e2933df89
APM_Control: raised default PID gains for roll/pitch
7 years ago
Hwurzburg
53a28cdf18
AP_OSD: Adding efficiency and climb efficiency
...
and new font characters
7 years ago
Peter Barker
e4d3ed7e39
RC_Channel: move handling of sprayer and gripper in from Copter
7 years ago
Peter Barker
4223d933d2
AC_Sprayer: add singleton
7 years ago
Andrew Tridgell
5988c3258f
GCS_MAVLink: use Semaphore.h
7 years ago
Andrew Tridgell
5ac15714fd
AP_Common: moved WITH_SEMAPHORE to Semaphore.h
7 years ago
Andrew Tridgell
d3af854949
HAL_ChibiOS: fixed bootloader build
7 years ago
Andrew Tridgell
a26e534654
GCS_MAVLink: use WITH_SEMAPHORE()
...
this is a suggestion from Peter, will need some discussion
7 years ago
Andrew Tridgell
6f058e8c0d
AP_Common: added WithSemaphore class
7 years ago
Andrew Tridgell
048a52ebc0
GCS_MAVLink: make mavlink send from multiple threads safe
...
this takes a lock to prevent interleaving of mavlink msgs from
multiple threads
7 years ago
Andrew Tridgell
5de49aa5aa
GCS_MAVLink: flush parameters on reboot
7 years ago
Andrew Tridgell
f1e10b0a8f
HAL_Linux: make uart writes thread safe
7 years ago
Andrew Tridgell
b2b56c3e46
HAL_VRBRAIN: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
5d3b17db6b
HAL_SITL: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
fe93113240
HAL_PX4: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
f005e60066
HAL_Linux: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
dabdb969f6
HAL_ChibiOS: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
0a73c3492d
AP_HAL: support HAL_Semaphore type
7 years ago
Andrew Tridgell
4d662a913a
AP_Param: use background parameter save
...
this moves both the storage scan and the save code out of the main
thread and into the IO thread. It means that if we have more than 30
parameters saves in very rapid succession while armed that we can lose
parameter changes, but that is extremely unlikely.
This fixes an issue where parameter saves in flight can cause
considerable scheduling problems, sometimes several milliseconds
7 years ago
Hwurzburg
7c79175309
AP_OSD: add flytime item
7 years ago
Andrew Tridgell
a0ce604721
AP_Stats: make singleton and add flighttime accessor
7 years ago
Hwurzburg
5f72c9040e
AP_OSD: Adding flight distance and summary panels for OSD
7 years ago
Alexander Malishev
eec34fc47d
AP_OSD: add waypoint and xtrack_error items
7 years ago
vierfuffzig
aae1054a94
AP_OSD: add hdop display
7 years ago
Peter Barker
fa7ba7ddbc
DataFlash: force messagewriters to completion
...
Setting a dataflash-file buffer size of less than or equal to 2kiB would
cause the startup-messagewriter to never push any messages other than
FMT out to the logs.
This is a combination of the return values of
critical_message_reserved_space and
non_messagewriter_message_reserved_space
This patch forces the startup messages out to the logs by ignoring the
space constraints every 100ms
7 years ago
Peter Barker
fa5757f618
AP_Math: fix float-equals warnings
7 years ago
Alexander Malishev
05099b8b8b
HAL_ChibiOS: restore default dataflash buffer size
...
This fix log corruption in copter
7 years ago
Andrew Tridgell
71988b49a4
AP_RSSI: allow override of RSSI pin
7 years ago