Commit Graph

317 Commits

Author SHA1 Message Date
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 a35d214d98 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-26 21:30:05 +01:00
Lorenz Meier dee0a30e16 Hotfix: ensure PWM output on IO and FMU stops when disarming 2013-02-26 21:27:33 +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
px4dev 3d53b1d551 Fix it here, too. 2013-02-24 11:50:57 -08:00
px4dev ccbd5a6372 No, really fix it this time. 2013-02-24 11:48:52 -08:00
px4dev 186d329722 Fix search-and-replace error. 2013-02-24 11:47:56 -08:00
px4dev 8c7c6b201c Merge branch 'px4io-i2c-memory-squeeze' of https://github.com/PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 11:43:09 -08:00
px4dev 923a7cc505 Add an interrupt-safe way of comparing a timestamp with the current time.
Add an interrupt-safe way of storing the current time into a timestamp.
2013-02-24 11:41:26 -08: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 e896944adc ms5611: try to measure the performance cost of I2C timeouts 2013-02-19 14:45:45 +11: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
Andrew Tridgell b53d34a3f0 px4fmu: add support for write() interface for PWM output
this matches the PX4IO interface
2013-02-18 08:32:49 +11:00
Andrew Tridgell d6c108d870 px4fmu: added publication of input_rc ORB values
this allows for PPM input with no IO board
2013-02-18 08:32:25 +11:00
Lorenz Meier 520a2b4174 Merge pull request #198 from PX4/nuttx-merge-5596
Nuttx merge 5596
2013-02-17 09:14:12 -08:00
Lorenz Meier 219279ac82 Merge branch 'px4io-i2c' into px4io-i2c-nuttx 2013-02-17 18:13:09 +01: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 d677512981 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c-nuttx 2013-02-17 16:33:59 +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
Lorenz Meier 8f8e30052b Merged 2013-02-17 15:29:31 +01:00
Andrew Tridgell 04bea8678e Merged debuglevel command from Tridge 2013-02-17 13:03:36 +01:00
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
px4dev 8cb583cf80 Assorted compile fixes. 2013-02-06 23:50:55 -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