diff options
author | Joshua Allen <axlecrusher@gmail.com> | 2017-05-06 22:16:12 -0400 |
---|---|---|
committer | Joshua Allen <axlecrusher@gmail.com> | 2017-05-06 22:16:12 -0400 |
commit | 6c748afc397f29cd461e54c09d8a3cb45272f4ad (patch) | |
tree | e95e7741ae3c22ea777ef48e970bedf30457f002 /include | |
parent | 92d291674e5a12c7eedd314ffc4cf955d575cbea (diff) | |
download | libsurvive-6c748afc397f29cd461e54c09d8a3cb45272f4ad.tar.gz libsurvive-6c748afc397f29cd461e54c09d8a3cb45272f4ad.tar.bz2 |
use calibration numbers from device json files
Diffstat (limited to 'include')
-rw-r--r-- | include/libsurvive/survive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index e85fe48..1532d62 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -62,6 +62,12 @@ struct SurviveObject uint32_t last_lighttime; //May be a 24- or 32- bit number depending on what device. + FLT* acc_bias; // size is FLT*3. contains x,y,z + FLT* acc_scale; // size is FLT*3. contains x,y,z + FLT* gyro_bias; // size is FLT*3. contains x,y,z + FLT* gyro_scale; // size is FLT*3. contains x,y,z + + //Debug int tsl; }; |