Ford: parse ACC gap toggle button
Use the ACC gap toggle button signal from the SCCM. There are two other
signals for "increase" and "decrease" gap buttons, but no supported car
has these buttons.
* Ford: move to PlatformConfig
* Align Aviator model years with Explorer
* Add CarSpecs to PlatformConfig
---------
Co-authored-by: justin <justin@comma.ai>
* bump panda
* set safety config/configure experimental longitudinal
* send inactive signals
* bump
* just calculate in function
* already in the variable
* clean that up
* add comment, on ford stock long, prchg seems to be set from the possible future accel
* comment
* this signal didn't have an impact on engaging
* add comment and fix
* worst case while AEB
* and kill ACCDATAs
* this could be dangerous
* need to test this too
* Revert "need to test this too"
This reverts commit 09bba75950.
* Revert "this could be dangerous"
This reverts commit 323143e847.
* Revert "and kill ACCDATAs"
This reverts commit 15f6804bf6.
* Revert "worst case while AEB"
This reverts commit 85e1aaa8e1.
* bump panda
* Update selfdrive/car/ford/fordcan.py
* move around
* was already here
* rm
* use variable
* update docs
* Update ref_commit
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* hybrid fords are dashcammed
* something like this?
* just do an alert
* good comment
* space
* bb
bb
* top
* Update selfdrive/car/ford/interface.py
* add a noEntry
* remove from release notes
* sad :(
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* add event for steering angle calibrating
* how about this
how about this
* rename
* more openpilot-y
* add comment to code
* move to top
* better wording
* more general
* fix
* ?
* above
* bump cereal to master
* add more comms
* Ford: add Escape Mk4 test route
* generate docs
* remove from non_tested
* fix model years
* clearer packages for EU
* docs
* 2020 hybrid
26b2cace68e36212
1FMCU9DZ9LUA82589
* 2021 phev
1FMCU0LZXMUA80767
f8eaaccd2a90aef8
* add this too
* more docs
* 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
* 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>
* 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
* 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>
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
* 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>
* proof of concept
* actuators packet describes which actuators are active
* bump cereal
* fixes
* not needed for this PR
* Do Toyota
* add back controlsState.active
* bump cereal
* rest of cars
* in actuators
* add active back
* which
* use controlsState.active for now
* will make an issue
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move local lat_active checks into CC.latActive
* remove redundant checks
* move comment
move comment
* fix joystick mode
* get enabled from carcontrol
* do standstill check in controlsd
* make sure we consider the gas press case for GM
* use CC.actuators
* fix
* capitalization
* Bump cereal
Bump cereal
* make intermediate actuators
* similar convention to before
* clean that up
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* base LatControl class, move sat check out of pid.py
clean up
clean up
* fix
* global variable for min control speed
* nicer name
* unify latcontrol class init arguments
* add to release files
* saturated if close to limit
* move angle mode saturation checks into class
* check_saturation function takes in current saturated status
undo
* apply latcontrol_angle's active checking to all controllers
* clean up
* move those back
* make abstract baseclass
* add test for saturation
* keep clip
* update ref
* fix static analysis
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* 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>