Logo
Explore Help
Register Sign In
sadmen
/
openpilot_comma
mirror of https://github.com/commaai/openpilot.git
1
0
Fork
You've already forked openpilot_comma
0
Code Issues Packages Projects Releases Wiki Activity
openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
10334 Commits
132 Branches
82 Tags
6.0 GiB
Tree: aa585b1757
openpilot_comma/common/time.py

6 lines
142 B
Raw Normal View History Unescape Escape

thermald: common min date (#28457) * thermald: common min date * add to release files
2 years ago
import datetime
MIN_DATE = datetime.datetime(year=2023, month=6, day=1)
Updated: fix setting update time (#29004) * sleep in launch * set time loop * log * try longer delay + logging * try longer delay + logging * fix order of update * fix order of update * fix order of update * revert panda * also don't show connectivity error without failed checks * slightly cleanup updated * fix type error * init overlay first * minimal diff * comment * minimal diff * minimal diff * explicit parameter to make it clear * explicit parameter to make it clear * use finally * dont use finally * PR cleanup * reduce frequency Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
def system_time_valid():
return datetime.datetime.now() > MIN_DATE
Powered by Gitea Version: 1.17.1 Page: 111ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website