Commit Graph

60 Commits

Author SHA1 Message Date
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier 0c0500f8da IO Firmware: Do not build ADC code if there is no ADC input for RSSI 2015-06-04 19:08:28 +02:00
Lorenz Meier 75ad5875cb Low-pass analog RSSI stronger 2015-06-04 18:45:45 +02:00
Lorenz Meier 9a16d9ebfa IO Firmware: Code style fix, fix RSSI ADC lowpass 2015-06-04 18:44:05 +02:00
Mark Charlebois f63ab3d5e3 Merge branch 'master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
2015-04-22 10:38:46 -07:00
Lorenz Meier 09ae879b82 RC input: Replace magic numbers with better numbers, cap output to 0-100 2015-04-21 17:46:21 +02:00
Lorenz Meier 4440c6383c IO RSSI handling: Make 0-RSSI value consistent for all input sources 2015-04-21 10:48:40 +02:00
Lorenz Meier 027919302d IO RSSI handling: Fix RSSI for all protocols. 2015-04-21 10:40:42 +02:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
NosDE 04f4206371 Graupner HoTT SUMD/SUMH Receiver Protocol added 2015-03-07 11:39:00 +01:00
Lorenz Meier a9c8f2331b IO firmware: Make error checking more obvious 2015-01-21 08:58:47 +01:00
Lorenz Meier 4a66b29e55 Merge pull request #1420 from PX4/rctype
Encode RC type in RSSI field for GCS
2014-11-17 00:03:31 +01:00
Don Gagne 852fa61173 Correct setting of DSM and ST24 flags 2014-11-16 14:12:58 -08:00
Andrew Tridgell ba81125453 px4io: added OVERRIDE_IMMEDIATE arming flag
this allows the flight code to choose whether FMU failure gives
immediate manual pilot control, or waits for the mode switch to go
past the override threshold
2014-11-16 21:02:14 +01:00
Don Gagne d907b030ee Initialize RSSI so it doesn't remain uninitialized
Spektrum doesn’t support rssi so it is not set by st24_decode.
2014-11-05 13:15:52 -08:00
Lorenz Meier f490331632 Enable flaps, avoid mode switch position 2014-10-16 22:57:27 +02:00
Lorenz Meier 0d917576d4 Enable flaps in manual override 2014-10-15 22:19:06 +02:00
Lorenz Meier 7bb9b3efa7 IO firmware hot fix: Use right pointer type for RSSI value. 2014-10-09 09:27:25 +02:00
Lorenz Meier 6436db1a99 Fix parser return type handling 2014-10-07 22:24:32 +02:00
Lorenz Meier 35caa8bd99 PX4IO Controls: compile fixes 2014-10-07 09:28:36 +02:00
Lorenz Meier c2687a7774 ST24 integration in IO firmware 2014-10-07 08:05:45 +02:00
Lorenz Meier 69109b6227 Compile and link ST24 parser in IO firmware 2014-09-01 00:45:41 +02:00
Lorenz Meier 93dcd90404 Merge pull request #919 from TickTock-/hotfix_override_threshold
Changed low threshold in px4io firmware to 10%...
2014-07-03 12:31:51 +02:00
Lorenz Meier 97fb361ea9 Set an RC status flag so that we can read out the RC status in parallel to the RC data 2014-05-14 08:00:00 +02:00
TickTock- 559c62b6bc Changed low threshold in px4io firmware to 10% to ensure compatibility with user configured single channel, mode switches 2014-05-09 15:17:38 -07:00
Lorenz Meier 1eb0b19409 Merged minimal S.BUS failsafe changes 2014-04-05 11:14:19 +02:00
Lorenz Meier 3e4841b6fe px4io: Guard against the RC failsafe value of channel 5 causing a manual override action if set to manual in failsafe 2014-04-05 11:10:41 +02:00
Lorenz Meier 09d1064327 px4io: Remove unused variable 2014-04-05 11:06:07 +02:00
Holger Steinhaus 745ef4f485 px4io: do not include failsafe condition into rc_lost flag 2014-04-05 11:05:17 +02:00
Lorenz Meier 9a0b2b7610 Make throttle failsafe depend on the failsafe threshold parameter. Make the parameter optional (no harm if not found). 2014-04-05 11:02:22 +02:00
Lorenz Meier c6d98a32f8 Proper failsafe handling onboard, including throttle failsafe condition if enabled 2014-04-05 10:27:43 +02:00
Holger Steinhaus 409fa565f4 px4io: do not include failsafe condition into rc_lost flag 2014-03-25 17:12:27 +01:00
Lorenz Meier 0393b2aa12 Build fix for IO control input parsing. 2014-01-26 16:01:39 +01:00
Lorenz Meier 00a3270dc6 Differentiate between failsafe having kicked in (which stops the normal output mixing based on RC outputs and prevents unwanted control commands due to failsafe) and a true loss of the receiver, where we stop outputting RC channel readings downstream on FMU. 2014-01-26 15:52:51 +01:00
Lorenz Meier 16eb68f2e9 Allow the setup flags to control the S.BUS / RSSI port instead of doing some wild, likely incorrect, guesses. 2014-01-26 14:13:57 +01:00
Lorenz Meier 57d38bc8ce Clean up RC related metadata, put everything into the RC data page. This ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet. 2014-01-26 00:17:26 +01:00
Lorenz Meier b06d199129 Fixed year in controls.c comment. 2014-01-25 23:10:48 +01:00
Lorenz Meier 9e72e72644 Make SBUS switching conditional to be friendly to IO v1 2014-01-23 09:29:59 +01:00
Lorenz Meier d174998b45 RSSI and concurrent S.Bus output handling 2014-01-18 12:00:17 +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 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 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
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 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 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
Julian Oes 3a21cacdbb Fix bug where IO was in override mode for copter (workaround was to disconnect and reconnect Rx 2013-08-14 16:00:35 +02:00