Commit Graph

110 Commits

Author SHA1 Message Date
Lorenz Meier 1d444f80a3 Fixed comment 2013-03-10 22:01:13 +01:00
Lorenz Meier 921ef9178d Hotfix: Correctly publish servo outputs 2013-03-10 00:16:55 +01:00
Lorenz Meier 802d0ae2fa Made dtors virtual, tested on IO and FMU 2013-03-09 21:07:29 +01:00
Lorenz Meier e8e52afcc4 Added minimum set of IO MAVLink text messages, report critical errors such as in-air restarts 2013-03-07 20:51:33 +01:00
Lorenz Meier ebac51cad8 Working on restart resilience, hunting down multi-load mixer issue (still present) 2013-03-07 19:47:43 +01:00
Simon Wilks 8d1f80a9e8 Fix how we check for rc config init status 2013-03-07 01:03:38 +01:00
Simon Wilks 5c12b6a911 Request result of rc config upload from IO 2013-03-06 22:52:19 +01:00
Lorenz Meier ca794265c6 Fixed input indexing, stupid 1-based indices on the GCS side (MP/QGC) caused confusion 2013-02-25 09:07:13 +01:00
px4dev 345b1a0915 Print mapped R/C inputs as signed values (since they are zero-relative) 2013-02-24 15:55:38 -08:00
px4dev dc74eeb421 Report the control values from the FMU in the status output. Count them separately from the actuators. 2013-02-24 15:31:01 -08:00
px4dev 93f6edfe64 Fix reporting of R/C input config 2013-02-24 14:30:56 -08:00
px4dev 776cf6093c && -> & 2013-02-24 14:06:28 -08:00
px4dev e818bcbfc2 Fix a wrong register read for the mapped channel mask 2013-02-24 13:58:52 -08:00
px4dev 858460c863 Extended PX4IO status dump 2013-02-24 13:40:46 -08:00
Lorenz Meier 72603207a1 Fixed formatting of status printing 2013-02-24 21:12:25 +01:00
Lorenz Meier 35369471db working on better status reporting, removed unneeded fake PWM generation from FMU 2013-02-24 20:24:21 +01:00
Andrew Tridgell 317515fb6a px4io: added INAIR_RESTART enable/disable flags
the autopilot code needs to know that in-air restart may happen, so it
should be something that is enabled, rather than on by default.
2013-02-18 14:16:09 +11:00
Lorenz Meier 56bf9855a8 Finished and tested in-air restore of arming state, as long as both boards reset at the same time armings state is now retained 2013-02-17 17:47:26 +01:00
Lorenz Meier 038037d676 Allow to in-air restore the FMU and IO arming state if only one of the two fails 2013-02-17 16:06:33 +01:00
Andrew Tridgell 04bea8678e Merged debuglevel command from Tridge 2013-02-17 13:03:36 +01:00
Lorenz Meier 4595cc65b8 Reworked manual override flag, reworked arming slightly. Pending testing 2013-02-13 08:38:31 +01:00
Lorenz Meier b750a588a0 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-12 09:34:41 +01:00
Lorenz Meier 163257f3bd Fixed scaling of RC calibration in IO driver, fixed interpretation of (odd, but APM-compatible) channel reverse flag 2013-02-12 09:33:52 +01:00
Andrew Tridgell 804f0e4219 px4io: make uploader more reliable
avoid seeks, lower verify recv size and removed cruft
2013-02-05 18:30:31 +01:00
Lorenz Meier a196e73842 Fixed arm ok flag typo 2013-02-05 18:11:59 +01:00
px4dev 6d0363faff Disarm IO at driver startup time. 2013-01-26 19:43:23 -08:00
px4dev 52ff9b7d43 Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces. 2013-01-26 16:16:19 -08:00
px4dev 2a18d6466c Add a bus saturation test for px4io. 2013-01-26 14:36:31 -08:00
px4dev 4ea8a64b39 Correct the length calculation for register write transfers so that we send all of the requested registers. 2013-01-26 13:15:57 -08:00
px4dev 72fcc8aad3 Tidy up the write path. 2013-01-26 13:15:27 -08:00
px4dev 899fbcc7cf Fix cut and paste so that we send direct PWM and read back servo values from the right pages. 2013-01-26 13:14:52 -08:00
px4dev 984e68d76e Add an ioctl for fetching the number of PWM outputs 2013-01-26 12:27:42 -08:00
px4dev b20c050402 Fix two protocol-related typos; get the right status flag name for raw PWM; read back the correct page for PWM output. 2013-01-26 12:27:03 -08:00
px4dev 5fe376c7b9 Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, don't set the input RC timestamp unless we get data. 2013-01-26 00:01:25 -08:00
px4dev 900b0d58ef Less debug output. 2013-01-25 21:59:31 -08:00
px4dev 818e898a7e Fix the handling of max transfer size to leave room for the page/offset bytes. 2013-01-25 21:54:04 -08:00
px4dev 1b30cd2f93 Dump a couple of unused member variables. 2013-01-25 21:40:18 -08:00
Andrew Tridgell 8972843b14 px4io: fixed mixer load 2013-01-25 21:37:48 -08:00
px4dev 0bc836ae1d Implement fetching raw RC input values via the ioctl interface. 2013-01-23 22:19:33 -08:00
px4dev dce2afde0f Rework the way that we handle the address phase for reads. Drop the _connected test as we talk to IO before starting the thread. 2013-01-23 20:18:18 -08:00
px4dev 3244bb83ea Better sanity checking and error handling. 2013-01-23 18:56:03 -08:00
px4dev d7632b1794 Drop some commented code now the functionality is implemented. 2013-01-19 12:38:53 -08:00
px4dev 4b07a9abd3 Add RC input configuration, update at startup and on parameter change (max 2 per second). 2013-01-16 13:02:49 -08:00
px4dev 7b367c3eb3 Beat the px4io driver into compilable shape. Just missing RC input configuration now. 2013-01-15 23:01:04 -08:00
px4dev 0eb5a070f1 Checkpoint: more work on the px4io driver. Add raw PWM passthrough ioctl. 2013-01-15 00:41:47 -08:00
px4dev 06b66ad065 Don't advertise things we don't have anymore. 2013-01-14 01:09:42 -08:00
px4dev 2dc47160f4 Factoring and comments. 2013-01-14 00:30:18 -08:00
px4dev 2311e03379 Start reworking the px4io driver to use the I2C interface instead. 2013-01-14 00:19:01 -08:00
Lorenz Meier d6116d9564 Merge branch 'master' of github.com:PX4/Firmware into fixedwing 2013-01-11 07:36:44 +01:00
Julian Oes b5eccef69e Started with px4io stop implementation 2013-01-10 15:49:53 -08:00