Andrew Tridgell
f877def909
AP_Compass: removed default rotations for compass probe
...
this prevents bugs where the force_external and rotation are mixed up
in hwdef.dat causing incorrect rotations
6 years ago
Peter Barker
97f2d946ab
AP_Compass: remove unused variables from AP_Compass_RM3100.h
6 years ago
thomass
ede80773b9
AP_Compass: RM3100 stop passing frontend for compliance with backend class
6 years ago
thomass
8155c8b178
AP_Compass: added backend implementation for RM3100 compass
6 years ago
Lucas De Marchi
38d1f8705f
AP_Compass: LIS3MDL: use common method to accumulate samples
6 years ago
Lucas De Marchi
4039b51810
AP_Compass: stop passing frontend pointer
...
Let AP_Compass_Backend call AP::compass() *once* instead of passing
the frontend pointer over and over.
7 years ago
Mark Whitehorn
3642ecd9ef
AP_COMPASS: fix errors in addition of alternate LIS3MDL I2C address
...
testing shows ROTATION_YAW_90 is correct for mRo Neo M8N GPS/compass
8 years ago
Mark Whitehorn
a6e9baa8f6
AP_Compass: probe for LIS3MDL in mRo Neo-M8N GPS module
8 years ago
Kevin Lopez Alvarez
1467daee2a
AP_Compass: add ppro support
...
disable lis3mdl for now
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Pierre Kancir
385e5badd8
Ap_Compass: LIS3MDL fix order
8 years ago
Andrew Tridgell
1f403b02ef
AP_Compass: switch to continuous 155Hz mode for LIS3MDL
8 years ago
Andrew Tridgell
0e4b8781b2
AP_Compass: auto-detect LIS3MDL compass
8 years ago
Andrew Tridgell
40ef68f104
AP_Compass: added a LIS3MDL compass driver
8 years ago
Andrew Tridgell
4ba00720aa
AP_Compass: make init() private
...
not called from frontend
8 years ago
Andrew Tridgell
1c631ea037
AP_Compass: cleanup use of backend semaphores
...
fixed drivers that didn't protect accumulation counters
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Gustavo Jose de Sousa
b259356703
AP_Compass: BMM150: convert it to use Device periodic callback
9 years ago
Lucas De Marchi
667fca60f5
AP_Compass: BMM150: reduce lock region
...
Use a semaphore to update the accumulated values instead of using the
timer semaphore.
9 years ago
Lucas De Marchi
3ba27df405
AP_Compass: BMM150: minor refactors
...
- Correctly sort includes and add missing AP_Math.h
- Use anonymous struct for trim_registers in _load_trim_values,
renaming its members so they don't start with underscore
- Don't change _dig* values when we failed to read from sensor
- Add some blank lines
- Make _dig_* members be inside a _dig struct
- Use constrain_int32 instead of if/else chain
- s/time_us/time_usec/
- Construct raw_field with a single constructor in _update()
- Add missing copyright notice
- Group methods together in declaration
9 years ago
José Roberto de Souza
6e53854122
AP_Compass: Add BMM150 backend
9 years ago