Commit Graph
215 Commits
Author SHA1 Message Date
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
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