Pierre Kancir
3ab635f100
AP_Gripper: use gripper_sim feedback
7 years ago
Pierre Kancir
a5e2f96a59
SITL: Better gripper sim options
7 years ago
Peter Barker
f258a25138
AP_Arming: remove double PreArm: in battery prearm report
...
Also use check_failed throughout
7 years ago
Randy Mackay
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
7 years ago
Randy Mackay
f85e84cc89
AP_Motors: add override keyword to get_motor_mask
7 years ago
pierre-louis.k
e62ed19759
AP_RangeFinder: Remove range enforcement on out of range
7 years ago
pierre-louis.k
5577b8b33c
AP_RangeFinder: Rework function structure in TeraRanger driver
7 years ago
pierre-louis.k
b6f1647c31
AP_RangeFinder: Rename function in TeraRanger driver
7 years ago
pierre-louis.k
1b990c116d
AP_RangeFinder: Give back semaphore on whoami error
7 years ago
pierre-louis.k
4d45b68fa3
AP_RangeFinder: Clean TeraRanger driver
7 years ago
pierre-louis.k
d162afb790
AP_RangeFinder: Add error codes rejection for TeraRanger sensors
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
c9bbc2773d
AP_ADSB: Add valid parameter range to squawk codes
7 years ago
Andrew Tridgell
33076be585
HAL_ChibiOS: fixed handling of 16 bit timers
...
when we have a 16 bit timer then systime_t is 16 bit, and we need to
handle wrap of get_systime_us32()
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
b9df513705
GCS_MAVLink: remove redundant ret = true statements (NFC)
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
9c97f35b19
AP_GPS: Use GPS_AUTO_SWITCH parameter to choose exacly which GPS to use
7 years ago
Andrew Tridgell
1762a2708c
AP_Notify: removed unused hal variable
7 years ago
Andrew Tridgell
0289ad03df
AP_Mission: added semaphore for thread access
7 years ago
Andrew Tridgell
935c9167ab
AP_Avoidance: added semaphore
7 years ago
Andrew Tridgell
9897bf6127
AP_AHRS: support locked access to AHRS data
7 years ago
Andrew Tridgell
0aeceb22d9
AP_Common: added #pragma once to Semaphores.h
7 years ago
Andrew Tridgell
dc20e2baed
HAL_ChibiOS: support recursive semaphores
7 years ago
Andrew Tridgell
edeab9d152
HAL_SITL: support HAL_Semaphore_Recursive
7 years ago
Andrew Tridgell
1397c85f8e
HAL_PX4: added Semaphore_Recursive
7 years ago
Andrew Tridgell
b347027e13
HAL_Linux: added Semaphore_Recursive
7 years ago
Andrew Tridgell
55dfefb2d6
AP_HAL: added HAL_Semaphore_Recursive
7 years ago
Patrick José Pereira
ab31fcb8f4
AP_HAL_SITL: Makes scheduler compile under Mac OS
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
pierre-louis.k
bf274cd9db
AP_Proximity: Change min and max range to support both 60m and 600Hz
7 years ago
Mateusz Sadowski
08332102fe
AP_Proximity: Fix sensor order on TeraRanger Tower Evo
7 years ago
Mateusz Sadowski
4b8b8347f2
AP_Proximity: Correctly handle TeraRanger Tower Evo initialization
7 years ago
Mateusz Sadowski
f1b550647d
AP_Proximity: Change TeraRanger Tower Evo sequence mode to Tower
7 years ago
Mateusz Sadowski
2ca567f409
AP_Proximity: Add support for TeraRanger Tower Evo
7 years ago
Andrew Tridgell
db9a8f16ed
HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix
7 years ago
Andrew Tridgell
3fd25ad548
AP_Baro: added HAL_BARO_ALLOW_INIT_NO_BARO
7 years ago
Andrew Tridgell
5526dac4fc
HAL_ChibiOS: probe all i2c baros for revo-mini
...
this ensures we build this functionality in CI
7 years ago
Andrew Tridgell
1439b1a730
AP_Baro: added option to probe any i2c baro using GND_PROBE_EXT
...
This adds a hwdef.dat define HAL_PROBE_EXTERNAL_I2C_BAROS. When set,
we get a new parameter GND_PROBE_EXT that is a bitmask of i2c
barometers to look for.
This allows boards that have no builtin baro to work without
rebuilding
7 years ago
Andrew Tridgell
f937589810
AP_Baro: fixed BMP085 probe
7 years ago
Michael du Breuil
8850e4b9a1
SRV_Channel: Remove the trim_all interface, constrain failsafes to non motor outputs
7 years ago
Andrew Tridgell
912e4f16ec
AP_Common: added #pragma once
7 years ago
Andrew Tridgell
b2cc992e0c
AP_Baro: convert to use WITH_SEMAPHORE()
7 years ago
Peter Barker
3251e43f03
AP_Radio: adjust for namespacing of interrupt names
7 years ago
Peter Barker
d9f393f42e
AP_RSSI: convert to HAL attach_interrupt
...
AP_RSSI: add error reporting for attaching of interrupts
AP_RSSI: use detach_interrupt method
7 years ago
Peter Barker
f2b8c9e501
RC_Channel: improve debug when failing to initialise RC channel
7 years ago
Peter Barker
2209e4a697
AP_HAL_ChibiOS: new HAL functor-based methods
...
AP_HAL_ChibiOS: adjust for irq-type enumeration change
AP_HAL_ChibiOS: implement attach-AP_HAL::Proc to interrupt interface
7 years ago
Peter Barker
d366842d15
AP_WheelEncoder: move to using HAL's attach_interrupt methods
...
AP_WheelEncoder: add error reporting for attaching of interrupts
AP_WheelEncoder: use detach_interrupt method
AP_WheelEncoder: correct initialisation of wheelencoder instances
AP_WheelEncoder: make update_phase_and_error_count non-static
AP_WheelEncoder: use (uint8_t)-1 in place of 255
7 years ago
Peter Barker
20027bad17
AP_RPM: attach_interrupt now takes a functor
...
AP_RPM: move PX4 IRQ handling into AP_HAL_PX4
AP_RPM: correct RPM sensor initialisation
The initialisation code used the type from the wrong configuration
parameters (if the first rpm sensor wasn't configured then the sensing
for the second sensor would use the type from the first).
The packing of drivers[...] was done in a non-sparse manner - i.e. if a
sensor wasn't detected then it would not take up space in the array.
The PX4 PWM backend relies on the instance number (offset in the drivers
array) corresponding to the parameters, so making this sparse is
required.
The main detection block fills in drivers based on the number of
instances detected so far, but the nullptr check checks based on the
number of detected backends. If the second instance wasn't configured we
wouldn't attempt to configure a third.
AP_RPM: add error reporting for attaching of interrupts
AP_RPM: use detach_interrupt method
AP_RPM: use (uint8_t)-1 in place of 255
7 years ago
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