Home
last modified time | relevance | path

Searched refs:conversion_constant (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/sensors/mraa/sensors/
DLSM303dAccelerometer.cpp68 …double conversion_constant = (double)scale * (double)Sensor::kGravitationalAcceleration / pow(2,15… in pollEvents() local
69 data->acceleration.x = (double)rawdatap[0] * conversion_constant; in pollEvents()
70 data->acceleration.y = (double)rawdatap[1] * conversion_constant; in pollEvents()
71 data->acceleration.z = (double)rawdatap[2] * conversion_constant; in pollEvents()