Siddharth Purohit
78ce5a3f70
HAL_Empty: fix ambiguity of UARTDriver with the one defined in ChibiOS
6 years ago
Siddharth Purohit
2341719929
AP_HAL_Empty: do not use ch as its used by ChibiOS globally
6 years ago
Siddharth Purohit
9a2eea9769
AP_HAL: disable float print methods for non FPU controllers
6 years ago
Siddharth Purohit
5e4f76886a
AP_HAL: add chibios hal header to use uC specific defines
6 years ago
Siddharth Purohit
c546bec999
AP_HAL: do not use ch for channel, its used as a global var under ChibiOS
6 years ago
Siddharth Purohit
4608e90913
IOMCU: add application for ioboard firmware
6 years ago
Andrew Tridgell
340f1b43e6
HAL_ChibiOS: fixed RSSI voltage from IOMCU
6 years ago
Leonard Hall
34c0656675
AC_AttitudeControl: Add missing variable initalisations
6 years ago
Leonard Hall
8c6a24450a
AC_PID: Fix D term initialisation
6 years ago
Andrew Tridgell
de02cb9c8b
AP_AHRS: fixed synthetic airspeed to be along +ve X axis
...
this prevents us from thinking we have +ve airspeed when flying
backwards with no pitot tube
6 years ago
Michael du Breuil
eb1f3b205f
AC_AttitudeControl: Use reset_rate_controller_I_terms() helper
7 years ago
Andrew Tridgell
3ab7fe348a
APM_Control: halve the default pitch D term for planes
...
this is based on feedback from the 3.9.1 release
7 years ago
Andrew Tridgell
8c33b4b97d
HAL_ChibiOS: implement set_failsafe_pwm()
7 years ago
Andrew Tridgell
4314d0ea12
SRV_Channel: handle reversed channels in limit PWMs
7 years ago
Andrew Tridgell
f22d5f0d40
AP_IOMCU: implement failsafe PWM
7 years ago
Leonard Hall
b15b5516cb
AC_PosControl: Fix divide by zero check in limit_vector_length
7 years ago
Leonard Hall
706ff85be7
AC_AttitudeControl: Add minimum angle limit for get_althold_lean_angle_max
7 years ago
Andrew Tridgell
490d6eea20
HAL_ChibiOS: fixed ADC bug
...
this caused bad analog readings when the number of channels being read
was more than the number of hw channels
thanks to @vierfuffzig for reporting!
7 years ago
Andrew Tridgell
1e0ca409d1
AP_OSD: check we have an airspeed object
7 years ago
vierfuffzig
2936f24814
AP_OSD: battery support improvements
...
adds airpseed temperatur item
adds secondary batt instance items
switches used capacities to Ah above 9999 mAh
volt / amp / distance symbols reworked and realigned to specific font styles
7 years ago
Andrew Tridgell
d98110084d
AP_OSD: updated fonts for new OSD items
7 years ago
Randy Mackay
7a7533724a
AP_Arming: rename rudder_arming to get_rudder_arming_type
7 years ago
Randy Mackay
f039c6d5f4
AP_Arming: minor format fix
7 years ago
Randy Mackay
ba2b9f3d47
AP_Arming: add RUDDER parameter
7 years ago
Ammarf
2beb3a278a
RC_Channel: add simple mode to aux functions
7 years ago
vierfuffzig
395820096a
AP_OSD add external baro temperature item
7 years ago
Randy Mackay
d7d6c6ab04
AR_AttitudeControl: clarify units of get_steering_out_heading argument
...
also update comments
7 years ago
Michael du Breuil
20c56f3e06
RC_Channel: Add an accessor for a channels range and type
7 years ago
Peter Barker
be9235a581
AP_NavEKF3: fix writeOptFlowMeas signature
...
const some of the vectors, stop taking references to scalars that aren't
being changed
7 years ago
Peter Barker
d8aa8d2b71
AP_NavEKF2: fix writeOptFlowMeas signature
...
const some of the vectors, stop taking references to scalars that aren't
being changed
7 years ago
Peter Barker
306a40bb77
AP_AHRS: fix writeOptFlowMeas signature
...
const some of the vectors, stop taking references to scalars that aren't
being changed
7 years ago
Michael du Breuil
7db5daadad
AP_Mission: If a command fails to start immediately cycle to the next
7 years ago
Lucas De Marchi
ad8ab97725
AP_HAL_Linux: SPIDevice: compile out debug stuff
...
This should at most be behind a flag. If the device is being used by
other process/drivers, it's a problem with that specific user/distro:
don't penalize everybody else. Besides, changing the mode is not atomic
and nothing guarantees the other side doesn't get scheduled and change
it back before we get to run.
7 years ago
Lucas De Marchi
2c6dd64c67
AP_HAL_Linux: create one thread per spi bus rather than device
...
Do not create one thread per chardev (i.e. bus + kernel's chip select).
Since the shared resources are actually the bus controller and the bus
lines, it makes sense to have 1 thread per bus, otherwise it will just
get locked again on the mutex in the kernel side.
7 years ago
Lucas De Marchi
cf4fb09881
AP_HAL_Linux: Remove hole from SPIBus
...
Also handle a few coding style bikesheds.
7 years ago
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
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
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
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
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
Paul Atkin
bb99165221
HAL_ChibiOS: updates for KakuteF7
...
fixed PWM and added full tonealarm support
7 years ago
Peter Barker
bd5cdf9e64
RC_Channel: update aux options for planes to include arm/disarm
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