Files
sunnypilot/selfdrive/locationd/calibration_helpers.py
George Hotz dda315bcc8 selfdrive/locationd
old-commit-hash: fcf8efb826
2020-01-17 11:39:56 -08:00

12 lines
178 B
Python

import math
class Filter:
MIN_SPEED = 7 # m/s (~15.5mph)
MAX_YAW_RATE = math.radians(3) # per second
class Calibration:
UNCALIBRATED = 0
CALIBRATED = 1
INVALID = 2