* Ford: improved ACC UI for OP long
- Show "stopped" status message on IPC when in standstill, similar to stock
- Prevent the distance control UI from appearing on button press (as
this does not influence OP long).
* set lead indicator and only override stock when OP is controlling long
* match DBC
old-commit-hash: 717bc04ddc
* clip Ford requested curvature to current +- delta
* fix bug, allow for more limit
* bump panda to branch
* bump panda
* rename
* rename function
* make a wrapper function (ford uses dynamic up/down limits
* make two functions consistent
* use apply_dist_to_meas_limits
* only above 12 ms
* simplify, clean up
* this isn't used
* https://github.com/commaai/openpilot/pull/27446
* bump panda
* one m/s fudge
* fix current curvature
* also fix panda
* fix panda blocking msgs
* bump panda to fix more blocked msgs
* clip
* bump panda
* lower to 9 ms
* clean up carcontroller
* bump panda
* bump
* bumppanda
* bumppanda
* bumppanda
* split line
old-commit-hash: 8e3e9141ee
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2d
* fordcan cleanup
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* no fordcan
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* more
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* these weren't even used in CS, follow rest of the brands
* we won't use this
* rename to more standard powertrain can bus
* no arguments for lka anymore
* Revert "rename to more standard powertrain can bus"
This reverts commit 0bc3f79f9b.
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3cd60a4724
* stash
* more test
* less test
* clean test
* no angle
* add tolerance
* fix gm
fix gm
* test both
* lower some rates on hkg
* stash
* simpler
* bump panda
* Revert "bump panda"
This reverts commit f2137c2211.
* only torque
* make kona pass
* duplicate __init__
* move
* half clean up
* half clean up
* more clean up
* more clean up
* fix static analysis
* calculate over 0.5 seconds
* limit to max steer
* type annotation
* calc once
old-commit-hash: aab33b1c5f
* cleanup
* use Veh_V_ActlBrk for vEgoRaw
* remove unused CarState.yaw_data
* less resume spam
* set steering ramp rate
* match DBC range
* add LCA/TJA notes
old-commit-hash: 80259f377f
* add model years
* update Focus steer ratio
* Ford: add EU label to Focus Mk4
* add packages
* add Ford Explorer 2020
Package: Co-Pilot 360 Assist+
Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum
https://cdn.dealereprocess.org/cdn/brochures/ford/2020-explorer.pdf
* Ford: steering control with path angle
* Ford: add TJA toggle to buttons
* add Ford Explorer 2021
`62241b0c7fea4589|2022-08-30--11-58-24--0`
Package: Co-Pilot 360 Assist+
Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum (same as 2020)
https://cdn.dealereprocess.org/cdn/brochures/ford/2021-explorer.pdf
* Ford: add shiftByWire ECU fw
* angle/steer refactor
* try always stop and go for US models
* no dashcam
* car info
* send resume button
* skip explorer
* escape and focus back in dashcam
* passthru buttons
* fordcan set bus for button message
* toggle off stock traffic jam assist so camera does not enforce driver presence checks
* not used
* update ramp rate/precision notes
* cleanup
* bump steering pressed torque to 0.8 Nm
* add standstill
* bump steer ratio
* try increasing delay?
* fix docs
* add kuga car info
* maybe fix tja toggle?
* compensate for ford roll compensation??
* oops
* better ui
* block non-adaptive
* add note on ui warning for hands on wheel
* try only checking/toggling TJA every 2 seconds
* add car test route
* dashcam only again
* send buttons to camera
* add process replay segment
* cleanup
* bump panda
* add extra FW
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 9241de2210
* Ford: add Focus Mk4
Also removes support for the Ford Fusion.
* Ford: LKAS/LCA steering and UI CAN commands
* Ford: implement CarController w/ steering and lanes ui
* Ford: FPv2 firmware request
* Ford: Add FW for 2018 Ford Focus
* Ford: add Escape Mk4
* bump panda
* cleanup
* add that back
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: acd455ed3a
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
* Emit correct alerts for LDW Left & Right on Subarus
This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash
* Remove whitespace, and add comment about not overwriting stock alerts
Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
old-commit-hash: 7458e143e3
* Avoid redefining pi, use instead math.pi or M_PI from math.h
* Revert overwriting of the gpsPi variable, which is part the GPS standard.
* Move standard library imports to top, remove standard library import comments.
old-commit-hash: 93911a7dbe
* Before abstraction, adding speed init from VW as well
* strting to abstract carstate class
* fix bug and update lock?
* revert pipfile change
* another bug
* fix linter
* bug fix
* remove a bunch of diplicated kf code
* better to not have class vars. will abstract __init__ anyway later
* abstract common instance vars in carstate init and a generic gear parser static method
* abstract gear parser for chrysler
* abstract gm gear parser too
* remove unnecessary random vars
* Chrysler: carstate returns capnp struct directly
* revert ref commit
* test ref
* WIP
* more WIP
* ops, missed this conflict
* ford as well
* not sure why this got deleted
* no need to copy
* remove copy
* remove copy import
* remove unnecessary intermediate variable
* remove obsolete comments
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: bfa79153b4