Commit Graph
197 Commits
Author SHA1 Message Date
Lorenz Meier 731ab465b3 Add support in the IO driver to control the S.Bus / RSSI port. 2014-01-26 14:22:54 +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 bafcbd99a6 Stop setting RSSI by cross-reading servo status. 2014-01-25 23:04:16 +01:00
Lorenz Meier f2f94f0f17 IO driver: Variable name and comment cleanup, no binary / functionality changes. 2014-01-25 23:03:21 +01:00
Lorenz Meier 92a6c7d734 Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it. 2014-01-24 17:33:04 +01:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Lorenz Meier 1960f7d6c5 Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader. 2014-01-24 17:29:27 +01:00
Lorenz Meier 2f968357a3 Make the protocol version more descriptive - helps to understand when / how px4io detect fails. 2014-01-24 17:28:04 +01:00
Lorenz Meier 4f78c3e605 Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam. 2014-01-24 17:27:28 +01:00
Andrew Tridgell d8c1131f1e px4io: improved reliability of forceupdate re-starting px4io
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
2014-01-24 12:35:19 +01:00
Lorenz Meier 6a40acdbdc Fixed PPM warning to be only printed with PPM inputs enabled 2014-01-23 09:58:22 +01:00
Lorenz Meier c74660fec5 Merge branch 'rssi' of github.com:PX4/Firmware into rssi 2014-01-23 09:18:01 +01:00
Lorenz Meier d77a15e94f Last small fixes to IO driver to support updates with and without switch pressed and with and without px4io start call before the forceupdate call 2014-01-23 09:16:40 +01:00
px4dev 1ac8501d95 Clear the screen more properly. 2014-01-22 23:52:06 -08:00
Lorenz Meier 8833f81b48 Do not make PX4IO start mandatory for forceupdate 2014-01-23 08:45:29 +01:00
Lorenz Meier ba19a1ba15 Merge branch 'master' of github.com:PX4/Firmware into rssi 2014-01-23 07:49:18 +01:00
Lorenz Meier 1e6d83fc9e Hotfix for IO battery voltage 2014-01-20 13:10:37 +01:00
Lorenz Meier d174998b45 RSSI and concurrent S.Bus output handling 2014-01-18 12:00:17 +01:00
Lorenz Meier dd9df7b1b0 RSSI field init 2014-01-18 01:12:38 +01:00
Lorenz Meier 4d7e99fd6c Writing RSSI field not only in servo rail topic 2014-01-18 01:09:58 +01:00
Lorenz Meier f5dfc24197 Allow to check IO CRC independent of the IO start status (retains the interface status, startet or unstarted 2014-01-09 08:44:57 +01:00
Julian Oes 020c47b59f PX4IO driver: even compiling now 2013-12-27 23:57:24 +01:00
Lorenz Meier f44f738f0a Fix return value 2013-12-27 21:56: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 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 b84c9f962b Merged master 2013-12-21 19:07:24 +01:00
Lorenz Meier b2e527ffa6 Counting channel count changes 2013-12-21 16:13:04 +01:00
Lorenz Meier 3e037d40de Fixed bracketing error 2013-12-21 12:46:06 +01:00
Lorenz Meier 0f0dc5ba06 Allowed custom battery scaling on IO 2013-12-21 12:45:04 +01:00
Lorenz Meier 3ad9dd030c Added performance counter for write IOCTL 2013-12-20 21:10:33 +01:00
Lorenz Meier 6dce57170e Hotfix: Fixed mapping of override channel 2013-12-19 17:12:46 +01:00
Lorenz Meier d53b00283e PX4IO upgrade improvement 2013-12-16 12:02:01 +01:00
Lorenz Meier ea10d55d71 Auto-update of IO firmware, shorter preflight check alarm 2013-12-14 15:08:56 +01:00
Lorenz Meier 10b2dc67e4 Allow forceupdate in all conditions 2013-12-14 14:54:02 +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 cbde8d27f8 fix small copy paste error in px4io driver 2013-12-08 20:15:47 +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 63d81ba415 actuator_controls_effective topic removed 2013-11-16 23:16:09 +04:00
Anton Babushkin 39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01:00
Anton Babushkin 8f559c73e9 px4io driver: bug fixed 2013-11-16 16:07:06 +04: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
Andrew Tridgell 75a0c18a9e px4io: FMU half of px4io error fixes 2013-10-28 13:10:38 +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