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
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
px4dev
8c22e2a092
Whitespace
13 years ago
px4dev
5f77561ed4
Fix output scaling for the hmc5883 driver. Add data checking, and fix an issue where the ORB topic could not be published due to being advertised in the wrong context.
13 years ago
px4dev
63831fa908
Fix an issue where the baro ORB topic was advertised from the wrong context and thus could not be published to.
13 years ago
px4dev
a0ae2cb175
Add a set of ORB topics for advertising actuator outputs.
...
This is part of \#7
13 years ago
Lorenz Meier
f3c1a7475d
Improved tuning for current attitude estimation hack, needs to be removed ASAP
13 years ago
px4dev
228fbb975a
New-style driver for the HMC5883 on I2C.
13 years ago
Lorenz Meier
c8645a7e53
Added more params, old read-in code not yet replaced
13 years ago
Lorenz Meier
89f36087da
Fixed and improved error messages for MAVLink param read / write
13 years ago
px4dev
14e60e9b4d
Back out a change that snuck in from another branch.
13 years ago
px4dev
503cb0ea03
Add an ORB topic that can be subscribed for notification of changes in the parameter set.
13 years ago
px4dev
3246568c82
sscanf field widths seem to be broken, don't use them.
13 years ago
Lorenz Meier
d1261e227c
Porting to new param interface, updated mixers
13 years ago
px4dev
4ddf93bd06
Tweak the MAVlink parameter load/save path to deal with NXFFS.
13 years ago
Lorenz Meier
821306bc4d
Allow to disable USB interface (but leave it enabled as default), give uORB more stack space
13 years ago
Lorenz Meier
d17bbc7a0b
Minor fixes to EEPROM params
13 years ago
pixhawk
801697c540
fixed sensors error printing
13 years ago
Lorenz Meier
78db6c990b
Testing larger stack for sensors app
13 years ago
px4dev
f20c61ccdf
Various BSON codec fixes. Simple load/save test is working now.
13 years ago
Lorenz Meier
aaf2a23f18
Reduced optimistic send rates, better mag scaling
13 years ago
Lorenz Meier
0d28187960
Fixed attitude mag scaling
13 years ago
Lorenz Meier
767f253976
Fixed attitude rate limiting
13 years ago
px4dev
cc7a9c9b66
Update for the new BSON coders. Not working right yet.
13 years ago
px4dev
26c2c2d2cf
Goodbye to the Mongo BSON codec; too big. Hello to a really small SAX-style decoder and matching encoder.
13 years ago