17418 Commits

Author SHA1 Message Date
px4dev
3df82e51b8 Defconfig tweak that might? be required. 2012-08-25 19:30:20 -07:00
px4dev
efda95101f Streamline mag and baro topic advertisement now that handles are global.
Use perf counters for error counting in mag/baro drivers.
2012-08-25 19:27:12 -07:00
px4dev
35009cd332 clean up an error message 2012-08-25 19:09:23 -07:00
px4dev
93f26e3c96 Factor out the ADC code. 2012-08-25 19:09:10 -07:00
px4dev
665014a3e0 Run accel/gyro at 500Hz as intended. 2012-08-25 18:31:12 -07:00
px4dev
a1b17326a4 Fix sensor subscriptions.
Default to publishing.
Make the sensors command and the sensors task visibly distinct in a task listing.
Correctly check for bma180/l3gd20 in use.
2012-08-25 18:27:34 -07:00
px4dev
26244c43f2 make the I2C and SPI device signons distinct 2012-08-25 18:26:21 -07:00
px4dev
5c6b6038a7 turn off debug output from the mpu6000 driver 2012-08-25 18:25:56 -07:00
px4dev
544d427155 fix warn() not printing error strings. 2012-08-25 18:25:39 -07:00
px4dev
92c723d008 Fix a missing 'end' that breaks task listing. 2012-08-25 18:25:15 -07:00
px4dev
e05ef2bcab Let's do the sensors in C++. It's much tidier. 2012-08-25 16:13:38 -07:00
px4dev
30e0354fd8 Add some C++ friendliness. Not enough, but some. 2012-08-25 16:12:48 -07:00
px4dev
f2ab85756c This field can't be const, it's written to. 2012-08-25 16:12:27 -07:00
px4dev
e51b23d309 Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller. 2012-08-25 13:15:23 -07:00
px4dev
e5e2d7216c Make it non-fatal to perform SPI transfers from interrupt context. 2012-08-25 13:15:23 -07:00
Lorenz Meier
380d136483 Fixed a few readout bugs in sensors app 2012-08-25 21:44:01 +02:00
Lorenz Meier
b0493e9aec Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 21:31:09 +02:00
px4dev
23d8b69e3d Sensor drivers should run all the time, not just when their device is open.
Disable this for the mpu6000 driver though, as it's currently busted in that regard.
2012-08-25 11:52:44 -07:00
Lorenz Meier
731621a309 Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 20:42:05 +02:00
px4dev
0dc0a0539d Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors. 2012-08-25 10:53:14 -07:00
Lorenz Meier
656596896a Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 19:30:43 +02:00
Lorenz Meier
8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
patacongo
d6b8fcdcf0 Prep for 6.21 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-25 16:40:31 +00:00
px4dev
4456ca8827 Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
2012-08-25 00:12:11 -07:00
patacongo
20c7cf9db9 Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5051 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-24 22:16:09 +00:00
px4dev
f901a35bd4 Remove erroneous sensor read timing checks. 2012-08-24 08:55:30 -07:00
px4dev
d55dd67d77 Remove spurious I2C clock frequency resets. 2012-08-24 08:18:18 -07:00
Lorenz Meier
d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier
45e178eaa3 Made error message more verbose 2012-08-24 11:50:01 +02:00
Lorenz Meier
a1b99a3f03 Kicked out mix_and_link, deleted old MPU driver, disabled (still needed for reference) old HMC and MS5611 drivers. Removed driver init from up_nsh.c. Reworked fixedwing_control to be closer to up-to-date api, still more clean up needed. Fixed a bug that limited the motor thrust for multirotor control 2012-08-24 11:40:42 +02:00
Lorenz Meier
a69c55f671 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-24 10:12:47 +02:00
px4dev
0472eeae05 Add EEPROM read/write performance counters. 2012-08-23 23:15:55 -07:00
px4dev
5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
px4dev
bcee27c6cc Turn off the stock AT24xx EEPROM driver; we are going to use our own. 2012-08-23 23:03:13 -07:00
px4dev
f28a757f92 We need to init the gyro subdevice, or there is no device node. Oops. 2012-08-23 20:32:13 -07:00
px4dev
5c6698b720 Merge branches 'px4dev_new_param' and 'px4dev_new_param' of https://github.com/PX4/Firmware into px4dev_new_param 2012-08-23 20:15:35 -07:00
Lorenz Meier
295e9da1ba Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers 2012-08-24 02:16:26 +02:00
patacongo
2ac3898301 Lots of defconfig changes for compatibility with the configuration tool
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5050 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 22:46:36 +00:00
Lorenz Meier
0e44d3810e Removed old file 2012-08-24 00:01:35 +02:00
Lorenz Meier
62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +02:00
patacongo
1dff49d24f STM32 OTG FS host driver: Fix some bad NAK handling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5049 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 21:13:24 +00:00
patacongo
73220bb854 Fixes several STM32 USB OTG FS host MSC write transfers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5048 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 19:50:04 +00:00
Lorenz Meier
b07de1379d moved commander to new param interface 2012-08-23 20:45:28 +02:00
Lorenz Meier
112cd4a95b Updated to MAVLink v1.0.9, deleted v0.9 messages (anyway unsupported) 2012-08-23 16:57:42 +02:00
Lorenz Meier
88f75ebc00 Ported attitude controller to new param interface 2012-08-23 13:31:40 +02:00
Lorenz Meier
a7266d539c Bolted new param interface into the sensors app, continuing porting across codebase 2012-08-23 09:44:26 +02:00
Lorenz Meier
b378f7ecd9 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:38 +02:00
Lorenz Meier
72d9db9875 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:24 +02:00
px4dev
92594ba76a Hack bus reset support into the old-style hmc5883 driver. 2012-08-22 22:26:09 -07:00
px4dev
0f74d08960 I2C configuration options to support up_i2creset 2012-08-22 22:25:45 -07:00