Commit Graph

  • 9527119f73 Slightly improved delay logic for the USB host patacongo 2012-08-28 22:28:49 +00:00
  • 68ac20cc3a fixed range of debug printing Lorenz Meier 2012-08-28 22:50:47 +02:00
  • a1963805e7 left debug output active to allow finishing off this issue Lorenz Meier 2012-08-28 22:48:00 +02:00
  • 4794a491c1 This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT patacongo 2012-08-28 20:47:09 +00:00
  • 5b81a51a82 Merge branch 'params' of github.com:PX4/Firmware Lorenz Meier 2012-08-28 21:44:38 +02:00
  • 8e68b6f0af Ooops... forgot to add lib_perror.c to the Make.defs file patacongo 2012-08-28 19:43:42 +00:00
  • f53d3ecc71 Add perror() patacongo 2012-08-28 19:01:14 +00:00
  • 30b670a6ee Merge branch 'NuttX/master' px4dev 2012-08-28 09:43:37 -07:00
  • 936940abc9 Force a parameter update when the sensors thread starts. px4dev 2012-08-28 09:14:59 -07:00
  • 6901a85323 Make the task printer work with our usual config. Tough to detect the correct configuration here. px4dev 2012-08-28 09:14:13 -07:00
  • bbe3db55f2 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler patacongo 2012-08-28 14:40:12 +00:00
  • fa32184973 params debugging Lorenz Meier 2012-08-28 13:56:39 +02:00
  • d8210a8e2f Implemented missing IOCTLs to set MPU scalings Lorenz Meier 2012-08-28 11:30:45 +02:00
  • 9a750ae698 Correct scaling for calibration routines Lorenz Meier 2012-08-28 11:30:30 +02:00
  • a0925e4703 Ramped up MAVLink stack size as real use seems to need it Lorenz Meier 2012-08-28 08:50:47 +02:00
  • 2fca24f803 Added missing calibration announcement for gyro cal in commander Lorenz Meier 2012-08-28 08:50:23 +02:00
  • 0bc9cfd0f9 Adjust PPM input timing to deal with FrSky's fairly sloppy CPPM implementation px4dev 2012-08-27 21:19:27 -07:00
  • e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. px4dev 2012-08-27 19:42:40 -07:00
  • 064743fe72 Some STM32 USB OTG FS driver fixes patacongo 2012-08-27 22:27:03 +00:00
  • 36a8b00ab1 Added sensor offset setting Lorenz Meier 2012-08-27 23:43:56 +02:00
  • 2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming Lorenz Meier 2012-08-27 22:57:20 +02:00
  • 2a6a151342 Added common conversion functions Lorenz Meier 2012-08-27 22:55:19 +02:00
  • 018beb7f1b Fix some NAK race conditions in control transfers (there are more) patacongo 2012-08-27 19:23:40 +00:00
  • b090298b12 Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before. Lorenz Meier 2012-08-27 17:24:17 +02:00
  • ba1adb705f Dequote Kconfig strings that may be used as components of a path patacongo 2012-08-27 14:07:17 +00:00
  • 97d9e67e67 Really ugly but safe hack to make 30 deg rotations work Lorenz Meier 2012-08-27 15:44:50 +02:00
  • 967c0869a9 Cleaned up MPU driver slightly Lorenz Meier 2012-08-27 09:48:16 +02:00
  • 248bb11d93 removed stop() from I2C driver startup routines, work in progress on MPU scaling Lorenz Meier 2012-08-27 09:08:34 +02:00
  • 58b51743f2 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip Lorenz Meier 2012-08-27 07:25:05 +02:00
  • 4636d41390 Because kconfig can't do arithmetic. px4dev 2012-08-26 18:16:31 -07:00
  • e352171029 Pull configurations into line with current NuttX layout. px4dev 2012-08-26 17:56:46 -07:00
  • 22b390a9eb Play with kconfig a bit. Not ready for use yet. px4dev 2012-08-26 17:56:11 -07:00
  • ce9b97b8f5 More patches/bugfixes from Kate patacongo 2012-08-26 23:29:37 +00:00
  • e214981d11 Merge branch 'NuttX/master' px4dev 2012-08-26 16:26:39 -07:00
  • 029bbeb3db Add terminating NULL to argv[] list patacongo 2012-08-26 22:28:21 +00:00
  • 61fccacd85 waitpid(): Move some logic inside of a critical section patacongo 2012-08-26 22:00:38 +00:00
  • 2963dc679a Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love Lorenz Meier 2012-08-26 23:48:16 +02:00
  • fe493d8bb8 Fix some list handling associated with priority inheritance patacongo 2012-08-26 21:35:14 +00:00
  • 56e66a80cd Printing fixes Lorenz Meier 2012-08-26 15:01:08 +02:00
  • dfa5cc52d5 MS5611 test is now printing floats. Note that the issue with the scheduled reads of the sensor started BEFORE this change and is thus unrelated. Lorenz Meier 2012-08-26 14:52:44 +02:00
  • 848c156140 Added negative float printing to test range Lorenz Meier 2012-08-26 14:51:52 +02:00
  • 207b077d8a Cleaned up scaling / offset handling for mag and gyro / acc Lorenz Meier 2012-08-26 14:51:33 +02:00
  • 6026595d83 Fixed axis assignment and raw value outputs. Scaling and offsets to be done Lorenz Meier 2012-08-26 13:51:18 +02:00
  • 60311a3778 We aren't using counting semaphores with multiple holders, and enabling this setting causes bad things to happen in some cases, so turn it off again. px4dev 2012-08-26 03:30:20 -07:00
  • 656bc9e2ce Documentation, cleanup. px4dev 2012-08-25 19:56:29 -07:00
  • bdfcff9bc9 Merge branch 'local/c++_sensors' into px4dev_new_driver px4dev 2012-08-25 19:32:43 -07:00
  • 505ebc57bd Merge branch 'master' into px4dev_new_driver px4dev 2012-08-25 19:31:58 -07:00
  • 234b746a73 More folder/file ignores. px4dev 2012-08-25 19:31:21 -07:00
  • 3df82e51b8 Defconfig tweak that might? be required. px4dev 2012-08-25 19:30:20 -07:00
  • efda95101f Streamline mag and baro topic advertisement now that handles are global. px4dev 2012-08-25 19:27:12 -07:00
  • 35009cd332 clean up an error message px4dev 2012-08-25 19:09:23 -07:00
  • 93f26e3c96 Factor out the ADC code. px4dev 2012-08-25 19:09:10 -07:00
  • 665014a3e0 Run accel/gyro at 500Hz as intended. px4dev 2012-08-25 18:31:12 -07:00
  • 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. px4dev 2012-08-25 18:27:34 -07:00
  • 26244c43f2 make the I2C and SPI device signons distinct px4dev 2012-08-25 18:26:21 -07:00
  • 5c6b6038a7 turn off debug output from the mpu6000 driver px4dev 2012-08-25 18:25:56 -07:00
  • 544d427155 fix warn() not printing error strings. px4dev 2012-08-25 18:25:39 -07:00
  • 92c723d008 Fix a missing 'end' that breaks task listing. px4dev 2012-08-25 18:25:15 -07:00
  • e05ef2bcab Let's do the sensors in C++. It's much tidier. px4dev 2012-08-25 16:13:38 -07:00
  • 30e0354fd8 Add some C++ friendliness. Not enough, but some. px4dev 2012-08-25 16:12:48 -07:00
  • f2ab85756c This field can't be const, it's written to. px4dev 2012-08-25 16:12:27 -07:00
  • e51b23d309 Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller. px4dev 2012-08-25 13:14:32 -07:00
  • e5e2d7216c Make it non-fatal to perform SPI transfers from interrupt context. px4dev 2012-08-25 13:14:01 -07:00
  • 380d136483 Fixed a few readout bugs in sensors app Lorenz Meier 2012-08-25 21:44:01 +02:00
  • b0493e9aec Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver Lorenz Meier 2012-08-25 21:31:09 +02:00
  • 23d8b69e3d Sensor drivers should run all the time, not just when their device is open. px4dev 2012-08-25 11:52:44 -07:00
  • 731621a309 Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver Lorenz Meier 2012-08-25 20:42:05 +02:00
  • 0dc0a0539d Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors. px4dev 2012-08-25 10:53:14 -07:00
  • 656596896a Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver Lorenz Meier 2012-08-25 19:30:43 +02:00
  • 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test Lorenz Meier 2012-08-25 19:16:12 +02:00
  • d6b8fcdcf0 Prep for 6.21 release patacongo 2012-08-25 16:40:31 +00:00
  • 4456ca8827 Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers. px4dev 2012-08-25 00:12:11 -07:00
  • 20c7cf9db9 Update STM32 USB OTG FS host driver -- the driver is now marginally functional patacongo 2012-08-24 22:16:09 +00:00
  • f901a35bd4 Remove erroneous sensor read timing checks. px4dev 2012-08-24 08:55:30 -07:00
  • d55dd67d77 Remove spurious I2C clock frequency resets. px4dev 2012-08-24 08:18:18 -07:00
  • d12c09cc86 improvements / debugging on I2C drivers Lorenz Meier 2012-08-24 14:58:14 +02:00
  • 45e178eaa3 Made error message more verbose Lorenz Meier 2012-08-24 11:50:01 +02:00
  • 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 Lorenz Meier 2012-08-24 11:40:16 +02:00
  • a69c55f671 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_driver Lorenz Meier 2012-08-24 10:12:47 +02:00
  • 0472eeae05 Add EEPROM read/write performance counters. px4dev 2012-08-23 23:15:55 -07:00
  • 5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses. px4dev 2012-08-23 23:04:26 -07:00
  • bcee27c6cc Turn off the stock AT24xx EEPROM driver; we are going to use our own. px4dev 2012-08-23 23:03:13 -07:00
  • f28a757f92 We need to init the gyro subdevice, or there is no device node. Oops. px4dev 2012-08-23 20:32:13 -07:00
  • 5c6698b720 Merge branches 'px4dev_new_param' and 'px4dev_new_param' of https://github.com/PX4/Firmware into px4dev_new_param px4dev 2012-08-23 20:15:35 -07:00
  • 295e9da1ba Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers Lorenz Meier 2012-08-24 02:16:26 +02:00
  • 2ac3898301 Lots of defconfig changes for compatibility with the configuration tool patacongo 2012-08-23 22:46:36 +00:00
  • 0e44d3810e Removed old file Lorenz Meier 2012-08-24 00:01:35 +02:00
  • 62e07358b4 Ported almost everything to new param interface, ready for serious testing Lorenz Meier 2012-08-24 00:01:23 +02:00
  • 1dff49d24f STM32 OTG FS host driver: Fix some bad NAK handling patacongo 2012-08-23 21:13:24 +00:00
  • 73220bb854 Fixes several STM32 USB OTG FS host MSC write transfers patacongo 2012-08-23 19:50:04 +00:00
  • b07de1379d moved commander to new param interface Lorenz Meier 2012-08-23 20:45:28 +02:00
  • 112cd4a95b Updated to MAVLink v1.0.9, deleted v0.9 messages (anyway unsupported) Lorenz Meier 2012-08-23 16:57:42 +02:00
  • 88f75ebc00 Ported attitude controller to new param interface Lorenz Meier 2012-08-23 13:31:40 +02:00
  • a7266d539c Bolted new param interface into the sensors app, continuing porting across codebase Lorenz Meier 2012-08-23 09:44:26 +02:00
  • b378f7ecd9 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param Lorenz Meier 2012-08-23 07:44:38 +02:00
  • 72d9db9875 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param Lorenz Meier 2012-08-23 07:44:24 +02:00
  • 92594ba76a Hack bus reset support into the old-style hmc5883 driver. px4dev 2012-08-22 22:26:09 -07:00
  • 0f74d08960 I2C configuration options to support up_i2creset px4dev 2012-08-22 22:25:45 -07:00
  • a0b9c056d7 Add a bus reset on I2C error. Also add a mechanism for automated retries of operations. px4dev 2012-08-22 22:25:10 -07:00
  • a3b78163c3 Add locking to the I2C bus reset API to prevent pre-emption and conflict when resetting at the same time that another transaction attempts to use the bus. px4dev 2012-08-22 22:24:22 -07:00