2827 Commits

Author SHA1 Message Date
Andrew Tridgell
6eb69b07a8 Merged debug level commits from Tridge 2013-02-14 23:06:52 +01:00
Andrew Tridgell
bfecfbf5ee px4io: added isr_debug()
this is useful for debugging px4io internals
2013-02-14 19:30:15 +01:00
Lorenz Meier
cd0d108b6b Merged 2013-02-13 08:40:12 +01:00
Lorenz Meier
4595cc65b8 Reworked manual override flag, reworked arming slightly. Pending testing 2013-02-13 08:38:31 +01:00
Lorenz Meier
72de5b5ea7 Reworked manual override flag, reworked arming slightly. Pending testing 2013-02-13 08:27:07 +01:00
Lorenz Meier
d4ca6a29a1 Ensured that the mixer output obeys the FMU and IO armed state 2013-02-12 22:19:53 +01:00
Lorenz Meier
4af4d1cf21 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-12 13:24:13 +01:00
Lorenz Meier
f57b7fe0dd Merge branch 'master' of github.com:PX4/Firmware 2013-02-12 13:21:52 +01:00
Lorenz Meier
298b46ecfc Improved log conversion MATLAB script 2013-02-12 13:21:41 +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
Lorenz Meier
01ada7f74f Fixed mixer transmission between FMU and IO 2013-02-12 09:31:43 +01:00
Lorenz Meier
857fe5d405 Fixes to RC config transmission from Simon Wilks 2013-02-12 09:20:11 +01:00
Lorenz Meier
ef301890ba Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c 2013-02-12 09:13:51 +01:00
px4dev
aa16a63a10 Fix assignment of relay GPIOs. 2013-02-11 20:40:06 -08:00
Lorenz Meier
ab44a64ca0 Updated mixers for Q and X5 2013-02-10 18:04:57 +01:00
px4dev
3c8da27d72 Fix a misleading comment. 2013-02-09 00:57:23 -08:00
px4dev
a645a388bc Fix a sign error 2013-02-09 00:53:51 -08:00
Lorenz Meier
dbffca01ff Merge pull request #196 from PX4/px4io_uploader
px4io: make uploader more reliable
2013-02-08 07:30:09 -08:00
Lorenz Meier
4b2e8556b8 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c 2013-02-07 07:06:42 +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
167ec25c4f Fixed altitude jump issue, hunted down and fix by Andrew Tridgell. 2013-02-05 18:28:41 +01:00
Lorenz Meier
a196e73842 Fixed arm ok flag typo 2013-02-05 18:11:59 +01:00
Lorenz Meier
0a7daf3cfd Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-03 20:55:00 +01:00
px4dev
3e5cd26777 Merge pull request #194 from NosDE/master
Options for Bus and BlinkM address added
2013-02-02 09:23:25 -08:00
Marco Bauer
167cc4a197 Option for Bus and BlinkM address added 2013-02-02 17:36:43 +01:00
Marco Bauer
10361d997a Options for bus and blinkmaddress added. 2013-02-01 11:42:45 +01:00
Lorenz Meier
e137d00424 HOTFIX: Fixed HoTT compile error, fixed MAVLink crash 2013-01-31 17:31:58 +01:00
px4dev
e7bbe685b4 Add back some (currently unused) files lost in an earlier NuttX merge 2013-01-30 14:23:29 -08:00
px4dev
9197df46dd Merge branch 'master' into px4io-i2c 2013-01-28 21:58:55 -08:00
Lorenz Meier
2f7a7ccf0a Merge pull request #120 from PX4/statemachine_docs
State machine documentation
2013-01-27 03:45:10 -08:00
Lorenz Meier
6fca6e00f1 Updated state machine docs after first review round 2013-01-27 12:44:06 +01:00
Lorenz Meier
815f643819 Merge pull request #67 from sjwilks/hott
Implementation of the Graupner HoTT telemetry protocol
2013-01-27 03:43:19 -08:00
px4dev
338f769202 Merge branch 'master' into px4io-i2c 2013-01-26 21:17:39 -08:00
px4dev
43ead720a7 Now that we're mostly done with I2C, the old serial interface can be cleaned out. 2013-01-26 21:17:10 -08:00
px4dev
636e0cc56a It looks like retrying reads from the ms5611 is not safe either. 2013-01-26 20:23:19 -08:00
px4dev
6d0363faff Disarm IO at driver startup time. 2013-01-26 19:43:23 -08:00
px4dev
981477c785 Re-order register page variables to match the order registers are defined in the protocol header. 2013-01-26 19:24:18 -08:00
px4dev
666d3a401b Rename ::start to ::start_cycle to avoid confusion with the other start function.
Only enable I2C retries on operations that have no side-effects.
2013-01-26 18:55:26 -08:00
px4dev
621063ac08 Increase the number of I2C retries. 2013-01-26 17:10:04 -08:00
px4dev
33c12d13ad Defer I2C bus resets for the first couple of retries to avoid transient slave errors causing massive retry spam. 2013-01-26 17:07:58 -08:00
px4dev
7864176b5a A couple of logic fixes from Tridge. 2013-01-26 16:37:35 -08:00
Andrew Tridgell
c0a46c4b93 px4io: fixed logical vs bitwise typo 2013-01-26 16:20:34 -08:00
Andrew Tridgell
5ee52138c4 px4io: ensure RC_OK status flag is set on good input 2013-01-26 16:20:02 -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
fd28217e59 Implement the retry counter for message-vector based transfers. 2013-01-26 16:15:23 -08:00
px4dev
6bd662cfb2 In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR. 2013-01-26 16:11:31 -08:00
px4dev
e0f83af96f Reset the collection state machine on all I2C errors, increase the retry count. 2013-01-26 15:13:30 -08:00
px4dev
2a18d6466c Add a bus saturation test for px4io. 2013-01-26 14:36:31 -08:00
px4dev
6ba4cd04fe Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR). 2013-01-26 14:26:02 -08:00