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
Lucas De Marchi
e6059f5197
AP_Compass: rename files to follow other libraries
...
AP_Compass.h is the main header to be exported and AP_Compass.cpp its
implementation. There's no need for an additional header.
9 years ago
Lucas De Marchi
1a71c169fe
AP_Compass: replace header guard with pragma once
9 years ago
Lucas De Marchi
1a4a26de2b
AP_Compass: remove check for max compass instances
...
For all supported boards the maximum number of instances is 3. The
number of HIL_COMPASSES was already defined as 2 instead of 3, so this
is left as before.
9 years ago
Andrew Tridgell
c59bdc12df
AP_Compass: fix the milligauss handling
...
the previous approach assumed a 1:1 mapping between compass backends
and compass instances, which isn't true on PX4.
It also only setup milligauss offsets on a set_and_save call, which is
not the only way offsets change
this adds a milligauss_ratio per instance, which is considerably
simpler
10 years ago
Staroselskii Georgii
c207d8c6a8
AP_Compass: add milligauss counterparts to get_field() and get_offsets()
...
From now on there's a pair get_field_milligauss() and
get_offsets_milligauss() that can make the transition to the common
units across all compasses easier.
10 years ago
Andrew Tridgell
2475ee9630
AP_Compass: setup HIL/SITL for two compasses
10 years ago
Andrew Tridgell
91b4ba3588
AP_Compass: allow for more than one compass in HIL/SITL
10 years ago
Andrew Tridgell
a871c87cad
AP_Compass: use state array for compass variables
10 years ago
Víctor Mayoral Vilches
d3b76cd8d3
AP_Compass: split compass into frontend/backend
10 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
bc2d17e76e
AP_Compass: added vector compass setHIL method
11 years ago
Andrew Tridgell
f72dd560cb
AP_Compass: fixed the HIL sensors compass
...
this sets up good compass values for HIL sensors
12 years ago
Randy Mackay
8093c98cd3
Compass: add motor compensation to HIL library
12 years ago
Andrew Tridgell
6922dcdea2
Compass: added compass.accumulate() API
...
this allows us to accumulate mag readings using spare CPU cycles
13 years ago
uncrustify
f534730fab
uncrustify libraries/AP_Compass/AP_Compass_HIL.h
13 years ago
Andrew Tridgell
8c58d95187
modify the compass code for AP_Param
13 years ago
Andrew Tridgell
acf4e9b61d
I2C: convert compass code to new I2C library
...
this also adds a healthy attribute, and error checking on all I2C
calls
13 years ago
rmackay9@yahoo.com
da7a13128a
AP_Compass - added auto detect of 5843 vs 5883L to AP_Compass_HMC5843 class
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2699 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
mich146@hotmail.com
295b4277f0
fix compass shim
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1684 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok@gmail.com
a4e791dc92
Line ending property changes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1649 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok@gmail.com
cc06f07067
Major update including AP_Var support.
...
Most of the compass functionality is now abstracted in a base class, with the various sub-classes implementing just their unique functionality.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1647 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
729cf47b3c
needs some help
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1001 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
559229a667
Added HIL and HMC5843 compass libs.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@998 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago