Searched refs:m_offsets (Results 1 – 4 of 4) sorted by relevance
98 m_offsets[i] = (-1) * temp[i] / (reads - skip); in calibrate()142 m_rotation[0] = ((m_buffer[2] << 8 ) | m_buffer[3]) + m_offsets[0]; in update()144 m_rotation[1] = ((m_buffer[4] << 8 ) | m_buffer[5]) + m_offsets[1]; in update()146 m_rotation[2] = ((m_buffer[6] << 8 ) | m_buffer[7]) + m_offsets[2]; in update()
111 int16_t m_offsets[3]; variable
124 m_offsets[0] = 0.003773584; in Adxl345()125 m_offsets[1] = 0.003773584; in Adxl345()126 m_offsets[2] = 0.00390625; in Adxl345()135 m_accel[i] = m_rawaccel[i] * m_offsets[i]; in getAcceleration()
104 float m_offsets[3]; variable