aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hmc5883
Commit message (Collapse)AuthorAgeFilesLines
* Merged origin/master into pubsub_cleanupLorenz Meier2014-02-091-74/+87
|\
| * hmc5883: much faster calibration code with bug fixesAndrew Tridgell2014-01-231-73/+87
| | | | | | | | | | | | | | | | | | | | | | this fixes two bugs in "hmc5883 calibrate" and also makes it much faster, so it can be run on every boot. It now uses the correct 2.5Ga range when calibrating, and fixes the expected values for X/Y/Z axes The basic calibration approach is similar to the APM2 driver, waiting for 10 good samples after discarding some initial samples. That allows the calibration to run fast enough that it can be done on every boot without causing too much boot delay.
* | Support for publication blocking: HMC5883Lorenz Meier2014-01-121-18/+19
|/
* hmc5883: use register_class_devname()Andrew Tridgell2013-12-101-12/+23
|
* Made all usual suspects default to their custom names and only register the ↵Lorenz Meier2013-12-071-3/+4
| | | | default name if its not already taken by someone else
* Merged status changesLorenz Meier2013-10-061-0/+1
|\
| * drivers: report error_count in drivers where possibleAndrew Tridgell2013-09-121-0/+1
| |
* | Minor cleanups in the driversLorenz Meier2013-09-131-4/+0
|/
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-5/+5
| | | | clients so they aren't dancing around the linker anymore.
* hmc5883: use a RingBuffer to hold report queueAndrew Tridgell2013-09-121-67/+40
| | | | | this simplifies the queue handling, and avoids the need for a start()/stop() on queue resize
* hmc5883: add perf count, and removed unnecessary checks for -32768Andrew Tridgell2013-09-121-4/+6
| | | | we've already checked that the absolute value is <= 2048
* Add setting queue depth to HMC testLorenz Meier2013-09-081-1/+5
|
* Workaround to prevent crash during mag calibrationJulian Oes2013-09-051-5/+6
|
* avoid counters going above limit in INCREMENT()Andrew Tridgell2013-08-281-1/+1
| | | | | | | when using INCREMENT() the counter would temporarily read equal to limit, which could cause an issue if the task is preempted. (this macro should be in a common header, though which header?)
* free perf counters in driver destructorAndrew Tridgell2013-08-281-0/+5
| | | | | this prevents drivers that probe on one bus then instantiate on another from leaving behind stale/duplicate perf counters
* Workaround to get the HMC5883 default rate rightJulian Oes2013-08-211-4/+4
|
* Add reset and samplerate ioctl to HMC5883 driverJulian Oes2013-08-211-47/+60
|
* Improved LSM303D driver, plus some fixes to the HMC5883Julian Oes2013-08-201-0/+5
|
* Sorry, finally got the axes of the external mag rightJulian Oes2013-08-201-2/+2
|
* Corrected orientation of external magJulian Oes2013-08-191-4/+5
|
* Add ioctl to find out if mag is external or onboardJulian Oes2013-08-181-5/+19
|
* Restructure things so that the PX4 configs move out of the NuttX tree, and ↵px4dev2013-08-021-1/+1
| | | | | | most of the PX4-specific board configuration data moves out of the config and into the board driver. Rename some directories that got left behind in the great board renaming.
* Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB ↵Lorenz Meier2013-07-181-1/+2
| | | | connection operation via QGC
* Hotfix: Completely silencing HMC5883 probing to not confuse usersLorenz Meier2013-05-281-3/+1
|
* Hotfix: Made HMC driver more verbose to prevent false alarmLorenz Meier2013-05-271-0/+2
|
* hmc5883: fixed use of onboard I2C compassAndrew Tridgell2013-05-041-4/+10
|
* Allowed for onboard bus to be not presentLorenz Meier2013-04-271-0/+4
|
* Made HMC bus-agnosticLorenz Meier2013-04-271-10/+24
|
* Moved the bulk of sensor drivers to the new worldLorenz Meier2013-04-272-0/+1490