46 Commits

Author SHA1 Message Date
Lorenz Meier
828163f2f5 Update mixing handling to allow IO safety off updates 2014-11-22 16:30:09 +01:00
Lorenz Meier
f490331632 Enable flaps, avoid mode switch position 2014-10-16 22:57:27 +02:00
Lorenz Meier
6773eb9880 Introduce FMU initialised status flag, only run failsafe trap if initialized once 2014-08-28 21:39:38 +02:00
Lorenz Meier
c85d7aae06 Make sure we got to valid input at least once before kicking in failsafe 2014-08-28 20:36:59 +02:00
Lorenz Meier
91d50301c6 Do not enter RC override if FMU is lost and termination failsafe mode requested 2014-08-27 10:46:10 +02:00
Lorenz Meier
49846d476f IO firmware supports termination failsafe 2014-08-27 08:00:12 +02:00
Lorenz Meier
9a53fd9648 Add force failsafe flag 2014-07-18 11:18:32 +02:00
Lorenz Meier
0ea3e95422 px4iofirmware: Indicate with a comment that band limiting happens in pwm_limit() call 2014-05-23 20:23:33 +02:00
Lorenz Meier
d1909ca94b Merge pull request #878 from PX4/sbus_out
S.BUS output
2014-05-05 08:04:28 -07:00
Anton Babushkin
af548db7cc px4iofirmware: define 4 actuator control groups 2014-03-05 00:01:27 +04:00
Anton Babushkin
4cfaf928e1 px4io: bug in failsafe fixed 2014-02-18 16:11:46 +04:00
Lorenz Meier
6a1f91e625 Make SBUS output exclusive 2014-02-13 08:22:05 +01:00
Lorenz Meier
500ac69ee4 Build test code for S.BUS output, send test characters once S.BUS1 or S.BUS2 is enabled 2014-02-12 08:13:53 +01:00
Lorenz Meier
ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Lorenz Meier
c5cb3cfd21 Make the IO mixer upload report not only a global success / fail flag, but on transfer basis. Also use a crude lock to avoid updating the mixer while it runs (we have no proper mutexes on IO, and this is a pure read/write locking case with two locks, which should make the execution even with this crude approach thread-safe). 2014-01-24 17:34:42 +01:00
Lorenz Meier
8ffb9e29c6 Teach IO firmware that arming and lockdown are two different things, clean up arming check 2014-01-16 10:56:15 +01:00
Lorenz Meier
b84c9f962b Merged master 2013-12-21 19:07:24 +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
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
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
9424728af9 Fix a whole bunch of sanity checks across all mixers 2013-09-22 14:20:19 +02:00
Julian Oes
589ae937ee Allow mixer upload when PWM is on 2013-09-02 17:55:27 +02:00
Lorenz Meier
309ea81460 Merged fmuv2_bringup 2013-08-21 15:19:19 +02:00
Lorenz Meier
5fbee23945 Added flag to disable RC evaluation onboard of IO (raw values still forwarded) 2013-08-21 11:17:29 +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
px4dev
8fa226c909 Tweak protocol register assignments and add new registers to accommodate differences in IOv2. 2013-07-06 23:59:35 -07:00
Julian Oes
9b6c9358ed First try for an ESC calibration tool 2013-06-20 01:13:49 +02:00
Julian Oes
23858a6726 Added functionality to enable PWM output for stupid ESCs even when safety is not off, arming button functionality remains as is 2013-06-19 22:59:40 +02:00
Julian Oes
f3ce61d740 Forgot to remove some debug stuff 2013-06-19 09:35:19 +02:00
Julian Oes
202792294a Merge remote-tracking branch 'upstream/io_fixes' into new_state_machine
Conflicts:
	src/drivers/px4io/px4io.cpp
	src/modules/commander/commander.c
	src/modules/commander/state_machine_helper.c
	src/modules/commander/state_machine_helper.h
	src/modules/px4iofirmware/mixer.cpp
	src/modules/uORB/topics/actuator_controls.h
	src/modules/uORB/topics/vehicle_status.h
2013-06-18 15:35:26 +02:00
Julian Oes
b5f4f1ee80 Adressed performance concern and fixed a copy paste bug 2013-06-18 10:00:42 +02:00
Julian Oes
cc452834c0 First try to prevent motors from stopping when armed 2013-06-18 00:30:10 +02:00
Lorenz Meier
eb76d116cc Minor state machine improvements and fixes for IO safety / in-air restart handling 2013-06-12 12:30:42 +02:00
Lorenz Meier
8567134d64 Made pwm command sending continously, improved failsafe logic 2013-06-07 19:41:41 +02:00
Lorenz Meier
6c7c130de7 Hotfix: Make IOs mixer loading pedantic to make sure the full mixer loads 2013-06-07 10:34:55 +02:00
Lorenz Meier
f6570172da Set default failsafe value to 0 of mixer 2013-05-29 17:07:26 +02:00
Lorenz Meier
2876bc72f9 Slightly reworked IO internal failsafe, added command to activate it (px4io failsafe), does not parse commandline arguments yet 2013-05-28 17:46:24 +02:00
Lorenz Meier
58084685b2 Hotfix: Changed alarms back to what they originally were designed for: Traps to later see if condition was once violated. Currente status can be read through the status flags 2013-05-16 09:12:13 +02:00
Lorenz Meier
69571c48c4 Fixed compile and logic errors, behaving now 2013-05-13 10:02:15 +02:00
Lorenz Meier
f57439b90e Moved all drivers to new world, PX4IO completely in new world 2013-04-28 01:30:14 +02:00