Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c78 float dotProduct = 0.0f; in algoUpdate() local
113 dotProduct = state->this_batch_g[0] * state->last_ref_g_vector[0] + in algoUpdate()
117 if (dotProduct < ANGLE_THRESH) { in algoUpdate()