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
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
px4dev
4456ca8827
Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
...
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
13 years ago
px4dev
f901a35bd4
Remove erroneous sensor read timing checks.
13 years ago
px4dev
d55dd67d77
Remove spurious I2C clock frequency resets.
13 years ago
Lorenz Meier
d12c09cc86
improvements / debugging on I2C drivers
13 years ago
Lorenz Meier
45e178eaa3
Made error message more verbose
13 years ago
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
13 years ago
px4dev
0472eeae05
Add EEPROM read/write performance counters.
13 years ago
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.
13 years ago
px4dev
f28a757f92
We need to init the gyro subdevice, or there is no device node. Oops.
13 years ago
Lorenz Meier
295e9da1ba
Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers
13 years ago
Lorenz Meier
0e44d3810e
Removed old file
13 years ago
Lorenz Meier
62e07358b4
Ported almost everything to new param interface, ready for serious testing
13 years ago
Lorenz Meier
b07de1379d
moved commander to new param interface
13 years ago
Lorenz Meier
88f75ebc00
Ported attitude controller to new param interface
13 years ago
Lorenz Meier
a7266d539c
Bolted new param interface into the sensors app, continuing porting across codebase
13 years ago
px4dev
a0b9c056d7
Add a bus reset on I2C error. Also add a mechanism for automated retries of operations.
13 years ago
Lorenz Meier
fa9f145b08
Fixed a bunch of issues in the arming state machine for multirotors, arming / disarming works fine now. Porting of various processes needed
13 years ago
px4dev
44ff4d4ee2
Fix parameter change advertisement to conform to API change.
13 years ago
px4dev
1eccfb7ccb
Add link to the BSON spec.
13 years ago
px4dev
88f0080a0f
Fix an architectural issue with the ORB that prevented publication from interrupt context.
...
ORB topic advertisements are now global handles that can be used in any context. It is still possible to open a topic node as a publisher, but it's not the default. As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
13 years ago