Andrew Tridgell
4e6ac85057
HAL_ChibiOS: use 32 bit time intervals
...
this makes for smaller and faster code. We really don't need 64 bit
intervals as long sleeps are done with a loop.
7 years ago
Andrew Tridgell
1bd0ea079b
HAL_ChibiOS: fixed build on older compilers
...
allow build with gcc 4.9.x
7 years ago
Andrew Tridgell
7aba99e229
HAL_ChibiOS: fixes for ChibiOS version update
7 years ago
Andrew Tridgell
f8e2edbc7f
HAL_ChibiOS: fixed cache flush for updated ChibiOS version
7 years ago
Siddharth Purohit
2604b00b43
HAL_ChibiOS: use ch.h header for oslib api
7 years ago
Siddharth Purohit
ea709b9316
AP_Radio: move to using updated time conv API
7 years ago
Siddharth Purohit
9f5dbb74e7
AP_IOMCU: move to using updated time conv API
7 years ago
Siddharth Purohit
ff65487ab3
HAL_ChibiOS: follow updated gpio pin setup procedure
7 years ago
Siddharth Purohit
5f88163e17
HAL_ChibiOS: update configuration and rtlib headers for ChibiOS 18.x.x
7 years ago
Siddharth Purohit
395c48933c
HAL_ChibiOS: move tto using updated time conversion API
7 years ago
Siddharth Purohit
4e8d072d6d
HAL_ChibiOS: move to using recent pal driver api for GPIO IRQ events
7 years ago
Mark Whitehorn
86b7adf68f
AP_HAL_Chibios: fix fmuv3/hwdef.dat printf/STDOUT description and clean up
7 years ago
Peter Barker
aa4cf5b40e
SRV_Channel: use method to get rc channels
7 years ago
Peter Barker
ff36eb3aca
RC_Channel: remove old members objects
7 years ago
Matt
15823d9e97
AP_LANDING_GEAR: Remove deploy lock
...
Since the RC switches only respond to changes, there is no longer a need
for this lock state. The gear can be retracted or deployed by RC switch,
flight mode, or mavlink command freely without convoluted unlocking
methods. Also removed use of this in the associated Copter code.
7 years ago
Lucas De Marchi
73f8dd98f2
AP_BoardConfig: kill AP_FEATURE_SAFETY_BUTTON
...
This is redundant and can be just HAL_HAVE_SAFETY_SWITCH.
7 years ago
Lucas De Marchi
259195a7c7
AP_BoardConfig: fix handling of AP_FEATURE_SAFETY_BUTTON
...
Not all PX4-based board have a safety button. Rely on
HAL_HAVE_SAFETY_SWITCH instead of ifdef'ing each of them.
This allows to build for aerofc-v1 without safety button.
7 years ago
Lucas De Marchi
000ae3cb85
AP_BoardConfig: add default for BOARD_SAFETY_ENABLE
...
If HAL supports safety button but the board didn't declare a default,
define one to match what is done with BOARD_SAFETY_OPTION_DEFAULT.
7 years ago
Lucas De Marchi
099eefee87
AP_HAL: Chibios: HAL_GPIO_PIN_SAFETY_IN implies HAL_HAVE_SAFETY_SWITCH
7 years ago
Lucas De Marchi
20778f73f1
AP_HAL_ChibiOS: define HAL_HAVE_SAFETY_SWITCH accordingly
7 years ago
Lucas De Marchi
8e3777a163
AP_HAL_PX4: RCOutput: honour HAL_HAVE_SAFETY_SWITCH
7 years ago
Lucas De Marchi
7f984f2700
AP_HAL: linux: disable safety switch
...
Linux boards don't really handle the safety switch.
7 years ago
Lucas De Marchi
2336d2214b
AP_HAL: sitl: disable safety switch
...
sitl doesn't really handle the safety switch and it's actually disabled
by AP_FEATURE_SAFETY_BUTTON.
7 years ago
Andrew Tridgell
13f96bcb00
HAL_ChibiOS: fixed an i2c dma callback bug
...
many thanks to Kelly-Foster for chasing me on this one!
7 years ago
Andrew Tridgell
b0badf8caf
HAL_ChibiOS: fixes for F745 builds
7 years ago
Lucas De Marchi
0606b00f15
AP_BoardConfig: don't try to set pwm mode for aerofc-v1
...
We don't have that in aerofc, so don't try to initialize it and fail
with following error messages:
RCOutput: unable to setup AUX PWM with BRD_PWM_COUNT 0
7 years ago
Randy Mackay
9799567416
AP_Follow: fixup offset initialisation
7 years ago
hoangthien94
f4255712c1
AP_Follow: Initialize offsets based on offset type
7 years ago
Peter Barker
5df70cf93a
RC_Channel: update examples for new rc() method
7 years ago
Peter Barker
e2b31a535c
AC_PID: update example for new rc() method
7 years ago
Peter Barker
0f084ed5bf
RC_Channel: add compatability static functions
...
Just to avoid churn in Sub, Plane and Tracker
7 years ago
Peter Barker
c1a1f4f970
SRV_Channel: use rc() method to get rc singleton
7 years ago
Peter Barker
dbccd6a399
GCS_MAVLink: use rc() method to get rc singleton
7 years ago
Peter Barker
f4c93dc697
DataFlash: use rc() method to get rc singleton
7 years ago
Peter Barker
c209152d13
AP_Tuning: use rc() method to get rc singleton
7 years ago
Peter Barker
497746c3d0
AP_RSSI: use rc() method to get rc singleton
7 years ago
Peter Barker
2489234fcf
AP_Mount: use rc() method to get rc singleton
7 years ago
Peter Barker
80a4083fc7
AP_ICEngine: use rc() method to get rc singleton
7 years ago
Peter Barker
1eacd685e3
AP_Arming: use rc() method to get rc singleton
7 years ago
Peter Barker
747fc3814d
RC_Channel: rename in_rc_failsafe to has_valid_input
7 years ago
Peter Barker
61c34ea98c
RC_Channel: move handling of auxillary switches into RC_Channel
...
RC_Channel: move handling of Rover's functions into RC_Channel
RC_Channel: move auxsw handling for camera to base RC_Channel
RC_Channel: add responsibility for servorelay events
RC_Channel: move mode switch handling to base class
7 years ago
Peter Barker
007434cdac
AC_Sprayer: move Copter CHn_OPT to RC_Channel RCn_OPTION
7 years ago
Peter Barker
fb786b8d56
AP_Camera: add singleton
7 years ago
Andrew Tridgell
44fd85ff29
HAL_ChibiOS: reduce memory used by serial buffers
...
this does not appear to affect log download speed. It saves about 27k
of memory
7 years ago
Peter Barker
ce62b2303a
DataFlash: add ability to log-disarmed
7 years ago
Michael du Breuil
1e699a53f6
AP_Landing: Fix misspelling in deepstall docs
7 years ago
Michael du Breuil
8357b31e57
AP_Relay: Remove APM doc references
7 years ago
Michael du Breuil
f0a4059d73
AP_Rangefinder: Remove APM doc references
7 years ago
Michael du Breuil
2134373646
AP_RSSI: Remove APM doc references
7 years ago
Michael du Breuil
e82663baf2
AP_BattMonitor: Remove APM doc references
7 years ago