Searched refs:conversion_constant (Results 1 – 1 of 1) sorted by relevance
68 …double conversion_constant = (double)scale * (double)Sensor::kGravitationalAcceleration / pow(2,15… in pollEvents() local69 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()