Paul Riseborough
da6d4398e9
px4fmu: publish mixer saturation data to uORB
2016-12-13 16:14:15 +01:00
Mark Whitehorn
f0b41a0e52
change main trims to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
dbc149c224
change trim units from absolute usec to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
d8528f46ce
remove DEBUG_BUILD from fmu.cpp compile flags
2016-12-10 12:56:39 +01:00
Mark Whitehorn
e80ef34b0d
retest FMU control latency
2016-12-10 12:56:39 +01:00
Mark Whitehorn
009a413438
fix argument order in pwm_limit_calc call, clean up
...
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn
5601ca19de
astyle
2016-12-10 12:56:39 +01:00
Mark Whitehorn
0ccfcab010
fmu trims still not working
2016-12-10 12:56:39 +01:00
Mark Whitehorn
82bfaf3967
debugging fmu mode_pwm4 not recognized
2016-12-10 12:56:39 +01:00
Mark Whitehorn
ea83b67bd8
add trim parameter handling
2016-12-10 12:56:39 +01:00
Mark Whitehorn
9ced4afca3
add AUX trim parameters
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
619efa7b45
[PX4IO/PWM driver] Added trim values to the PWM output drivers
2016-12-10 12:56:39 +01:00
Lucas De Marchi
66628a4cf1
aerofc: forbid gpio changes
...
We export an "empty" table, but there's no protection when doing
ioctl().
2016-11-28 09:21:12 +01:00
James Goppert
893714dc6a
aerofc: Fixes for init
2016-11-28 09:21:12 +01:00
Benoit3
83e9e1c382
The goal of this patch is to allow compatibility with GR12/GR16/GR24 graupner receiver by :
...
- allowing decoding of SUMD frame with failsafe bit set
- updating stack failsafe state with the sumd failsafe info
Refer to #5817 issue
2016-11-12 14:28:57 +01:00
Mark Whitehorn
4cc97aa705
fix another bug in fmu mode
2016-10-24 18:22:18 +02:00
Lorenz Meier
3bed398a1e
FMU: scan longer
2016-10-23 19:58:52 +02:00
Siddharth Bharat Purohit
b75ff417ea
fmu: fix typo introduced in 78b0d1a which adds PWM1 mode
2016-10-22 08:37:13 +02:00
Julian Oes
78b0d1a01f
tap: add landing gear capability
...
This configures the PWM output for the landing gear.
2016-10-20 23:17:05 +02:00
Lorenz Meier
7b2898eaee
Fix merge collision
2016-10-19 18:29:34 +02:00
Lorenz Meier
3f5f74399e
Increased SBUS buffer size for more reliable SBUS and DSM parsing
2016-10-19 15:32:30 +02:00
Julian Oes
af5d2c488c
st24: fix RC lost detection based on error count
...
The packet_count was actually an error_count, therefore we should
process RC input only when the error_count since the last packet is 0.
Also, this commit fixes the RSSI scaling for st24.
2016-10-19 09:22:57 +02:00
Daniel Agar
2771b92dc0
px4fmu trivial style fix
2016-10-09 23:47:09 -04:00
Lorenz Meier
ed62957474
Increase RC buffer size
2016-10-08 17:18:06 +02:00
Lorenz Meier
4cfd84b56a
FMU driver: Ensure correct binding pulses for Spektrum, time out any receiver which has more than one second no signal.
2016-10-08 16:56:04 +02:00
Mark Whitehorn
a56d50599d
subscribe to vehicle_command topic and implement RX_PAIR command
...
add spektrum satellite bind command to fmu
open fmu file descriptor to issue ioctl
2016-10-08 16:19:45 +02:00
Roman
c2a511d81d
multirotor mixer slew rate limiting: naming and fixes
...
- avoid dividing by zero when calculating max delta output
- better comments when calculating max delta output
- better naming of functions and variables
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
8b889caa33
slew rate limiting: implemented for fmu
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng
d297d31c23
input_rc.msg: remove timestamp_publication, use timestamp instead
2016-09-19 13:02:31 +02:00
Dennis Shtatnov
e91821d2a2
Merge Crazyflie motor driver with FMU
...
Comment corrections
2016-09-04 19:12:08 +02:00
Lorenz Meier
8b66a76432
Fix FMU init
2016-08-15 10:49:43 +02:00
David Sidrane
6f973f1d6c
Better Portability with clear naming
2016-08-12 13:55:16 +02:00
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