You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by gi...@git.apache.org on 2017/09/19 22:37:19 UTC

[GitHub] microbuilder commented on issue #560: Set explicit default values for LSM303DLHC mag

microbuilder commented on issue #560: Set explicit default values for LSM303DLHC mag
URL: https://github.com/apache/mynewt-core/pull/560#issuecomment-330693559
 
 
   There is also an issue with the accelerometer `sensor_type_t` value, which is currently defined as `SENSOR_TYPE_LINEAR_ACCEL`.
   
   Linear Acceleration is defined as `/* Linear Accelerometer (Without Gravity) */` (sensor.h), and requires some signal processing to remove the influence of gravity. The low cost LSM303DLHC only provides standard accelerometer data, which includes the influence of gravity, and should be defined as `SENSOR_TYPE_ACCELEROMETER`.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services