Lorenz Meier
26d45d5e34
Silence MS5611 driver, the perf command still captures the error count / rate. Unfortunately this is necessary as general users are concerned about something that is (at a reasonable rate) not actual safety critical.
12 years ago
Lorenz Meier
802d0ae2fa
Made dtors virtual, tested on IO and FMU
12 years ago
Andrew Tridgell
e896944adc
ms5611: try to measure the performance cost of I2C timeouts
12 years ago
Lorenz Meier
167ec25c4f
Fixed altitude jump issue, hunted down and fix by Andrew Tridgell.
12 years ago
px4dev
636e0cc56a
It looks like retrying reads from the ms5611 is not safe either.
12 years ago
px4dev
666d3a401b
Rename ::start to ::start_cycle to avoid confusion with the other start function.
...
Only enable I2C retries on operations that have no side-effects.
12 years ago
px4dev
e0f83af96f
Reset the collection state machine on all I2C errors, increase the retry count.
12 years ago
px4dev
0272fc49aa
Build fix due to missing include.
13 years ago
px4dev
6cec7f131e
Minor board.h changes.
13 years ago
px4dev
2fc1032069
Major formatting/whitespace cleanup
13 years ago
px4dev
c3fe915b44
Checkpoint - moving things out of the NuttX configs/*/src directories
13 years ago
px4dev
22537447db
Adjust to changes in the work queue API.
13 years ago
Lorenz Meier
eb01cd6fd3
Changed a critical section to double precision calculation. It may not be necessary, but lets not risk precision unless we have properly analyzed what numerical precision is required.
13 years ago
px4dev
00ba1d629b
Redo the math in the ms5611 driver to a) avoid re-computing scaling factors for every pressure measurement, b) be perhaps more readable and follow the data sheet more closely, and c) support calibration of the MSL pressure.
13 years ago
Lorenz Meier
248bb11d93
removed stop() from I2C driver startup routines, work in progress on MPU scaling
13 years ago
Lorenz Meier
56e66a80cd
Printing fixes
13 years ago
Lorenz Meier
207b077d8a
Cleaned up scaling / offset handling for mag and gyro / acc
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
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
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
Lorenz Meier
d12c09cc86
improvements / debugging on I2C drivers
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
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
735f8ffa3d
Config tweaks to enable the new-style ms5611 driver.
13 years ago
Lorenz Meier
139cd09176
Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested
13 years ago
px4dev
8a365179ea
Fresh import of the PX4 firmware sources.
13 years ago