Files
dragonpilot/common/numpy_fast.py
Vehicle Researcher e94a30bec0 openpilot release
2016-11-29 18:34:21 -08:00

3 lines
50 B
Python

def clip(x, lo, hi):
return max(lo, min(hi, x))