Commit Graph

287 Commits

Author SHA1 Message Date
Lorenz Meier 400b073aa3 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-16 16:46:57 +01:00
Lorenz Meier 781845587c Merge pull request #195 from PX4/gps
GPS driver rewrite
2013-02-15 13:46:03 -08:00
Lorenz Meier dd858f7056 Merge pull request #197 from PX4/mpu6000_fixes
MPU6000 driver improvements
2013-02-13 06:31:42 -08: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
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
Julian Oes df6cf142e7 Another rewrite: most of the polling, reading and writing is now inside the GPS classes 2013-02-08 11:05:57 -08:00
Andrew Tridgell 1fed72caf8 mpu6000: support setting the DLPF filter frequency
APM uses this for different aircraft types
2013-02-08 16:21:00 +01:00
Andrew Tridgell 508d6d2b4f drivers/mpu6000: add default product ID case 2013-02-08 16:20:29 +01:00
Julian Oes a88b9f4eef Restructered the parsing/configuring, MTK working 2013-02-07 14:48:00 -08:00
Julian Oes d36eb8a3fc Sped up MTK configuration but the detection time can still be improved: timeouts/usleeps 2013-02-06 23:25:09 -08:00
Julian Oes b620136af4 Added support for MTK revision 19, working condition but configuration of MTK is very slow and needs improvement 2013-02-06 22:58:52 -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
Julian Oes 0d54661ce9 Added MTK 1.6, works after some seconds, work in progress 2013-02-06 20:04:49 -08:00
Julian Oes 6ed5d97aea Merged mtk16 and mtk19 helper classes, configure() now writes directly instead of buffering 2013-02-06 18:47:32 -08:00
Julian Oes d962e6c403 Removed some unnecessairy flags, home position back working 2013-02-06 13:50:32 -08:00
Julian Oes fc4be3e728 Changed gps position topic mostly to SI units and float, removed counters and added specifig timestamps 2013-02-06 12:41:05 -08:00
Julian Oes a79ad17f09 Changed parse interface, differentiation between config needed and position updated, working but might be solved more elegant 2013-02-05 23:16:32 -08:00
Lorenz Meier fbbeef7e29 Update on every position change, do not wait for other measurements 2013-02-05 18:54:06 +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 368ba0056f Added option to select port name, minor tweaks to status printing, sacrificied 20 bytes for better status / user debuggability 2013-02-05 13:47:31 +01:00
Julian Oes 53c11f87cb Small corrections 2013-02-04 17:57:30 -08:00
Julian Oes 039d394c20 Merged with newer, cleaned up code, fixed the checksum error 2013-02-04 16:27:01 -08:00
Lorenz Meier cb0fd834ae Minor polishing, fixed rate and last measurement indication 2013-02-04 18:14:55 +01:00
Lorenz Meier d4bd7225ba More cleanup 2013-02-04 18:00:10 +01:00
Lorenz Meier 13ec067570 Minor quick cleanups 2013-02-04 17:55:58 +01:00
Lorenz Meier 3fd8c73bfb Disabled old-style gps interface, enabled GPS driver 2013-02-04 15:58:53 +01:00
Lorenz Meier 50b736333f Reduced, but functional u-blox series driver 2013-02-04 15:57:12 +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
px4dev 338f769202 Merge branch 'master' into px4io-i2c 2013-01-26 21:17:39 -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 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 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 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 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