Commit Graph

119 Commits

Author SHA1 Message Date
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 39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01: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
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
Lorenz Meier 1d2e6d1b2d Merged 2013-10-13 12:28:10 +02:00
Jean Cyr f1c399a60b Add support for 8 channel DSMX sattelite pairing 2013-10-12 01:14:03 -04:00
Anton Babushkin e770f84858 Merge branch 'master' into px4io_fix 2013-10-11 16:22:08 +02: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 6b079f41b2 Small warning fix 2013-10-11 10:21:37 +02:00
Lorenz Meier 13b07efc49 added hw test, added better io debugging 2013-10-10 00:12:39 +02:00
Lorenz Meier b8ccf67e8c Merge branch 'sdtest' of github.com:PX4/Firmware into hil_usb_only 2013-10-09 22:53:25 +02:00
Lorenz Meier d63ad0fb81 Added debug output printing capabilities for IOv2 2013-10-09 09:26:18 +02:00
Julian Oes 1b9e2af742 Moved PWM ramp to systemlib 2013-10-08 17:03:57 +02:00
Anton Babushkin 87e1ffe0ba px4io: code style fixed 2013-10-07 22:04:06 +02:00
Anton Babushkin 6e7300fb92 px4io: major optimization and cleanup 2013-10-07 22:02:46 +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
Anton Babushkin 378041ad31 px4io: make "too high rate" warning consistent with real behavor 2013-10-06 23:09:55 +02:00
Lorenz Meier 90c4664dce Merged status changes 2013-10-06 14:17:37 +02:00
Julian Oes 9ff5217118 Some more interface changes, needs testing and cleanup 2013-10-04 17:20:34 +02:00
Julian Oes baa4908054 Changes to pwm systemcmd, basic functionality there, needs polishing 2013-10-04 13:00:12 +02:00
Julian Oes 9493c7a45c Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts:
	src/drivers/drv_pwm_output.h
2013-09-29 18:31:13 +02:00
Julian Oes 166dba09de px4io test and fmu test now work over USB as well 2013-09-22 17:23:43 +02:00
Lorenz Meier 6616aa6f99 Fixed in-air restart, now obeys the right order 2013-09-22 14:58:06 +02:00
Lorenz Meier 5a54354044 Merge branch 'master' into mixer_fix 2013-09-22 11:31:06 +02:00
Lorenz Meier ebd16975d0 An even number of bytes is when modulo 2 is zero, not modulo 1 is one. 2013-09-22 11:30:37 +02:00
Julian Oes 327f1f8001 Look for the appropriate images in the uploader 2013-09-21 11:23:42 +02: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
Lorenz Meier 03727974f1 Fix binding states for DSM 2013-09-15 18:48:28 +02:00
Lorenz Meier a0d26cb282 Make mixer upload not depending on single serial transfer error 2013-09-14 16:25:38 +02:00
Jean Cyr 41610ff7dd DSM pairing cleanup in px4io.cpp
- Simplify parameter range checking in dsm_bind_ioctl
- Replace DSM magic numbers with symbolic constants
2013-09-12 21:36:20 -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
Andrew Tridgell f7c3ed3ed6 px4io: split io_handle_battery() out from io_handle_status()
ready to add vservo and rssi
2013-09-12 09:24:23 +02:00
Jean Cyr 41982579b3 Refactor dsm binding code in px4io.cpp
- Move repeated code into member function
2013-09-11 22:54:23 -04:00
Jean Cyr 3b8039e4e0 Implement message based receiver pairing 2013-09-11 22:11:37 -04:00
Lorenz Meier 8131d28a0f Exported disarmed PWM values as IOCTLs 2013-09-10 21:38:32 +02:00
Lorenz Meier 2d6dfe2a9e Allow px4io detect to be run when IO is already running 2013-09-08 20:40:26 +02:00
Lorenz Meier 669a802921 Hotfix: Better PX4IO detection feedbak 2013-08-31 11:22:41 +02:00
Lorenz Meier 2b62497fb5 Fixed build error 2013-08-30 17:19:03 +02:00
Lorenz Meier e2b602339a Cleanup of detect return 2013-08-30 17:05:21 +02:00
Lorenz Meier 756d67f2de Removed non-helpful verbosity 2013-08-28 16:38:09 +02:00
Lorenz Meier feb4dad9e1 Fixed IO detect message 2013-08-28 15:22:24 +02:00
Lorenz Meier a48be0446b Added IO detect command to be smart about what to start before actually doing it 2013-08-28 14:58:53 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
Lorenz Meier e97c39a125 Merge branch 'fmuv2_bringup' into multirotor 2013-08-22 10:14:01 +02:00
Lorenz Meier 11257cbade Fixed commandline handling 2013-08-22 10:13:47 +02:00
Lorenz Meier 309ea81460 Merged fmuv2_bringup 2013-08-21 15:19:19 +02:00
Lorenz Meier 5be2f4a792 Moved mavlink log to system lib 2013-08-21 14:54:57 +02:00
Lorenz Meier 64b8f5232b Build fix, added command line switch norc to disable RC 2013-08-21 13:54:37 +02:00