aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hmc5883
Commit message (Collapse)AuthorAgeFilesLines
* Merge sensor_startup_cleanupLorenz Meier2014-07-162-5/+14
|\
| * HMC driver: Full initializationLorenz Meier2014-07-162-0/+7
| |
| * HMC5883 driver: stack size adjustments of start handler and start return ↵Lorenz Meier2014-07-162-6/+8
| | | | | | | | review / comments
* | Merge branch 'ext_mag_param' into loggingLorenz Meier2014-07-161-2/+7
|\ \
| * | Hotfix: Allow the HMC5883 driver to continue to operate in auto modeLorenz Meier2014-07-161-2/+7
| |/
* | hmc5883: Support for three sensorsLorenz Meier2014-07-151-4/+20
| |
* | Do not initialize variable if value is never readLorenz Meier2014-07-151-1/+2
| |
* | Merged masterLorenz Meier2014-07-151-75/+252
|\|
| * hmc5883: periodically check the config and range registersAndrew Tridgell2014-07-121-27/+114
| | | | | | | | | | | | | | | | | | | | | | this copes with I2C comms errors causing the range or config registers to become corrupted, leading to bad reading. This is easily reproducible with a 1.3m I2C cable in the same run of cable as a GPS UART cable. The error happens every half hour or so. Conflicts: mavlink/include/mavlink/v1.0 src/drivers/hmc5883/hmc5883.cpp
| * hmc5883: setup device typeAndrew Tridgell2014-07-121-0/+2
| |
| * HMC5883 post merge cleanupLorenz Meier2014-07-081-1/+2
| |
| * hmc5883: fixed build warningsAndrew Tridgell2014-07-081-1/+2
| |
| * hmc5883: fixed driver startup when trying both busesAndrew Tridgell2014-07-081-2/+2
| |
| * hmc5883: added -C option to calibrate on startupAndrew Tridgell2014-07-081-7/+35
| | | | | | | | | | Conflicts: src/drivers/hmc5883/hmc5883.cpp
| * added support for two instances of hmc5883 driverAndrew Tridgell2014-07-081-43/+72
| |
| * hmc5883: added support for -R rotation optionAndrew Tridgell2014-07-081-8/+37
| |
| * Fix compiler warningsDon Gagne2014-06-291-2/+2
| |
* | Introduce HMC5883 multi-device supportLorenz Meier2014-06-101-2/+2
|/
* hmc5883: Change static topic publication to the class member it should be, ↵Lorenz Meier2014-05-131-4/+6
| | | | initialize collect phase (linter find)
* HMC5883: Do not spam the console on error and make everything worse.Lorenz Meier2014-04-201-2/+2
|
* hmc5883: properly reset mag to normal state on calibration failAndrew Tridgell2014-04-051-15/+17
| | | | and add current output in "hmc5883 info"
* 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