openpilot
openpilot copied to clipboard
openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.
1. read 'IsMetric' in one place. 2. call updateStats on doc changed
Remove unnecessary calls to `getTextRect`, [QFontMetrics::boundingRect](https://codebrowser.dev/qt5/qtbase/src/gui/text/qfontmetrics.cpp.html) will call `QStackTextEngine layout(text, QFont(d.data()))` and [QTextEngine::boundingBox](https://codebrowser.dev/qt5/qtbase/src/gui/text/qtextengine.cpp.html#_ZNK11QTextEngine11boundingBoxEii) internally, which are not cheap. we can save 16 calls to QFontMetrics::boundingRect after this cleanup:  the...
addLayer should be called after the style was loaded.
Prep for supporting ICE CAN-FD cars in #25434, seems similar to TCS13 / DriverBraking from the reference DBC for the CAN Hyundai platform
Test route: https://connect.comma.ai/2f37c007683e85ba/1674339187978/1674340344411
This change utilizes interface.py for Honda cars better. Common concrete minSteerSpeed values in values.py are moved into the interface. These changes are part of what @sshane describes in [this comment](https://github.com/commaai/openpilot/issues/24121#issuecomment-1265925494)...
### Describe the bug I just received my open pilot comma ai 3 but doesn't recognized my car, my car was in the list so why i do have issues?...