Home
last modified time | relevance | path

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

/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py37 ARDUINO_ANGLE_MAX = 180.0 # degrees variable
280 if angle < 0 or angle > ARDUINO_ANGLE_MAX:
281 logging.debug('Angle must be between 0 and %d.', ARDUINO_ANGLE_MAX)
283 if angle > ARDUINO_ANGLE_MAX:
284 angle = ARDUINO_ANGLE_MAX
302 angle_norm = int(round(angle*ARDUINO_ANGLE_MAX/HS755HB_ANGLE_MAX, 0))