px4dev
1e80bd544b
Make the buffer ring work.
...
Avoid reading from the misaligned structure more than once.
Discard some redundant whitespace / prototype.
2012-08-30 22:32:42 -07:00
patacongo
b121fbbb00
Add configurable application entry point
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 20:13:50 +00:00
patacongo
6ab6c46f2f
Add USB host support for the STM3240G-EVAL board
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5069 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 18:18:47 +00:00
px4dev
2e4424f405
Revert "Reboot board on critical sensor failure"
...
This reverts commit e92db089ce
.
2012-08-30 09:22:53 -07:00
patacongo
ea82ad4344
Remove documentation from defconfig files so that they are more maintainable
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5068 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 15:44:02 +00:00
Lorenz Meier
e92db089ce
Reboot board on critical sensor failure
2012-08-30 16:51:40 +02:00
px4dev
45885f15dc
Fix the readout transfer size.
2012-08-29 23:25:14 -07:00
px4dev
da3cd24352
Be a bit more careful with which bits we stuff into the l3gd20 registers.
2012-08-29 23:16:38 -07:00
px4dev
d0898cb947
Something approximating a driver for the L3GD20
2012-08-29 22:55:15 -07:00
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