aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hmc5883
Commit message (Collapse)AuthorAgeFilesLines
* hmc5883: read the temperature every 10 samples when enabledAndrew Tridgell2015-04-081-19/+33
|
* hmc5883: added -T option to enable temperature compensationAndrew Tridgell2015-04-081-21/+18
| | | | this also fixes the behaviour of the -C option
* hmc5883: try to cope with genuine 5883 partsAndrew Tridgell2015-04-081-1/+25
| | | | | if we can't read the temperature registers 10 times then disable the feature.
* hmc5883: added support for temperature compensationAndrew Tridgell2015-04-081-4/+105
| | | | added "hmc5883 tempon" and "hmc5883 tempoff" to enable/disable
* HMC5883: Temp dummy valueLorenz Meier2015-03-251-0/+3
|
* fix code style if trivial one line differenceDaniel Agar2015-03-191-1/+1
|
* HMC5883 driver: Rotate before applying offsets.Lorenz Meier2015-03-151-7/+15
|
* hmc5883: fixed build errors with gcc 2.7.4 and -O3Andrew Tridgell2015-02-161-4/+4
|
* HMC5883: Always report as internal sensor in SPI mode, since the sensor is ↵Lorenz Meier2015-02-151-9/+6
| | | | fixed to the autopilot assembly.
* hmc5883: Fix for Issue1858 detection of MAG on Int/Ext I2C Bus.Grant Morphett2015-02-111-0/+6
|
* HMC driver: Return value handlingLorenz Meier2015-02-091-5/+5
|
* HMC5883: Move to 0-based indexLorenz Meier2015-02-091-2/+2
|
* Move HMC5883 to new interfaceLorenz Meier2015-01-291-27/+8
|
* Fixed coverity CID #12530Daniel Agar2015-01-221-1/+3
|
* hmc5883: fixed DEVIOCGDEVICEID ioctlAndrew Tridgell2015-01-203-0/+14
| | | | | | we need to pass the ioctl through to the bus interface thanks to Jon Challinger for noticing this bug
* hmc5883: fixed mixup of internal and external hmc5883 I2C bus optionsAndrew Tridgell2015-01-201-2/+2
|
* hmc5883: fixed handling of 3 bus optionsAndrew Tridgell2015-01-092-187/+123
| | | | | use a table of possible bus options. This prevents us starting two drivers on the same bus
* HMC5883 startup: Ensure sensor configuration is always performedLorenz Meier2015-01-031-8/+6
|
* HMC5883: Fix I2C operationLorenz Meier2015-01-032-9/+23
|
* Support for HMC5983, which can also be attached via SPILorenz Meier2015-01-035-118/+539
|
* HMC5883: Better status reportingLorenz Meier2014-11-261-10/+29
|
* Sensor drivers: Optimize for sizeLorenz Meier2014-11-151-0/+2
|
* HMC5883: Reduce output, add indices to make back-tracking lines easier, ↵Lorenz Meier2014-11-101-34/+15
| | | | remove output completely for an OK-operation (the driver is NOT the right place to talk to the user!)
* Reset excitement mode for hmc5883 sensor before applying a new one to avoid ↵muharred2014-08-201-2/+1
| | | | getting reserved 11 bits set in case of a set_excitement(1) call following a set_excitement(-1) call.
* 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