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.
13 years ago
px4dev
1a781c6c4a
Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes.
13 years ago
px4dev
f0286d1a10
Distinguish between the end of the top-level BSON object and an error so that parameter loading can complete.
13 years ago
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'…
13 years ago
Lorenz Meier
68ac20cc3a
fixed range of debug printing
13 years ago
Lorenz Meier
a1963805e7
left debug output active to allow finishing off this issue
13 years ago
patacongo
f53d3ecc71
Add perror()
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
13 years ago
px4dev
936940abc9
Force a parameter update when the sensors thread starts.
13 years ago
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
13 years ago
Lorenz Meier
fa32184973
params debugging
13 years ago
Lorenz Meier
d8210a8e2f
Implemented missing IOCTLs to set MPU scalings
13 years ago
Lorenz Meier
9a750ae698
Correct scaling for calibration routines
13 years ago
Lorenz Meier
a0925e4703
Ramped up MAVLink stack size as real use seems to need it
13 years ago
Lorenz Meier
2fca24f803
Added missing calibration announcement for gyro cal in commander
13 years ago
px4dev
e6f6a81d5b
Allow the EEPROM driver to consider itself started even if NXFFS fails to mount.
13 years ago
Lorenz Meier
36a8b00ab1
Added sensor offset setting
13 years ago
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
13 years ago
Lorenz Meier
2a6a151342
Added common conversion functions
13 years ago
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.
13 years ago
Lorenz Meier
97d9e67e67
Really ugly but safe hack to make 30 deg rotations work
13 years ago
Lorenz Meier
967c0869a9
Cleaned up MPU driver slightly
13 years ago
Lorenz Meier
248bb11d93
removed stop() from I2C driver startup routines, work in progress on MPU scaling
13 years ago
patacongo
ce9b97b8f5
More patches/bugfixes from Kate
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5056 7fd9a85b-ad96-42d3-883c-3090e2eb8679
13 years ago
patacongo
029bbeb3db
Add terminating NULL to argv[] list
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5055 7fd9a85b-ad96-42d3-883c-3090e2eb8679
13 years ago
Lorenz Meier
2963dc679a
Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love
13 years ago
patacongo
fe493d8bb8
Fix some list handling associated with priority inheritance
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5053 7fd9a85b-ad96-42d3-883c-3090e2eb8679
13 years ago
Lorenz Meier
56e66a80cd
Printing fixes
13 years ago
Lorenz Meier
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.
13 years ago
Lorenz Meier
848c156140
Added negative float printing to test range
13 years ago
Lorenz Meier
207b077d8a
Cleaned up scaling / offset handling for mag and gyro / acc
13 years ago
Lorenz Meier
6026595d83
Fixed axis assignment and raw value outputs. Scaling and offsets to be done
13 years ago
px4dev
656bc9e2ce
Documentation, cleanup.
13 years ago
px4dev
efda95101f
Streamline mag and baro topic advertisement now that handles are global.
...
Use perf counters for error counting in mag/baro drivers.
13 years ago
px4dev
35009cd332
clean up an error message
13 years ago
px4dev
93f26e3c96
Factor out the ADC code.
13 years ago
px4dev
665014a3e0
Run accel/gyro at 500Hz as intended.
13 years ago
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.
13 years ago
px4dev
26244c43f2
make the I2C and SPI device signons distinct
13 years ago
px4dev
5c6b6038a7
turn off debug output from the mpu6000 driver
13 years ago
px4dev
544d427155
fix warn() not printing error strings.
13 years ago
px4dev
e05ef2bcab
Let's do the sensors in C++. It's much tidier.
13 years ago
px4dev
30e0354fd8
Add some C++ friendliness. Not enough, but some.
13 years ago
px4dev
f2ab85756c
This field can't be const, it's written to.
13 years ago
px4dev
e51b23d309
Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller.
13 years ago
px4dev
e5e2d7216c
Make it non-fatal to perform SPI transfers from interrupt context.
13 years ago
Lorenz Meier
380d136483
Fixed a few readout bugs in sensors app
13 years ago
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.
13 years ago
px4dev
0dc0a0539d
Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors.
13 years ago
Lorenz Meier
8eeba595ee
Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test
13 years ago
patacongo
d6b8fcdcf0
Prep for 6.21 release
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
13 years ago