15635 Commits

Author SHA1 Message Date
px4dev
55fe5088be enable the bma180 and l3gd20 drivers 2012-08-29 21:40:49 -07:00
px4dev
d0f10a3550 driver work in progress 2012-08-29 21:40:48 -07:00
px4dev
732e23a883 Add some documentation for the warn/err functions. 2012-08-29 21:38:52 -07:00
Lorenz Meier
c816cca816 fixed a param save bug 2012-08-29 22:56:29 +02:00
Lorenz Meier
676daf7c46 minor changes for default options, closing properly all subscriptions in multirotor att control now on exit 2012-08-29 22:33:06 +02:00
patacongo
0abce6171e The USB host driver has been verified on the STM32F4Discovery
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5067 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-29 19:38:53 +00:00
patacongo
24a61a9c47 Add USB host support to the STM32F4Discovery board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5066 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-29 17:41:43 +00:00
Lorenz Meier
7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
Lorenz Meier
7d87f2b06e Fixed calibration, added calibration for accel, working on further filter improvements 2012-08-29 14:20:55 +02:00
Lorenz Meier
cbf020de87 Minor improvements to ardrone interface, ready for prime time 2012-08-29 09:30:57 +02:00
px4dev
6fd7e12e13 Sorry Tait, Bryan… your body is not welcome. 2012-08-29 00:08:02 -07:00
px4dev
255b0f68af Let's not get too smart; we can't const these. 2012-08-28 23:37:23 -07:00
px4dev
268db3dd9b mavlink parameter load should discard all current parameters before loading from EEPROM 2012-08-28 22:55:56 -07:00
px4dev
168e32cd1b Try not to return an unconditional error from the parameter save path.
Simplify the test for no parameter file on the parameter load path.
2012-08-28 22:54:28 -07:00
px4dev
1a781c6c4a Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes. 2012-08-28 22:15:25 -07:00
px4dev
f0286d1a10 Distinguish between the end of the top-level BSON object and an error so that parameter loading can complete. 2012-08-28 21:52:26 -07:00
px4dev
952f862dad Disable a possibly-bogus assertion that is bringing us a lot of grief right now. 2012-08-28 21:13:40 -07:00
px4dev
1e90fd5bec Let's not leave the R/C channel scaling factor as a NAN or INF. It makes many things sad.
Also, clean up the calculation of same.  Really, is it easier to type out the same calculation 8 times, or perhaps you might be interested in this thing we call a 'loop'…
2012-08-28 21:13:00 -07:00
patacongo
6389a944b5 I think the STM32 UST OTG FS host driver is finally finished
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5065 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 23:36:58 +00:00
patacongo
9527119f73 Slightly improved delay logic for the USB host
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5064 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 22:28:49 +00:00
Lorenz Meier
68ac20cc3a fixed range of debug printing 2012-08-28 22:50:47 +02:00
Lorenz Meier
a1963805e7 left debug output active to allow finishing off this issue 2012-08-28 22:48:00 +02:00
patacongo
4794a491c1 This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5063 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 20:47:09 +00:00
Lorenz Meier
5b81a51a82 Merge branch 'params' of github.com:PX4/Firmware 2012-08-28 21:44:38 +02:00
patacongo
8e68b6f0af Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5062 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:43:42 +00:00
patacongo
f53d3ecc71 Add perror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:01:14 +00:00
px4dev
30b670a6ee Merge branch 'NuttX/master'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 09:43:37 -07:00
px4dev
936940abc9 Force a parameter update when the sensors thread starts. 2012-08-28 09:15:12 -07:00
px4dev
6901a85323 Make the task printer work with our usual config. Tough to detect the correct configuration here. 2012-08-28 09:15:12 -07:00
patacongo
bbe3db55f2 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 14:40:12 +00:00
Lorenz Meier
fa32184973 params debugging 2012-08-28 13:56:39 +02:00
Lorenz Meier
d8210a8e2f Implemented missing IOCTLs to set MPU scalings 2012-08-28 11:30:45 +02:00
Lorenz Meier
9a750ae698 Correct scaling for calibration routines 2012-08-28 11:30:30 +02:00
Lorenz Meier
a0925e4703 Ramped up MAVLink stack size as real use seems to need it 2012-08-28 08:50:47 +02:00
Lorenz Meier
2fca24f803 Added missing calibration announcement for gyro cal in commander 2012-08-28 08:50:23 +02:00
px4dev
0bc9cfd0f9 Adjust PPM input timing to deal with FrSky's fairly sloppy CPPM implementation 2012-08-27 21:19:27 -07:00
px4dev
e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. 2012-08-27 19:42:40 -07:00
patacongo
064743fe72 Some STM32 USB OTG FS driver fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5059 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 22:27:03 +00:00
Lorenz Meier
36a8b00ab1 Added sensor offset setting 2012-08-27 23:43:56 +02:00
Lorenz Meier
2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming 2012-08-27 22:57:20 +02:00
Lorenz Meier
2a6a151342 Added common conversion functions 2012-08-27 22:55:19 +02:00
patacongo
018beb7f1b Fix some NAK race conditions in control transfers (there are more)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5058 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 19:23:40 +00:00
Lorenz Meier
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. 2012-08-27 17:24:17 +02:00
patacongo
ba1adb705f Dequote Kconfig strings that may be used as components of a path
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5057 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 14:07:17 +00:00
Lorenz Meier
97d9e67e67 Really ugly but safe hack to make 30 deg rotations work 2012-08-27 15:44:50 +02:00
Lorenz Meier
967c0869a9 Cleaned up MPU driver slightly 2012-08-27 09:48:16 +02:00
Lorenz Meier
248bb11d93 removed stop() from I2C driver startup routines, work in progress on MPU scaling 2012-08-27 09:08:34 +02:00
Lorenz Meier
58b51743f2 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip 2012-08-27 07:25:05 +02:00
px4dev
4636d41390 Because kconfig can't do arithmetic. 2012-08-26 18:16:31 -07:00
px4dev
e352171029 Pull configurations into line with current NuttX layout. 2012-08-26 17:56:46 -07:00