Commit Graph
130 Commits
Author SHA1 Message Date
Thomas Gubler f224374ed3 Merge remote-tracking branch 'upstream/master' into navigator_new 2014-01-11 00:49:30 +01:00
Andrew Tridgell 94b539dfdd px4io: enable power on Spektrum connector on init 2014-01-07 09:36:33 +01:00
Andrew Tridgell 1a13e66aab px4iofirmware: make forceupdate more reliable
this schedules a reboot rather than rebooting immediately, which means
the FMU gets an ACK for its reboot operation, preventing it from
timing out waiting for the ACK. That makes the timing of the reboot
more consistent, which makes it more reliable for forceupdate
2014-01-07 09:30:56 +01:00
Lorenz Meier 7ee5f127f2 Compile cleanups on the IO firmware 2014-01-05 15:20:54 +01:00
Lorenz Meier 965a7a4f03 Allow to disable a channel 2013-12-27 21:33:19 +01:00
Lorenz Meier a9ea39054d Working around creating an error condition with more than 8 raw RC channels 2013-12-27 21:19:04 +01:00
Lorenz Meier cddbb0d23f Merged master 2013-12-27 21:12:51 +01:00
Lorenz Meier 8d2950561d Changed RSSI range to 0..255 2013-12-25 15:15:15 +01:00
Lorenz Meier edffade8ce Added PPM frame length feedback in IO comms and status command - allows to warn users about badly formatted PPM frames 2013-12-25 15:11:48 +01:00
Lorenz Meier f8134c9c67 Enable 18 channels on IO 2013-12-22 21:12:31 +01:00
Lorenz Meier 6c990d0a6e Fix usage of wrong constant for RC input channels 2013-12-22 20:44:51 +01:00
Lorenz Meier 999051546a Fixed compile error 2013-12-21 19:08:52 +01:00
Lorenz Meier b84c9f962b Merged master 2013-12-21 19:07:24 +01:00
Lorenz Meier d6a6d59d2d Further improved S.Bus scaling 2013-12-14 15:09:20 +01:00
Lorenz Meier 00dc339d2e Improved S.Bus scaling based on scope measurements 2013-12-14 14:52:57 +01:00
Lorenz Meier 9883a346a0 First stab at implementing better RSSI based connection status estimation, still needs some work and testing 2013-12-13 18:01:55 +01:00
Holger Steinhaus L a673fa3926 Non-destructive handling of failsafe signals, distinction between frame loss and signal loss.
This kind of handling might be moved upstream into the application, once alarms are propagated by the ORB system.

This change is compatible with RX failsafe settings, but does not rely on it (uses SBus flags instead).
2013-12-13 17:30:26 +01:00
Holger Steinhaus L 3a40ea8338 more precise range conversion for SBus input signals 2013-12-13 17:30:14 +01:00
Lorenz Meier c311462f3c Added actuator control removal 2013-12-13 16:52:35 +01:00
Andrew Tridgell 5b7d1af5d8 Merged crccheck command 2013-12-13 11:22:14 +01:00
Andrew Tridgell 6016fbe55d Merged PX4IO crc checks and force update 2013-12-13 11:21:00 +01:00
Thomas Gubler c033443208 px4iofirmware: improve check for rc controlled channels in manual mode 2013-12-11 16:58:11 +01:00
Thomas Gubler b69097df38 px4io frimware: improve handling of manual mode when fmu is still healthy, use data from fmu for channels which are not controlled by rc 2013-12-11 16:58:03 +01:00
Thomas Gubler 5e273bf225 px4iofirmware: in manual mode: ignore control indices which are not controlled by the rmeote control 2013-12-08 21:35:16 +01:00
Lorenz Meier 0ba507b640 Added support for a total of four control groups to the IO driver and IO firmware. This allows to run auxiliary payload. Cleaned up defines for RC input channel counts, this needs another sweep to then finally allow up to 16 mapped channels and up to 20-24 RAW RC channels 2013-12-08 11:25:45 +01:00
Andrew Tridgell d0507296c0 px4io: moved blue heartbeat LED to main loop
this allows us to tell if the main loop is running by looking for a
blinking blue LED
2013-11-30 20:18:27 +11:00
Anton Babushkin e46d60ba6d px4io driver: don’t use PX4IO_PAGE_ACTUATORS page for actuator_controls_effective 2013-11-15 11:32:05 +04:00
Julian Oes 25bf1abecf pwm_output: Allow PWM values from 900us to 2100us but use a default of 1000us to 2000us 2013-10-31 10:29:06 +01:00
Lorenz Meier dc80d6745e Merge branch 'master' of github.com:PX4/Firmware into pwm_ioctls 2013-10-30 09:15:55 +01:00
Lorenz Meier 44f88bf0a7 Fix to allow setting again zero disarmed PWM values after boot 2013-10-30 09:03:19 +01:00
Andrew Tridgell 9064f8bf09 px4io: fixed the io_reg_{set,get} errors
this fixes the PX4IO state machine to avoid the io errors we were
seeing. There are still some open questions with this code, but it now
seems to give zero errors, which is an improvement!
2013-10-28 13:10:23 +01:00
Julian Oes 70ec68ffd0 Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts:
	src/drivers/px4io/px4io.cpp
2013-10-19 11:39:31 +02:00
Julian Oes 1d3f25ee6c pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once 2013-10-19 10:43:41 +02:00
Jean Cyr f1c399a60b Add support for 8 channel DSMX sattelite pairing 2013-10-12 01:14:03 -04:00
Julian Oes 2d23d5fd4e Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts:
	src/drivers/px4io/px4io.cpp
2013-10-11 14:05:11 +02:00
Julian Oes 3dc2bdfa22 Changed pwm_limit interface a bit 2013-10-11 10:19:50 +02:00
Julian Oes 1b9e2af742 Moved PWM ramp to systemlib 2013-10-08 17:03:57 +02:00
Julian Oes 19879432ad Trying to get rid of magic PWM numbers 2013-10-07 18:03:05 +02:00
Julian Oes ea0aa49b54 pwm info provides more information, some fixes for setting rate/min/max/disarmed 2013-10-07 16:24:49 +02:00
Lorenz Meier 90c4664dce Merged status changes 2013-10-06 14:17:37 +02:00
Lorenz Meier f7090db708 Fix the direction of the override switch for the new state machine 2013-09-24 08:22:44 +02:00
Lorenz Meier 9424728af9 Fix a whole bunch of sanity checks across all mixers 2013-09-22 14:20:19 +02:00
Jean Cyr 72df378577 Finally get the #if right!!! 2013-09-18 20:24:33 -04:00
Jean Cyr 390d5b34de Fix backwards ifdef in dsm.c 2013-09-18 20:14:53 -04:00
Jean Cyr 89d3e1db28 Implement Spektrum DSM pairing in V2
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
2013-09-18 20:04:22 -04:00
Andrew Tridgell e9e46f9c9d px4io: added monitoring of vservo and vrssi
publish via servorail_status ORB topic
2013-09-12 09:24:53 +02:00
Lorenz Meier c3b6cea77a Hotfix for S.Bus systems with more than 8 channels 2013-09-10 13:22:56 +02:00
Lorenz Meier 465f161427 Hotfix: remove bogus commit 2013-09-10 12:49:17 +02:00
Julian Oes 589ae937ee Allow mixer upload when PWM is on 2013-09-02 17:55:27 +02:00
Lorenz Meier 85eafa323a Fix to RC param updates on IO 2013-08-22 10:43:19 +02:00