Lucas De Marchi
4152b555fd
AP_HAL_Linux: replace kernel_cs with subdev
...
They are the same thing. Using both names however is confusing.
7 years ago
Andrew Tridgell
69c3aad418
mavlink: submodule update
7 years ago
cclauss
7291aa0d00
AP_OSD: Simplify with the code enumerate()
...
* Avoid hardcoding the path to the python executable on the shebang line
* Using __with open() as__ automates file close().
7 years ago
Peter Barker
a7042e3847
Tools: autotest: tweak output messages, loosen camera trigger timeout
7 years ago
Peter Barker
6e44ea13d4
Tools: autotest: do not arm vehicle before flaps test
7 years ago
Peter Barker
c0a990fda7
Sub: correct failsafe recovery test
7 years ago
Pierre Kancir
d8c53bbd9c
Tools: remove dependency on mavproxy for cmd_long based functions
7 years ago
Pierre Kancir
87a7fd0fbb
Tools: remove dependency on mavproxy for arming/disarm
7 years ago
Pierre Kancir
5b0ae42725
SITL: limit on_ground() check to militer accuracy to prevent bouncing
7 years ago
Peter Barker
0cf12ad47e
RC_Channel: add aux option to fly inverted for Plane
7 years ago
Peter Barker
b574f4c1fc
Plane: move support for inverted flight to rc-aux-switch
...
Functional change here; if someone de-configures the rc aux switch in
flight they will remain inverted
7 years ago
Andrew Tridgell
d79386d574
AP_Baro: use GND_EXT_BUS to allow a specific bus to be probed
7 years ago
Andrew Tridgell
dda8e7c35a
AP_Baro: probe both i2c buses on CubeBlack for barometers
7 years ago
Andrew Tridgell
eec3a2ab31
AP_HAL: added FOREACH_I2C_MASK() macro
7 years ago
Randy Mackay
af6e2d2c8c
AP_Baro: add PROBE_EXT param values
...
this makes it easier for users to select the external baro they want to use on GCSs that do not display the bitmasks
7 years ago
Randy Mackay
758331612f
AP_Baro: probe for MS5611 on I2C addr 0x76
7 years ago
Andrew Tridgell
3d42abe816
Tools: added speedybee bootloader
7 years ago
s0up
066cf90111
HAL_ChibiOS: Add speedybee hardware definition
7 years ago
Francisco Ferreira
5b383bae16
AP_HAL_Linux: force Thread stack to have minimum size
...
Check that Thread stack size is the minimum allowed
Also add 256k to HAL-independent request stack size
7 years ago
Pierre Kancir
e278a09668
Tools: don't use strict comparison for param fetch all to cope with TYPE one's
7 years ago
Peter Barker
5d317a8ef7
Tools: autotest: clear Rover waypoints before toggling them in
7 years ago
Paul Atkin
bb99165221
HAL_ChibiOS: updates for KakuteF7
...
fixed PWM and added full tonealarm support
7 years ago
Randy Mackay
fb3cb75777
Tracker: default BRD_SAFETYOPTION to allow disarming
7 years ago
Randy Mackay
02a2f32c40
Tracker: minor format fix
7 years ago
Randy Mackay
30bc86e4a0
Tracker: remove unnecessary return
7 years ago
Randy Mackay
3a2e015df9
Tracker: send sensor status in extended status msg to GCS
7 years ago
Randy Mackay
4a5c6fe1e5
Tracker: enable aux servos at init and at 1hz
7 years ago
Randy Mackay
c6d761c78f
Tracker: alphabetise method declarations
7 years ago
Randy Mackay
c8c5944b5f
Tracker: set version to 1.1.0-dev
7 years ago
Peter Barker
bd5cdf9e64
RC_Channel: update aux options for planes to include arm/disarm
7 years ago
Peter Barker
4ad1869f43
Plane: add arm/disarm on aux switch
7 years ago
Lucas De Marchi
93d99dacd1
AP_Compass: UAVCAN: remove additional semaphore
...
We already inherit from AP_Compass_Backend, so use the semaphore from
there to synchronize with the main thread, like the other backends.
7 years ago
Lucas De Marchi
cb10d1d27b
AP_Common: allow more than one WITH_SEMAPHORE per context
...
Let the variable have a random name since we are not going to reference
it. This allows more than one WITH_SEMAPHORE() per context and also to
avoid shadowing if we open inner contexts.
7 years ago
Lucas De Marchi
1715714488
AP_Common: make WithSemaphore use an AP_HAL::Semaphore reference
...
We don't need the specialized one inside WithSemaphore, so use the
abstract one which allows us to more easily convert between current API
and the HAL_Semaphore one.
While at it also remove additional pragma and allow constructor to
receive a pointer for convenience (we will just dereference it).
7 years ago
Lucas De Marchi
cd9b08dbae
AP_Compass: rename variable for more buses
...
"all_external" reflects better the fact that we can have more than 2
buses (and now we are using the foreach macro).
7 years ago
Lucas De Marchi
de535dc573
AP_Compass: remove unused external and name arguments
...
Aka "fix copy and pasta".
7 years ago
Lucas De Marchi
4039b51810
AP_Compass: stop passing frontend pointer
...
Let AP_Compass_Backend call AP::compass() *once* instead of passing
the frontend pointer over and over.
7 years ago
Lucas De Marchi
585b6dce0d
AP_Compass: support more external compasses on aerofc
...
Let it probe on external bus. Aerofc has an HMC5883 on internal bus, but
we don't want it enabled as it interferes with the internal baro. Also
the rotation for the compass that comes with Aero RTF is different from
the other that got added later. That means people would need to orient a
third party IST8310-based compass differently on Aero RTF than on other
boards... that's a problem of having orientation based on the chip that
can't be solved on this commit.
7 years ago
Andrew Tridgell
5de199bc01
AP_Baro: allow for external i2c baro on most boards
...
only disable on those with HAL_MINIMIZE_FEATURES enabled
7 years ago
Andrew Tridgell
a9e29f7556
HAL_ChibiOS: added pullup/pulldown support on GPIO
...
using the convention of write() on an input pin to set pullup/pulldown
7 years ago
liang.tang
7885b267f0
AP_GPS: fix UAVCAN gps message handlers
7 years ago
liang.tang
2c0b9a16a5
AP_Compass: fix UAVCAN mag message handlers
7 years ago
liang.tang
bcaa4901ed
AP_UAVCAN: subscribe airspeed message
7 years ago
liang.tang
653766c4cc
AP_Airspeed: uavcan airspeed supported
7 years ago
Peter Barker
56646651c6
Tools: autotest: add test for RCn_OPTION - camera trigger
7 years ago
Peter Barker
f47823f4e4
Tools: autotest: add test for RCn_OPTION - toggling relays
7 years ago
Peter Barker
10d7cc6bf4
RC_Channel: add Plane support for channel options
7 years ago
Peter Barker
901664ce09
Plane: add support for RCn_OPTION (servorelay,camera)
...
Closes #7071
Closes #7666
7 years ago
Peter Barker
450052aa80
Copter: rewrite read_radio for clarity
7 years ago
Peter Barker
a30cdf6806
Copter: eliminate failsafe.rc_override_active
...
Use RC_Channels::has_active_overrides() instead
7 years ago