Lorenz Meier
d21023c966
FMU: Power on radio if prsent
2016-08-12 13:55:16 +02:00
Lorenz Meier
c3022bf713
FMU: Accomodate serial only RC input
2016-08-12 13:55:16 +02:00
Julian Oes
ccea9c9e6f
fmu: flash safety button correctly even disabled ( #5189 )
...
If the circuit breaker to disable IO safety is engaged, the safety
button should still blink in the appropriate pattern: double flash for
safety off, solid on for armed.
2016-08-01 02:18:36 -07:00
Julian Oes
a71cfe92f1
fmu: whitespace fix
2016-07-28 08:49:22 +02:00
Julian Oes
664092b7d4
fmu: support ESC calibration
...
The FMU was lacking support to do the ESC calibration. This is needed
for Pixracer.
2016-07-28 08:49:22 +02:00
Julian Oes
3289e0cee6
fmu: don't disarm with disarmed set
...
If disarmed PWM values have been set, we can't accept a disarm command.
If we did, the PWM output stop alltogether after the high pulse of the
ESC calibration.
2016-07-28 08:49:22 +02:00
Julian Oes
d63870ad71
fmu: don' de-initialize
...
Once the PWM outputs are initialized, there is no point in
de-initializing them again.
2016-07-28 08:49:22 +02:00
Mark Whitehorn
981353f439
fix bug in RC scan for SUMD input
2016-07-16 16:35:03 +01:00
Lorenz Meier
acc8acd059
FMU driver: Fix typo
2016-06-26 22:27:45 +02:00
Mark Whitehorn
40a7bd009f
implement Spektrum bind function for Pixracer R14 ( #4887 )
2016-06-23 23:27:51 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Andrew Tridgell
f38b1bf160
px4fmu: allow for GPIO_SET_OUTPUT with initial value
...
this is needed to prevent inadvertent camera trigger when setting up a
port
2016-05-22 13:09:55 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Daniel Agar
7aa6e85563
enable Wshadow
2016-05-05 13:32:42 +02:00
Lorenz Meier
6b756ca95a
FMU driver: Do not fake RSSI values, but report that we have no proper RSSI available
2016-05-01 16:55:42 +02:00
Lorenz Meier
887dfd1ec4
Fix RSSI lower bound
2016-05-01 16:42:30 +02:00
Lorenz Meier
4ec4deabbd
FMU driver: Make auto-detection of analog RSSI more stable
2016-05-01 16:36:15 +02:00
Lorenz Meier
34081c1d3c
FMU: Fix rc lost flag handing
2016-05-01 16:24:33 +02:00
Lorenz Meier
bdd2070dd7
FMU driver: Report RSSI for RC
...
Move RSSI sampling into FMU driver from sensors
2016-05-01 15:48:50 +02:00
Andrew Tridgell
6552f925f8
px4fmu: allow control of safety state on FMUv4
...
allows for MAVLink control of safety state
2016-04-25 17:25:47 +02:00
Andrew Tridgell
cc0fbdd549
px4fmu: added SET_MODE ioctl
...
this gives control over timer capture driver
2016-04-18 11:45:44 +02:00
Andrew Tridgell
05790ff540
px4fmu: prevent checking of safety switch parameter in main loop
2016-04-18 11:41:01 +02:00
Andrew Tridgell
5928569321
px4fmu: fixed signed/unsigned comparison
2016-04-18 11:39:06 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Felix Hu
bd580e09bf
supports MindPXv2 borad which is a product from AirMind.
2016-03-30 19:45:39 +02:00
Daniel Agar
70a68def83
params correct boolean tag
2016-03-25 20:25:17 -04:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Mark Whitehorn
c37cf7abd4
remove broken configgpio call; tested OK on R14
2016-03-21 22:01:20 +01:00
Mark Whitehorn
192c2a32c8
unconfigure GPIO_PPM_IN before reconfiguring
2016-03-21 22:01:20 +01:00
Andreas Antener
a1f4ab21bf
fixed code style
2016-03-20 14:48:47 +01:00
Andreas Antener
6782bdaf69
prevent alternate flight control group (1) throttle from being active when safety is disabled
2016-03-20 11:19:23 +01:00
Daniel Agar
7a051cbd8f
px4fmu param @unit take 2
2016-03-14 09:12:34 +01:00
Daniel Agar
f557f1565f
px4fmu param @unit
2016-03-14 09:10:29 +01:00
Lorenz Meier
2184dc16d4
FMU driver: Allow i2c config without FMU instance
2016-03-13 17:59:19 +01:00
David Sidrane
f0b770a3ce
Use correct CS defines to disable chip selects
...
Repair one more cut and past mistake I made.
https://github.com/dipspb/PX4Firmware/blob/px4-master-sensor_reset_fix/src/drivers/px4fmu/fmu.cpp#L2167-L2170
Should not have OFF
2016-03-06 18:04:25 +01:00
Dmitry Prokhorov
6f2a4f3d82
Fix sensor_reset method for PX4FMU_V4
2016-03-04 14:19:03 +03:00
Mark Whitehorn
fcfe64ee5a
enable disarmed PWM and rework safety switch disable logic
2016-02-29 12:29:30 -07:00
Mark Whitehorn
29b0520263
enable PWM with safety switch off
2016-02-29 12:29:30 -07:00
Lorenz Meier
ba79b32b30
Fix FMU output on non-Pixracer boards
2016-02-28 12:11:47 +01:00
Mark Whitehorn
04a9eada1e
disable safety switch if CBRK_IO_SAFETY is on
2016-02-27 11:25:56 +01:00
Mark Whitehorn
beb9707933
fix fmuv1 compile error
2016-02-27 11:25:56 +01:00
Mark Whitehorn
426903c617
run astyle
2016-02-27 11:25:56 +01:00
Mark Whitehorn
b6231c718b
reduce safety switch sampling to ~10Hz and clean up
2016-02-27 11:25:56 +01:00
Mark Whitehorn
ef2a7bda53
add fmuv4 safety switch handling
2016-02-27 11:25:56 +01:00
Lorenz Meier
3854eae3ec
FMU: Send disarmed pulse if in lockdown
2016-02-23 13:09:06 +01:00
Lorenz Meier
8007a84ab3
FMU: Ensure an all-low output set on boot with direct start of the PWM sequence
2016-02-18 19:01:44 +01:00
Mark Whitehorn
de39b63402
fix bug in rssi assignment
2016-02-10 09:21:52 +01:00
Mark Whitehorn
47337eb4a5
add parsing of host frames for D type telemetry
2016-02-10 09:21:52 +01:00
David Sidrane
0d13c41108
Ran Astyle
2016-02-01 10:10:35 +01:00
David Sidrane
8268161b18
Fmu interface to Capture
2016-02-01 10:10:35 +01:00