Skip to content

Refactor torque stuff #24921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 22, 2022
Merged

Refactor torque stuff #24921

merged 14 commits into from
Jun 22, 2022

Conversation

haraschax
Copy link
Contributor

No description provided.

@haraschax haraschax force-pushed the refactor_torque_stuff branch from aa28333 to c71940c Compare June 22, 2022 17:55
@@ -19,7 +19,7 @@ repos:
rev: v0.931
hooks:
- id: mypy
exclude: '^(pyextra/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(opendbc/)|(laika_repo/)|(rednose_repo/)/'
exclude: '^(pyextra/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(opendbc/)|(laika_repo/)|(selfdrive/car/torque_data/)|(rednose_repo/)/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this necessary?

# Totally new car
KIA EV6 2022: [3.0, 2.5, 0.05]

# Ideal car
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dashcam or fallback car is more accurate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the KIA?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for mock

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see

@@ -109,9 +111,22 @@ def get_std_params(candidate, fingerprint):

@staticmethod
def get_torque_params(candidate, default=float('NaN')):
with open(TORQUE_SUBSTITUTE_PATH) as f:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also enforce that each car is only defined once

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

willdo

@haraschax haraschax merged commit 2deaf69 into master Jun 22, 2022
@haraschax haraschax deleted the refactor_torque_stuff branch June 22, 2022 22:58
cfranyota pushed a commit to cfranyota/openpilot-retired that referenced this pull request Jun 23, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
cfranyota pushed a commit to cfranyota/openpilot-retired that referenced this pull request Jun 23, 2022
commit 9da1707
Author: Casey Francis <>
Date:   Wed Jun 22 21:53:45 2022 -0700

    Update log.capnp

commit cdde264
Author: Casey Francis <>
Date:   Wed Jun 22 21:28:42 2022 -0700

    Update drive_helpers.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 9b35741
Author: Casey Francis <>
Date:   Wed Jun 22 21:17:37 2022 -0700

    Update tunes.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 0e222ea
Author: Casey Francis <>
Date:   Wed Jun 22 20:59:57 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit a598793
Author: Casey Francis <>
Date:   Wed Jun 22 20:56:28 2022 -0700

    cereal changes

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 109c99d
Author: Casey Francis <>
Date:   Wed Jun 22 20:42:19 2022 -0700

    Update interfaces.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit db3b5b4
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 15:58:06 2022 -0700

    Refactor torque stuff (commaai#24921)

    * Refactor torque stuff

    * Add to release

    * Add substitute and override

    * Maxlataccel is required

    * Add to asserts

    * add ideal car

    * Need china too

    * yamls already linted

    * Fixed some bugs

    * Fixup

    * Unreliable data

    * Add cehck

    * Better comment

    * ref commit update

commit cf514a3
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 13 19:08:09 2022 -0700

    Move couple toyotas to torque table values (commaai#24849)

    * Move couple toyotas to torque table values

    * Dont set for all cars yet

    * Dont regress docs

    * update ref

commit 0746971
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 13 16:54:32 2022 -0700

    Couple more cars to torque tune (commaai#24848)

    * try sonata on torque tune

    * Couple known cars to torque control

    * fix

    * more fix

commit 7503288
Author: Shane Smiskol <[email protected]>
Date:   Mon Jun 13 09:29:28 2022 -0700

    Toyota Camry TSS2: update torque control params (commaai#24819)

    Use updated accel and friction values for TSS2 Camry

commit 83db938
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 17:57:23 2022 -0700

    Car interface: set max lateral torque from table (commaai#24789)

    * json

    * better naem

    * Read from table

    * formatting and default to nan

    * Generate docs

    * Read from table

    * this should be the same

    * Prius v is full

    * test we always set the tunes correctly

    add to release files

    * Set for all cars

    Set for all cars

    * Revert tuning changes

    Revert tuning changes

    * remove that

    * fixes

    * update ref commit for new maxLateralAccels

    Co-authored-by: Shane Smiskol <[email protected]>

commit b46bd4e
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 22:52:48 2022 -0700

    Misc torque control fixes (commaai#24801)

    * Fiction compensation should be based on error

    * Update refs

    * Add deadzone

    * update ref

commit ec5697d
Author: Casey Francis <>
Date:   Wed Jun 22 18:59:19 2022 -0700

    Revert "Revert "Update carcontroller.py""

    This reverts commit c0d48c6.

commit 466bf28
Author: Casey Francis <>
Date:   Wed Jun 22 18:59:05 2022 -0700

    whoknowsifthisworks

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit ee94dc6
Author: Casey Francis <>
Date:   Wed Jun 22 17:08:15 2022 -0700

    Update latcontrol_torque.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit c0d48c6
Author: Casey Francis <>
Date:   Wed Jun 22 17:07:18 2022 -0700

    Revert "Update carcontroller.py"

    This reverts commit d21c769.

commit 2ca6b6a
Author: Casey Francis <>
Date:   Wed Jun 22 17:04:54 2022 -0700

    Update latcontrol_torque.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit a287e68
Author: Shane Smiskol <[email protected]>
Date:   Thu Apr 28 00:42:52 2022 -0700

    Clean up controllers (commaai#24340)

    * clean up lat controllers

    * pass CP once

    * sort
dkiiv added a commit to dkiiv/openpilot that referenced this pull request Jun 26, 2022
* laikad: fixes to run on device (commaai#24879)

* Always run laikad on device!

* Update laika

* Update laika

* Fix gps week and time of week in msg

* Reset kalman filter if pos_fix or last_known_position

* put behind file

* move pr parsing into common file

Co-authored-by: Willem Melching <[email protected]>

* bump cereal

* navd: handle maxspeed being none (commaai#24871)

* navd: handle maxspeed being none

* none is encoded like this

* Cast gpstimeofweek to int

* More accurate jerk limits (commaai#24755)

* More accurate jerk limits

* Min is not - max

For example max_curvature_rate can be negative.

* reduce diff

* Chrysler: interface cleanup (commaai#24884)

* Chrysler: interface cleanup

* little more

* bump panda

* VW FPv2: reduce number of ECU queries (commaai#24706)

* only send valid/needed queries

* just do volkswagen

* clean up

* add parameter name

clean up

* add test for whitelist

* rename

* Update selfdrive/car/fw_versions.py

Co-authored-by: Jason Young <[email protected]>

* fix test

* log response addresses

* bump cereal

* handle response pending with IsoTpParallelQuery

* remove response pending stuff

* temporarily disregard cache for easier testing

* revert this

Co-authored-by: Jason Young <[email protected]>

* Chrysler: use universal gas and brake signals (commaai#24886)

* Chrysler_Update

* Update signal names

* bump panda

* bump submodules

* bump panda to master

Co-authored-by: Jonathan <[email protected]>

* regen: send wideRoadCameraState (commaai#24863)

* fix camera malfunction

* revert

* send in one process to fix frames out of sync

* not used

* revert

* fix and add --no-upload for CI testing

* fingerprint if source is fw

* no FW versions

* live_cpu_and_temp: handle duplicate proc names

* add param to override carParams.dashcamOnly (commaai#24857)

* add param to override carParams.dashcamOnly

* little cleaner

* replay: no HW decoder, fix UV stride

* Long e2e planner: better xva weights (commaai#24893)

better long xva weights

* ui: show empty box when speed limit is unavailable during nav (commaai#24891)

* ui: show empty box when speed limit is unavailable during nav

* variant 2, long -

* Add Hyundai P harness (commaai#24872)

* Update docs_definitions.py

* Update values.py

* Chrysler: use unified signal definitions (commaai#24895)

* Update some signals to unified names and definitions

Co-authored-by: Jonathan <[email protected]>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

Co-authored-by: Jonathan <[email protected]>

* jenkins: move simulator build into lock

* zookeeper: add avg power to power_monitor.py

* Car Port: 2022 Honda Civic (commaai#24535)

* master 2022 Civic

* bump panda

* bump

* bump cereal

* fix

* needed

* try for now

* maybe

* revert for now

* move to Cam parser

* fix

* move to cam

* need AEB_STATUS too

* bump for debug prints

* bump opendbc and add cruise_params

* bump opendbc and update cruise_params

* bump

* test route

* update ref

* Revert "update ref"

This reverts commit 28345da.

* cleanup

* just to test

* bump

* revert

* need to send val 12 too?

* change bus

* not needed

* update bus

* syntax

* move this to other bus too

* Revert "move this to other bus too"

This reverts commit 770bf47.

* test new lane line signal

* needed too

* maybe need both?

* Test new LKAS hud message

* bump

* missing comma

* missing

* maybe

* add frame and idx

* add in hud_lanes

* switch this too

* bump panda

* add this

* I guess need this too

* to match

* also

* wasnt correct

* bump opendbc

* bump panda

* move to cam parser

* missing

* add here too

* bump

* remove from cam parser

* bump

* back to cam parser

* its 5hz

* bump for new checksum function

* bump for correct frequency

* update frame and idx

* bump

* bump and update

* send set me bit

* bump

* pass these values through

* silly atom

* ret

* fix this

* use copy instead

* add these too

* to check keyerror

* switch

* bump submodules

* send too

* proper

* Replace HUD with BOH

* add dashed lanes

* small fix

* clean up

* not needed anymore

* remove and change

* this too

* dont always set

* remove additional LKAS message

* bump

* add

* to test

* add frame

* bump

* rebase

* remove default values

* rename

* clean up some carstate logic

* regenerate docs

* spacing

* simplify more logic

* bump opendbc

* bump opendbc

* only if radarless

* panda at least builds now

* add comment

* bump

* fixes

* bump opendbc

* bump opendbc

fix for new DBC

* bump opendbc

* bump opendbc

* carstate: fix bus, parser signals

* Set safety param

* pt bus is 0, not 1

* Fix SCM_BUTTONS and bump panda and opendbc

* fixes for ACC_CONTROL

* bump opendbc

* bump opendbc

* convert from MPH on HONDA_BOSCH_RADARLESS

move is_metric

* make sure we don't disable if radarless

* don't show incorrect harness on website

don't show incorrect harness on website

* bump panda

* remove/update comments

* bump panda

* Fix harnesses

* one line check

* bump opendbc

* remove this

* Some carstate cleanup

We removed STANDSTILL->WHEELS_MOVING

we don't use CRUISE_PARAMS

add back

add back

* more cleanup

* update docs

* marketing says it has TJA and ACC with low speed follow

* send buttons on bus 0

bump panda

* comment

* camera needs to see buttons on bus 2

comment

* bump panda

* add to releases

* remove comments

* comment

* we don't use stock hud yet

Co-authored-by: vanillagorillaa <[email protected]>
Co-authored-by: vanillagorillaa <[email protected]>
Co-authored-by: kevinharbin <[email protected]>

* Revert "Chrysler: use unified signal definitions (commaai#24895)"

This reverts commit 0f0b4ca.

* Chrysler: 2022 pacific hybrid is supported

* Move camerad to system/ (commaai#24836)

* mv camerad

* add hardware symlink

* fix unit tests

* sim: update cl kernel path

* bump cereal

* Add new message to Tesla AP2 fingerprint (commaai#24912)

* add new message

* fix spacing

* add space

* Improve laikad cpu usage. Less pos fix. Less local imports (commaai#24887)

* Improve laikad cpu usage. Less pos fix. Not local imports

* Add laika to files_common

* Add laika to dockerfile sim

* Fix

* Fix

* undo

* ui: onroad widget check if sockets alive (commaai#24913)

* ui: onroad widget check if socket alive

* cleanup

* fullframe DM model (commaai#24860)

* Revert "put cereal on master"

This reverts commit a8ccd8f.

* Revert "Revert fullframe DM model (commaai#24812)"

This reverts commit c646eee.

* revert revert cereal

* clip6

* 0.8 is fair

* Fiction compensation should be based on error

* Update refs

* Add deadzone

* not that

* good mg

* ref

* ref

* ee8f

* minor tweak

* ref

* recompile

* ref

* cereal

* match driverstatus

* new ref

* new ref

* pass token through jenkins credentials

* quote

* fix snpe dead weights

* final ref

Co-authored-by: Harald Schafer <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>

* bump cereal

* Toyota: international corolla cross is supported

* FPv2: log correct response address (commaai#24918)

log correct response address (29 bit addresses have a different standard)

* 22 civic hatcback is supported

* FPv2: log all present ECU addresses (commaai#24916)

* eliminate brands based on ECUs that respond to tester present

* make it work

* Add type hint for can message

Use make_can_msg

* Only query for addresses in fingerprints, and account for different busses

* These need to be addresses, not response addresses

* We need to listen to response addresses, not query addresses

* add to files_common

* Unused Optional
Drain sock raw

* add logging

* only query essential ecus

comments

* simplify get_brand_candidates(), keep track of multiple request variants per make and request each subaddress

* fixes

make dat bytes

bus is src

Fix check

* (addr, subaddr, bus) can be common across brands, add a match to each brand

* fix length

* query subaddrs in sequence

* fix

* candidate if a platform is a subset of responding ecu addresses

comment

comment

* do logging for shadow mode

* log responses so we can calculate candidates offline

* get has_subaddress from response set

* one liner

* fix mypy

* set to default at top

* always log for now

* log to make sure it's taking exactly timeout time

* import time

* fix logging

* 0.1 timeout

* clean up

Co-authored-by: Greg Hogan <[email protected]>

* Mazda: log standstill bit (commaai#24923)

* set standstill bit for mazda

* use bit in carcontroller

* Revert "use bit in carcontroller"

This reverts commit f38210a.

* Bump laika (commaai#24920)

* test_models: check cruiseState.available (commaai#24924)

* check available is true if enabled is true

* remove extra line

* bump laika

* ui: metric wider set speed box (commaai#24890)

* Revert "VW FPv2: reduce number of ECU queries (commaai#24706)"

This reverts commit 6c02e55.

* ui: draw MAX above set speed (commaai#24930)

* replay: handle missing socket while replaying route log with --allow flag (commaai#24933)

* fix: fix the problem with replay routes locally

* fix: Exception with --allow flag in replay.cc

Co-authored-by: Anton Rudomaneko <[email protected]>

* car_bug_report.yml: fix labels

* Revert "Rocket league model (commaai#24869)" (commaai#24936)

* Revert rocket league

* revert ref commit

* New model ref commit

* jenkins: set successful boot flag

* Honda Longitudinal: fix HUD max distance setting (commaai#24915)

Fix max distance setting on display

* update refs

* update camerad gitignores

* compatibility docs: fixup steering torque star (commaai#24940)

* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs

* ui: change alerts to Inter (commaai#24937)

* ui: change alerts to Inter

* fix up test

* ui: change sidebar font to Inter (commaai#24931)

* change sidebar to inter

* clean up metric color rect radius

* fix text placement

* simplify rect placement

* ui: change set speed, speed limit and current speed to Inter (commaai#24932)

* ui: change set speed/speed limit to Inter

* switch current speed to Inter

* remove Open Sans fonts from assets (commaai#24946)

* DM: track RHD predictions (commaai#24947)

* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* Revert "remove from params"

This reverts commit a08df0b.

* Revert "modeld not use toggle"

This reverts commit 2730bf8.

* Revert "remove"

This reverts commit 21f7cfa.

* Revert "driverview"

This reverts commit 222d129.

* semi revert

* Chrysler: fill cruiseState.available (commaai#24907)

* Update some signals to unified names and definitions

Co-authored-by: Jonathan <[email protected]>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <[email protected]>

* CANParser: invalid until valid (commaai#24945)

* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim

* Refactor torque stuff (commaai#24921)

* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update

* Cleanup car interfaces (commaai#24948)

* remove interface overrides

* Fix test

* set torque tune for ev6

* EV6: adjust steering thresholds (commaai#24901)

* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <[email protected]>

* count_events improvements

* Navd added to README (commaai#24953) (commaai#24954)

* Navd added to README

* Update README.md

Co-authored-by: Willem Melching <[email protected]>

* use correct tty device for serial

* Laikad: minor refactor (commaai#24956)

extract code to get_est_pos func

* VW MQB: Add FW for 2016 Volkswagen Passat (commaai#24957)

* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <[email protected]>

* cleanup torque tuning config (commaai#24951)

* fix carla test fake driverState (commaai#24959)

use driverstatev2

* Speed up YAML parsing with CSafeLoader (commaai#24958)

Use CSafeLoader

* can replay: get logs in parallel (commaai#24960)

* get can replay segs in parallel

* total not needed

* Hyundai: remove bad esp fingerprint (commaai#24952)

Remove unknown "esp" fp

Co-authored-by: Gijs Koning <[email protected]>
Co-authored-by: Willem Melching <[email protected]>
Co-authored-by: grekiki <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>
Co-authored-by: Shane Smiskol <[email protected]>
Co-authored-by: Jason Young <[email protected]>
Co-authored-by: Jonathan <[email protected]>
Co-authored-by: HaraldSchafer <[email protected]>
Co-authored-by: vanillagorillaa <[email protected]>
Co-authored-by: vanillagorillaa <[email protected]>
Co-authored-by: kevinharbin <[email protected]>
Co-authored-by: Robbe Derks <[email protected]>
Co-authored-by: ZwX1616 <[email protected]>
Co-authored-by: Greg Hogan <[email protected]>
Co-authored-by: Anton Rudomanenko <[email protected]>
Co-authored-by: Anton Rudomaneko <[email protected]>
Co-authored-by: Jason Wen <[email protected]>
Co-authored-by: Ayushman Kumar <[email protected]>
Co-authored-by: Pierre Christen <[email protected]>
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jun 30, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jul 1, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jul 1, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jul 1, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jul 1, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
spektor56 pushed a commit to spektor56/ghostpilot that referenced this pull request Jul 1, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
sshane added a commit that referenced this pull request Jul 1, 2022
only spam resume when future is > vEgoStarting

do rest but vw

vw

remove comments

rename to resume

maintain original button msg rate

mazda: ensure no resume if cancelling

Bump laika (#24920)

test_models: check cruiseState.available (#24924)

* check available is true if enabled is true

* remove extra line
bump laika

ui: metric wider set speed box (#24890)

Revert "VW FPv2: reduce number of ECU queries (#24706)"

This reverts commit 6c02e55.

ui: draw MAX above set speed (#24930)

replay: handle missing socket while replaying route log with --allow flag (#24933)

* fix: fix the problem with replay routes locally

* fix: Exception with --allow flag in replay.cc

Co-authored-by: Anton Rudomaneko <[email protected]>
car_bug_report.yml: fix labels

same for non-HDA2

Merge remote-tracking branch 'upstream/master' into enable-planner

Always run planner if not opLong

Revert "Rocket league model (#24869)" (#24936)

* Revert rocket league

* revert ref commit

* New model ref commit
try 0.2

0.1 should be pretty safe

jenkins: set successful boot flag
Honda Longitudinal: fix HUD max distance setting (#24915)

Fix max distance setting on display
update refs

update camerad gitignores

compatibility docs: fixup steering torque star (#24940)

* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
ui: change alerts to Inter (#24937)

* ui: change alerts to Inter

* fix up test
ui: change sidebar font to Inter (#24931)

* change sidebar to inter

* clean up metric color rect radius

* fix text placement

* simplify rect placement
ui: change set speed, speed limit and current speed to Inter (#24932)

* ui: change set speed/speed limit to Inter

* switch current speed to Inter
remove Open Sans fonts from assets (#24946)

DM: track RHD predictions (#24947)

* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* Revert "remove from params"

This reverts commit a08df0b.

* Revert "modeld not use toggle"

This reverts commit 2730bf8.

* Revert "remove"

This reverts commit 21f7cfa.

* Revert "driverview"

This reverts commit 222d129.

* semi revert
Chrysler: fill cruiseState.available (#24907)

* Update some signals to unified names and definitions

Co-authored-by: Jonathan <[email protected]>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <[email protected]>
CANParser: invalid until valid (#24945)

* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
Refactor torque stuff (#24921)

* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
Cleanup car interfaces (#24948)

* remove interface overrides

* Fix test

* set torque tune for ev6
Merge remote-tracking branch 'upstream/master' into enable-planner

EV6: adjust steering thresholds (#24901)

* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <[email protected]>
count_events improvements

Navd added to README (#24953) (#24954)

* Navd added to README

* Update README.md

Co-authored-by: Willem Melching <[email protected]>
use correct tty device for serial

Laikad: minor refactor (#24956)

extract code to get_est_pos func
VW MQB: Add FW for 2016 Volkswagen Passat (#24957)

* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <[email protected]>
cleanup torque tuning config (#24951)

fix carla test fake driverState (#24959)

use driverstatev2
Speed up YAML parsing with CSafeLoader (#24958)

Use CSafeLoader
can replay: get logs in parallel (#24960)

* get can replay segs in parallel

* total not needed
Hyundai: remove bad esp fingerprint (#24952)

Remove unknown "esp" fp
add test for resuming

fix test

logger.cc: remove unused function append_property (#24966)

remove append_property
loggerd: remove rotate_lock (#24969)

remove lock
FfmpegEncoder: free codec_ctx in encoder_close (#24967)

free context
Log SOM power draw (#24975)

* log SOM power draw

* bump cereal

Co-authored-by: Comma Device <[email protected]>
Co-authored-by: Willem Melching <[email protected]>
calibrationd: start faster by not waiting for carParams (#24976)

* calibrationd: start faster by not waiting for carParams

* fix process replay

* update ref
snapshot: fix rgb overflow (#24963)

clamp rgb
ui: use current calibration to center vanishing point (#24955)

* compute x and y offsets using calibration

* fix default calibration

* clamp to max values

* only use when valid

* not while calibrating

* less diff

* cleanup zoom
split locationd and liblocationd tests (#24977)

* laikad: use cython version of gnss kf

* fix import error

* test liblocationd separate

* Revert "laikad: use cython version of gnss kf"

This reverts commit bdd769b.
2022 RAV4 XLE engine FW (#24973)

Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
Torque control: higher low speed gains and better steering angle deadzone logic (#24980)

* Try no friction and no deadzone

* Learn fromd ata

* update refs
onroad UI: fix onroad double tap (#24982)

* The default implementation calls mousePressEvent().

* no sidebar when entering body

* wrong one

* you can't double tap with body anyway (fixes inconsistencies with prime vs not prime)

* hide sidebar
Power Monitoring test: fix exceptions (#24981)

* fix missing POWER_DRAW

* think should be 0
Update rednose: use EKF_sym_pyx (#24978)

* Update rednose

* Update rednose

* cleanup
bump rednose

add laikad to process replay (#24889)

* merge

* Fix closing process executor after fetching orbits

* cleanup

* Add ref commit and revert test_processes hack

* Fix

* Fix ref

* Fix test

* Temp

* Temp

* Trying

* Trying

* Cleanup and change test

* add ref commit

* remove print

* fix test getting stuck

* cleanup fetch_orbits

Co-authored-by: Gijs Koning <[email protected]>
laikad: use cython filter (#24983)

use cython filter
ui: disable sync with model until more stable (#24984)

move replay from selfdrive/ui/replay to tools/replay (#24971)

* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
Properly pass KF dependencies to rednose (#24985)

* Fix rednose dependencies

* bump rednose

* bump rednose
build.py: remove retry logic (#24986)

Chrysler: fix steering angle signals (#24926)

* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <[email protected]>
Toyota: Add missing 2021 RAV4 TSS2 esp FW (#24989)

Add missing Canadian TRD 2021 RAV4
framereader.cc: remove nv12toyuv_buffer (#24991)

remove nv12toyuv_buffer
bump cereal

don't log LaikadEphemeris in initData

UI: wrap all text for translation (#24961)

* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
Merge remote-tracking branch 'upstream/master' into enable-planner

stricter test, speeds[-1] is 0.14 when starting here

Honda Civic 2022: remove LKAS fault reinitialization (#24979)

* no lkas problem

* remove frame
docs: ssh.comma.ai (#25000)

Multilang: remove redundant QString() around tr() (#25003)

remove qstring
ui: replace line_vertices_data with QPolygonF (#25001)

use QPolygonF

use push_front
remove selfdrive/common (#24997)

swaglog.cc/cloudlog_common: pass json object by reference (#24996)

* pass json object by reference

* space between functions
Multilang prerequisites (#24999)

* some supporting code for multilang

* for now just english

* test for missing language files

* test for checking if ts file is up to date

* Skip test if causes exception, other test catches this

Test test

Should also work

should now fail

revert

rmn

* add to files_common

* fix files_common

* newlines

* no need to not update

* comment

* only english

* double quotes

* switch around
Camerad: small cleanup (#24992)

* remove CameraExpInfo

* remove release callback
camerad: reduce cpu usage (#24993)

wait for 50ms
test onroad: lower camerad cpu usage

cameraview.cc: prev_frame_id static -> class member

cameraview.cc: qInfo -> qDebug

Add laikadOffline subtest to process replay.  (#24995)

* Add subtests to process replay.
Adds laikadOffline subtest

* Update cpp.

* Update ref

* Update ref again

* Update ref again

* update ref

* Fix disabling fetching orbits

* Add proc name to event exception

* update ref

* Update setup_env

* Fix offline test and update refs
Merge remote-tracking branch 'upstream/master' into enable-planner

no walrus

Full localizer: Use standard naming conventions (#25007)

Use standard naming conventions
Toyota: fix BSM detection (#24964)

* revert to 1 second

* Revert "revert to 1 second"

This reverts commit 6ab3f75.

* Revert "remove toyota can fingerprinting exceptions (#22803)"

This reverts commit d8f5e8b.

fix static analysis

* Revert "Revert "remove toyota can fingerprinting exceptions (#22803)""

This reverts commit fc359fc.

* 1 second for all brands

* update refs

Co-authored-by: Adeeb Shihadeh <[email protected]>
tools: add support for nv12 in compressed_vipc (#24962)

reshape for nv12
GM: Lower LKA loopback CAN Error timing threshold to accommodate dropped packets (#24927)

* LKA loopback timing to 10Hz

* Typo

Co-authored-by: Willem Melching <[email protected]>

Co-authored-by: Willem Melching <[email protected]>
remove mypy ignore from a few scripts

GM: prep and cleanup for future ports (#24910)

* Interface radarOffCan set, comments

* pass pcmCruise value to common events

* add transType and networkLoc to iface

* carstate use transtype to detect EV

* ctrl: limit sends by config

* Add clarifying comments for new vals

* clean up

* comment on new line

* these have the same frequency

* remove 25hz

* add to upper comment

* update refs

* update refs

* move into same block

move into same block

Co-authored-by: Shane Smiskol <[email protected]>
update release notes

Clean up CarControllers (#25008)

* do VW

* Do the rest

* unused

* ford cc formatting

* final clean ups

* also just return update output
Chrysler: carState signals update (#24760)

* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <[email protected]>
Chrysler Pacifica 2019 is supported (#25010)

19 is secretly supported
Chrysler: add missing 2022 Pacifica Hybrid fingerprint (#24685)

* Added 2022 PacHy info

Didn't really need to add this but thought it would be useful.

* Added 2022 PacHy info

* Added 2022 PacHy info

Added 2022 PacHy FP

* add to current platform

* generate docs

* should only need this

Co-authored-by: Shane Smiskol <[email protected]>
Mazda: add missing FW version for CX-5 2022 (#24925)

laikad: Improve logging, fix warning and more exception handling (#25005)

* change logs and add some debugging. Add test

* Less logging and better check for exceptions when parsing orbits

* Fix debug log and fix kf initialization
bump laika

process replay: Fix setting environment vars (#25015)

Fix setting environments in process replay
Laikad: dont log when filter is not initialized

enable laikad (#25013)

* enable laikad

* increase logprint for onroad test
Laikad: Allow fetching orbits every minute (#25016)

* Allow fetching orbits every minute

* Small cleanup
GM: values.py cleanup & minor updates (#24908)

* Comment update on static limits

* Astra FP cleanup

* DBC autogen & customizable

* Add new Escalade FP, disable bad

* Add DROPPED CanBus value

* Update/cleanup CarInfo

* DBC -> defaultdict

* Fix DBC typing issue

* Revert Escalade fix

* clean up

* comment spacing

* revert this for now

Co-authored-by: Shane Smiskol <[email protected]>
Merge remote-tracking branch 'upstream/master' into enable-planner2

only planner changes

remove this test

remove this test

Update selfdrive/controls/lib/longitudinal_planner.py
cfranyota pushed a commit to cfranyota/openpilot-retired that referenced this pull request Jul 7, 2022
Mypilot-v0.8.14

Mypilot-v0.8.14

commit 0ec5f5d
Author: Casey Francis <>
Date:   Sun Jul 3 14:32:08 2022 -0700

    increase for sluggish follow

commit bf8f21c
Author: Casey Francis <>
Date:   Sun Jul 3 14:26:45 2022 -0700

    increase decelrate by 25%

commit ef62343
Author: Casey Francis <>
Date:   Sun Jul 3 13:32:48 2022 -0700

    Update carstate.py

commit bbdafa7
Author: Casey Francis <>
Date:   Sun Jul 3 13:29:00 2022 -0700

    Update carstate.py

commit 180ebce
Author: Casey Francis <>
Date:   Sun Jul 3 12:20:07 2022 -0700

    fix VOACC for Honda bosch

    commit f496bf9
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:55:02 2022 -0700

        Update carstate.py

    commit 331c7a7
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:35:27 2022 -0700

        Update carstate.py

    commit 3229367
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:29:03 2022 -0700

        Update carstate.py

    commit 73be4a3
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:20:04 2022 -0700

        Update carstate.py

    commit d743857
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:14:27 2022 -0700

        Update hondacan.py

    commit 3e9380d
    Author: Casey Francis <>
    Date:   Sun Jul 3 10:05:30 2022 -0700

        Update carstate.py

    commit 395670d
    Author: Casey Francis <>
    Date:   Sun Jul 3 09:55:40 2022 -0700

        Update carstate.py

    commit 7da96d9
    Author: Casey Francis <>
    Date:   Sun Jul 3 09:43:14 2022 -0700

        Update carstate.py

    commit 82aa8fe
    Author: Casey Francis <>
    Date:   Sun Jul 3 09:42:42 2022 -0700

        Revert "Update carstate.py"

        This reverts commit b94fcdf.

    commit b94fcdf
    Author: Casey Francis <>
    Date:   Sun Jul 3 09:35:29 2022 -0700

        Update carstate.py

    commit 785b974
    Author: Casey Francis <>
    Date:   Sun Jul 3 09:00:25 2022 -0700

        Update carstate.py

    commit 0cfcfd2
    Author: Casey Francis <>
    Date:   Sat Jul 2 18:55:32 2022 -0700

        Update safety_honda.h

    commit c6c0a49
    Author: Casey Francis <>
    Date:   Sat Jul 2 18:54:38 2022 -0700

        Revert "Update safety_honda.h"

        This reverts commit 90ec6ec.

    commit 90ec6ec
    Author: Casey Francis <>
    Date:   Sat Jul 2 18:48:01 2022 -0700

        Update safety_honda.h

    commit 113f6eb
    Author: Casey Francis <>
    Date:   Fri Jul 1 20:29:12 2022 -0700

        Update safety_honda.h

    commit 6d48b88
    Author: Casey Francis <>
    Date:   Fri Jul 1 20:27:25 2022 -0700

        join nidec

    commit 120d745
    Author: Casey Francis <>
    Date:   Fri Jul 1 20:23:39 2022 -0700

        Update interface.py

    commit 37af77d
    Author: Casey Francis <>
    Date:   Thu Jun 30 22:55:52 2022 -0700

        bosch's dbc stuff

        forget 2 things

    commit a5dab5e
    Author: Jason Wen <[email protected]>
    Date:   Wed Jun 22 01:17:13 2022 -0400

        Honda Longitudinal: fix HUD max distance setting (commaai#24915)

        Fix max distance setting on display

    commit dfd731e
    Author: Shane Smiskol <[email protected]>
    Date:   Sat Jun 11 00:14:58 2022 -0700

        Honda carcontroller and signal cleanup (commaai#24806)

        * common signals

        * move stopping

        * space

        * clean up

        * bump opendbc

    commit f187271
    Author: Shane Smiskol <[email protected]>
    Date:   Mon Jun 13 18:42:47 2022 -0700

        Honda Bosch long: fix ACC fault (commaai#24851)

        Fix Honda bosch long

        Co-authored-by: redacid95 <[email protected]>

        Honda Bosch long: fix ACC fault (commaai#24851)

        Fix Honda bosch long

        Co-authored-by: redacid95 <[email protected]>

    commit 4e22be3
    Author: Shane Smiskol <[email protected]>
    Date:   Wed Jun 8 22:38:07 2022 -0700

        Honda Bosch: fix openpilot longitudinal controls mismatch (commaai#24788)

        Honda Bosch: fix openpilot longitudinal controls mismatch (commaai#24788)

        * fix bosch controls mismatch

        * bump

        * bump panda

commit 43471f1
Author: Casey Francis <>
Date:   Thu Jun 30 17:02:05 2022 -0700

    fix civics/ crv

commit 9a23770
Author: cfranyota <[email protected]>
Date:   Thu Jun 30 16:34:03 2022 -0700

    Update interface.py

commit 1c5cad2
Author: Casey Francis <>
Date:   Thu Jun 30 08:44:50 2022 -0700

    temp in C°

commit 9cd15ad
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 27 15:25:47 2022 -0700

    Torque control: higher low speed gains and better steering angle deadzone logic (commaai#24980)

    * Try no friction and no deadzone

    * Learn fromd ata

    * update refs

commit 65ce9f7
Author: Casey Francis <>
Date:   Mon Jun 27 13:14:36 2022 -0700

    adjust numbers down a tad

commit d72946b
Author: cfranyota <[email protected]>
Date:   Mon Jun 27 12:04:49 2022 -0700

    Update longcontrol.py

commit 73a2317
Author: cfranyota <[email protected]>
Date:   Mon Jun 27 11:45:31 2022 -0700

    my device pic

commit 8a5205b
Author: cfranyota <[email protected]>
Date:   Mon Jun 27 10:46:56 2022 -0700

    Update README.md

commit 72ebfba
Author: Casey Francis <>
Date:   Mon Jun 27 08:17:15 2022 -0700

    Update interfaces.py

commit 83f368d
Author: Casey Francis <>
Date:   Mon Jun 27 01:36:39 2022 -0700

    Update long_mpc.py

commit 67cdad9
Author: Casey Francis <>
Date:   Sun Jun 26 10:08:45 2022 -0700

    Cereal move-fast

    move-fast cereal

commit 5b165b7
Author: alfhern <[email protected]>
Date:   Fri Jul 17 15:23:38 2020 +0200

    Move-Fast mods

    Hands on wheel monitoring: Implementation according to r079r4e regulation

    VisionTurnController Implementation

    Debug UI: Toggle to display debug UI elements

    LiveMapData: Implementation

    SpeedLimitControl: Implementation

    TurnSpeedController: Implementation

    Live Map Data; Fix issue on C2 installation of opspline package.

    Update onroad.cc

    Update hands_on_wheel_monitor.py

    Update vision_turn_controller.py

    Update WayRelation.py

    Update dmonitoringd.py

    Update onroad.cc

    Revert "Update onroad.cc"

    This reverts commit 55d784c.

    Revert "Revert "Update onroad.cc""

    This reverts commit 93bf316.

    Update longitudinal_planner.py

    Update mapd.py

    Update onroad.cc

    Update onroad.cc

    Update onroad.cc

    Revert "Update onroad.cc"

    This reverts commit 534aee7.

    Update onroad.cc

    reposition numbers

    better offset

    better offset

    Update speed_limit_controller.py

    Update onroad.cc

commit 71e4010
Author: cfranyota <[email protected]>
Date:   Sun Jun 26 10:23:54 2022 -0700

    Update thermald.py

commit 000fc11
Author: Casey Francis <>
Date:   Fri Jun 24 20:18:02 2022 -0700

    Update long_mpc.py

commit c916857
Author: Casey Francis <>
Date:   Fri Jun 24 20:05:15 2022 -0700

    unicorns and ferries :unicorn:

commit b3e4094
Author: cfranyota <[email protected]>
Date:   Fri Jun 24 16:57:06 2022 -0700

    Add the rest oops

commit dd34a8b
Author: Casey Francis <>
Date:   Fri Jun 24 16:14:37 2022 -0700

    add brake lights for honda bosch

commit c05866c
Author: Casey Francis <>
Date:   Thu Jun 23 16:50:43 2022 -0700

    Update interface.py

commit 98c08a2
Merge: cd24dc8 31de3f6
Author: cfranyota <[email protected]>
Date:   Thu Jun 23 10:15:24 2022 -0700

    Merge commit '31de3f60274caa723ce3b67b3152fa29d194165a'

    Conflicts:
    	selfdrive/car/toyota/interface.py

commit 31de3f6
Author: Casey Francis <>
Date:   Thu Jun 23 03:15:25 2022 -0700

    Update longcontrol.py

commit cd24dc8
Author: Casey Francis <>
Date:   Thu Jun 23 03:15:25 2022 -0700

    Update longcontrol.py

commit 4e95756
Author: Casey Francis <>
Date:   Thu Jun 23 02:55:03 2022 -0700

    random

commit 971b5b9
Author: Casey Francis <>
Date:   Wed Jun 22 22:55:10 2022 -0700

    torque_tune

commit f1261b1
Author: Casey Francis <>
Date:   Wed Jun 22 22:18:05 2022 -0700

    update

    commit 9da1707
    Author: Casey Francis <>
    Date:   Wed Jun 22 21:53:45 2022 -0700

        Update log.capnp

    commit cdde264
    Author: Casey Francis <>
    Date:   Wed Jun 22 21:28:42 2022 -0700

        Update drive_helpers.py

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit 9b35741
    Author: Casey Francis <>
    Date:   Wed Jun 22 21:17:37 2022 -0700

        Update tunes.py

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit 0e222ea
    Author: Casey Francis <>
    Date:   Wed Jun 22 20:59:57 2022 -0700

        Update car.capnp

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit a598793
    Author: Casey Francis <>
    Date:   Wed Jun 22 20:56:28 2022 -0700

        cereal changes

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit 109c99d
    Author: Casey Francis <>
    Date:   Wed Jun 22 20:42:19 2022 -0700

        Update interfaces.py

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit db3b5b4
    Author: HaraldSchafer <[email protected]>
    Date:   Wed Jun 22 15:58:06 2022 -0700

        Refactor torque stuff (commaai#24921)

        * Refactor torque stuff

        * Add to release

        * Add substitute and override

        * Maxlataccel is required

        * Add to asserts

        * add ideal car

        * Need china too

        * yamls already linted

        * Fixed some bugs

        * Fixup

        * Unreliable data

        * Add cehck

        * Better comment

        * ref commit update

    commit cf514a3
    Author: HaraldSchafer <[email protected]>
    Date:   Mon Jun 13 19:08:09 2022 -0700

        Move couple toyotas to torque table values (commaai#24849)

        * Move couple toyotas to torque table values

        * Dont set for all cars yet

        * Dont regress docs

        * update ref

    commit 0746971
    Author: HaraldSchafer <[email protected]>
    Date:   Mon Jun 13 16:54:32 2022 -0700

        Couple more cars to torque tune (commaai#24848)

        * try sonata on torque tune

        * Couple known cars to torque control

        * fix

        * more fix

    commit 7503288
    Author: Shane Smiskol <[email protected]>
    Date:   Mon Jun 13 09:29:28 2022 -0700

        Toyota Camry TSS2: update torque control params (commaai#24819)

        Use updated accel and friction values for TSS2 Camry

    commit 83db938
    Author: HaraldSchafer <[email protected]>
    Date:   Fri Jun 10 17:57:23 2022 -0700

        Car interface: set max lateral torque from table (commaai#24789)

        * json

        * better naem

        * Read from table

        * formatting and default to nan

        * Generate docs

        * Read from table

        * this should be the same

        * Prius v is full

        * test we always set the tunes correctly

        add to release files

        * Set for all cars

        Set for all cars

        * Revert tuning changes

        Revert tuning changes

        * remove that

        * fixes

        * update ref commit for new maxLateralAccels

        Co-authored-by: Shane Smiskol <[email protected]>

    commit b46bd4e
    Author: HaraldSchafer <[email protected]>
    Date:   Fri Jun 10 22:52:48 2022 -0700

        Misc torque control fixes (commaai#24801)

        * Fiction compensation should be based on error

        * Update refs

        * Add deadzone

        * update ref

    commit ec5697d
    Author: Casey Francis <>
    Date:   Wed Jun 22 18:59:19 2022 -0700

        Revert "Revert "Update carcontroller.py""

        This reverts commit c0d48c6.

    commit 466bf28
    Author: Casey Francis <>
    Date:   Wed Jun 22 18:59:05 2022 -0700

        whoknowsifthisworks

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit ee94dc6
    Author: Casey Francis <>
    Date:   Wed Jun 22 17:08:15 2022 -0700

        Update latcontrol_torque.py

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit c0d48c6
    Author: Casey Francis <>
    Date:   Wed Jun 22 17:07:18 2022 -0700

        Revert "Update carcontroller.py"

        This reverts commit d21c769.

    commit 2ca6b6a
    Author: Casey Francis <>
    Date:   Wed Jun 22 17:04:54 2022 -0700

        Update latcontrol_torque.py

        Co-Authored-By: Comma Device <[email protected]>
        Co-Authored-By: Willem Melching <[email protected]>

    commit a287e68
    Author: Shane Smiskol <[email protected]>
    Date:   Thu Apr 28 00:42:52 2022 -0700

        Clean up controllers (commaai#24340)

        * clean up lat controllers

        * pass CP once

        * sort

commit 9da1707
Author: Casey Francis <>
Date:   Wed Jun 22 21:53:45 2022 -0700

    Update log.capnp

commit cdde264
Author: Casey Francis <>
Date:   Wed Jun 22 21:28:42 2022 -0700

    Update drive_helpers.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 9b35741
Author: Casey Francis <>
Date:   Wed Jun 22 21:17:37 2022 -0700

    Update tunes.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 0e222ea
Author: Casey Francis <>
Date:   Wed Jun 22 20:59:57 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit a598793
Author: Casey Francis <>
Date:   Wed Jun 22 20:56:28 2022 -0700

    cereal changes

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 109c99d
Author: Casey Francis <>
Date:   Wed Jun 22 20:42:19 2022 -0700

    Update interfaces.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit db3b5b4
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 15:58:06 2022 -0700

    Refactor torque stuff (commaai#24921)

    * Refactor torque stuff

    * Add to release

    * Add substitute and override

    * Maxlataccel is required

    * Add to asserts

    * add ideal car

    * Need china too

    * yamls already linted

    * Fixed some bugs

    * Fixup

    * Unreliable data

    * Add cehck

    * Better comment

    * ref commit update

commit cf514a3
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 13 19:08:09 2022 -0700

    Move couple toyotas to torque table values (commaai#24849)

    * Move couple toyotas to torque table values

    * Dont set for all cars yet

    * Dont regress docs

    * update ref

commit 0746971
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 13 16:54:32 2022 -0700

    Couple more cars to torque tune (commaai#24848)

    * try sonata on torque tune

    * Couple known cars to torque control

    * fix

    * more fix

commit 7503288
Author: Shane Smiskol <[email protected]>
Date:   Mon Jun 13 09:29:28 2022 -0700

    Toyota Camry TSS2: update torque control params (commaai#24819)

    Use updated accel and friction values for TSS2 Camry

commit 83db938
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 17:57:23 2022 -0700

    Car interface: set max lateral torque from table (commaai#24789)

    * json

    * better naem

    * Read from table

    * formatting and default to nan

    * Generate docs

    * Read from table

    * this should be the same

    * Prius v is full

    * test we always set the tunes correctly

    add to release files

    * Set for all cars

    Set for all cars

    * Revert tuning changes

    Revert tuning changes

    * remove that

    * fixes

    * update ref commit for new maxLateralAccels

    Co-authored-by: Shane Smiskol <[email protected]>

commit b46bd4e
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 22:52:48 2022 -0700

    Misc torque control fixes (commaai#24801)

    * Fiction compensation should be based on error

    * Update refs

    * Add deadzone

    * update ref

commit ec5697d
Author: Casey Francis <>
Date:   Wed Jun 22 18:59:19 2022 -0700

    Revert "Revert "Update carcontroller.py""

    This reverts commit c0d48c6.

commit 466bf28
Author: Casey Francis <>
Date:   Wed Jun 22 18:59:05 2022 -0700

    whoknowsifthisworks

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit b85252c
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 18:10:16 2022 -0700

    Update longitudinal_planner.py

commit ee94dc6
Author: Casey Francis <>
Date:   Wed Jun 22 17:08:15 2022 -0700

    Update latcontrol_torque.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit c0d48c6
Author: Casey Francis <>
Date:   Wed Jun 22 17:07:18 2022 -0700

    Revert "Update carcontroller.py"

    This reverts commit d21c769.

commit 2ca6b6a
Author: Casey Francis <>
Date:   Wed Jun 22 17:04:54 2022 -0700

    Update latcontrol_torque.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit a287e68
Author: Shane Smiskol <[email protected]>
Date:   Thu Apr 28 00:42:52 2022 -0700

    Clean up controllers (commaai#24340)

    * clean up lat controllers

    * pass CP once

    * sort

commit 86d0ede
Author: Casey Francis <>
Date:   Sun Jun 19 18:32:56 2022 -0700

    INDI or Torque, no pid anymore

    Update interface.py

commit 4164e2a
Author: Casey Francis <>
Date:   Wed Jun 22 14:34:28 2022 -0700

    Update README.md

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 1b33c40
Author: HaraldSchafer <[email protected]>
Date:   Tue May 24 09:11:31 2022 -0700

    New model: better laneless (commaai#24605)

    * Fix ping pong

    * Fix hugging: e6fd3a62-aa86-46d1-a414-19137ed1babc/800

    * Remove lateral toggle

    * a6da6265-1952-48dd-986b-2b5996dd2642/950

    * Model replay commit

    * Revert "Remove lateral toggle"

    This reverts commit 69e57eb.

commit 09fce5e
Author: Casey Francis <>
Date:   Wed Jun 22 14:20:27 2022 -0700

    Update carstate.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit d21c769
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 14:05:29 2022 -0700

    Update carcontroller.py

commit 5456bf5
Author: Casey Francis <>
Date:   Wed Jun 22 13:47:32 2022 -0700

    Update safety_toyota.h

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 91633ea
Author: Casey Francis <>
Date:   Wed Jun 22 13:26:19 2022 -0700

    Update carcontroller.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 2e4aabb
Author: Casey Francis <>
Date:   Wed Jun 22 13:17:44 2022 -0700

    Update carcontroller.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit b8a3e6c
Author: Casey Francis <>
Date:   Wed Jun 22 12:52:40 2022 -0700

    merge conflict

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 0f07db2
Author: Casey Francis <>
Date:   Wed Jun 22 12:13:59 2022 -0700

    add CC.latActive

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit f5311f6
Merge: 6bbed9a cde8a13
Author: Casey Francis <>
Date:   Wed Jun 22 11:31:01 2022 -0700

    Merge branch 'devel-0.8.14' of https://github.com/cfranyota/openpilot into devel-0.8.14

commit 6bbed9a
Author: HaraldSchafer <[email protected]>
Date:   Tue Apr 19 19:34:31 2022 -0700

    Lateral torque-based control with roll on TSS2 corolla and TSSP rav4 (commaai#24260)

    * Initial commit

    * Fix bugs

    * Need more torque rate

    * Cleanup cray cray control

    * Write nicely

    * Chiiil

    * Not relevant for cray cray control

    * Do some logging

    * Seems like it has more torque than I thought

    * Bit more feedforward

    * Tune change

    * Retune

    * Retune

    * Little more chill

    * Add coroll

    * Add corolla

    * Give craycray a good name

    * Update to proper logging

    * D to the PI

    * Should be in radians

    * Add d

    * Start oscillations

    * Add D term

    * Only change torque rate limits for new tune

    * Add d logging

    * Should be enough

    * Wrong sign in D

    * Downtune a little

    * Needed to prevent faults

    * Add lqr rav4 to tune

    * Try derivative again

    * Data based retune

    * Data based retune

    * add friction compensation

    * Doesnt need too much P with friction comp

    * remove lqr

    * Remove kd

    * Fix tests

    * fix tests

    * Too much error

    * Get roll induced error under 1cm/deg

    * Too much jitter

    * Do roll comp

    * Add ki

    * Final update

    * Update refs

    * Cleanup latcontrol_torque a little more

commit d54430a
Author: Shane Smiskol <[email protected]>
Date:   Tue Apr 19 16:07:46 2022 -0700

    ui: adjust e2e path width

commit cde8a13
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 11:22:58 2022 -0700

    Update controlsd.py

commit e4f0cda
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 10:58:04 2022 -0700

    Typo

commit badab9d
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 10:53:14 2022 -0700

    Llk

commit ebf981c
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 10:48:02 2022 -0700

    - self

commit be18261
Author: cfranyota <[email protected]>
Date:   Wed Jun 22 10:42:48 2022 -0700

    Update controlsd.py

commit d22d8b6
Author: Casey Francis <>
Date:   Wed Jun 22 10:18:45 2022 -0700

    this was renamed oops i forgot

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 2b35cb8
Author: Casey Francis <>
Date:   Wed Jun 22 09:45:54 2022 -0700

    Update latcontrol_pid.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 000e20a
Author: Adeeb Shihadeh <[email protected]>
Date:   Fri Jun 3 14:34:16 2022 -0700

    UI: don't disable toggles onroad

commit a5d2fff
Author: cfranyota <[email protected]>
Date:   Fri Jun 3 19:38:47 2022 -0700

    fixed traffic TF

    This reverts commit 6be8366.

    fixed traffic TF

commit cb48173
Author: Casey Francis <>
Date:   Wed Jun 22 09:16:26 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 50fc52e
Author: Casey Francis <>
Date:   Wed Jun 22 09:11:11 2022 -0700

    revert  Dev UI

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 87bb640
Author: cydia2020 <[email protected]>
Date:   Sat Jun 18 23:15:26 2022 +1000

    Torque control: low speed boost (commaai#24859)

commit 0c54cb1
Author: Casey Francis <>
Date:   Wed Jun 22 08:51:41 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit f299fc8
Author: Casey Francis <>
Date:   Wed Jun 22 08:47:21 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 42b6794
Author: Casey Francis <>
Date:   Wed Jun 22 08:46:54 2022 -0700

    Revert "Update car.capnp"

    This reverts commit fc0190a.

commit ce6ba17
Author: Casey Francis <>
Date:   Wed Jun 22 08:45:17 2022 -0700

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 46e774b
Author: Casey Francis <>
Date:   Wed Jun 22 08:29:03 2022 -0700

    Update log.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 1255018
Author: alexandresato <[email protected]>
Date:   Mon Feb 7 16:28:26 2022 -0300

    Turning the speed Red

    Turning the speed Red

    hotFix

commit 677ebc8
Author: Casey Francis <>
Date:   Fri Jun 10 20:51:59 2022 -0700

    Finish rename toggle

    change toggle to torque

    Update interface.py

    Update settings.cc

commit ee2015c
Author: Casey Francis <>
Date:   Sat Jun 11 15:20:11 2022 -0700

    fix for non-tss 2.0

commit 78e0326
Author: Casey Francis <>
Date:   Sat May 14 07:37:03 2022 -0700

    Steering fault fix

    Steering fault fix

    Update carcontroller.py

    Steering fault fix

    fault fix 1

    fix conflict

    Rename oops

    Revert "Steering fault fix"

    This reverts commit b10db87.

    Fix "Steering fault fix""

    This reverts commit cda5c77.

    Update safety_toyota.h

    Revert "Steering fault fix"

    This reverts commit 6600370.

    Revert "Revert "Steering fault fix""

    This reverts commit 95c6cb3.

    Update carcontroller.py

    Update carcontroller.py

    Update carstate.py

    Update safety_toyota.h

commit d7dbbb4
Author: wirelessnet2 <[email protected]>
Date:   Thu May 26 13:56:33 2022 -0400

    Dev UI

    Dev UI

    Update onroad.cc

    Update car.capnp

    Update car.capnp

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 982178e
Author: Casey Francis <>
Date:   Thu Apr 14 03:02:35 2022 -0700

    Masteryota

    Masteryota

    Masteryota

    This reverts commit 916f2de.

    1.8 accel max

    1.25 follow

    Copied Sport vals from SA-Eco

    3 hours off / saves your 12v battery

    Testing if the deadzone is causing the delay

    Or maybe it's the high ki values. Testing old known values from previous versions of OP. No deadzone

    Toyota logo instead of comma

    1.2 follow

    Fork mods

    Fork mods

    lower gain, higher prediction, stiffer wheel, higher steer ratio

    Fork mods

    commit 5c673b6399737b3e0b9d9d54e0b830e0cb04b185
    Author: cfranhonda <[email protected]>
    Date:   Wed Jul 28 15:47:27 2021 -0700

    Fix steer max and make ki a bit higher.

    commit 039cf40ab0ac72ced1c19de6854b7761a109d4e6
    Author: Casey Francis <@cfranhonda>
    Date:   Tue Jul 27 23:19:30 2021 -0700

    add LQR for other bosch kids

    commit 95efde9a50bc4ca38a81e5cfdb86d1307db41f3c
    Author: Casey Francis <@cfranhonda>
    Date:   Tue Jul 27 22:34:51 2021 -0700

    add LQR tune

    Fork mods

    commit 9b45eb1
    Author: Daehyuk Ahn <[email protected]>
    Date:   Mon May 24 23:14:34 2021 -0700

    Add EnableGasPedal (toggle menu)

    commit 4e9ac3b
    Author: Casey Francis <@cfranhonda>
    Date:   Sat Aug 21 17:36:22 2021 -0700

    full speed fan

    commit 152dec1
    Author: Casey Francis <@cfranhonda>
    Date:   Sat Aug 21 07:45:17 2021 -0700

    add vision/ disable radar toggle

    commit 5c48f3e
    Author: Casey Francis <@cfranhonda>
    Date:   Sat Aug 21 07:35:54 2021 -0700

    vaggy hack to stop jerk

    commit 87328dd
    Author: cfranhonda <[email protected]>
    Date:   Mon Aug 23 07:15:05 2021 -0700

    eps mod / gasmax adjust

    commit baffaee
    Author: Vehicle Researcher <[email protected]>
    Date:   Sun Aug 22 22:13:11 2021 -0700

    openpilot v0.8.8 release

    adding "," fws for modded people

    Update thermald.py

    No sound for Saturated steering

    remove no gps alert

    Update power_monitoring.py

    Update interface.py

    green instead of red path

    LQR toggle

    add LQR toggle for select Honda's

    add LQR toggle for modded Civic's & CRV

    Revert "Universal LQR tune"

    This reverts commit c10adf7.

    add LQR toggle

    change description

    Universal LQR tune

    Universal LQR tune

    This tune taken from the Toyota Rav4 has shown to be a great
    alternative to the standard PID tune. It's worked very well on eps mod
    multipliers of 2, 2.5, 3.5, 4x. It climbs the torque scale much
    smoother and doesn't "jitter" like PID does sometimes.

    fix LQR for RDX

    kf under PID only.

    add Accord to LQR toggle

    Conflicts:
    	selfdrive/boardd/boardd.cc
    	selfdrive/controls/lib/events.py
    	selfdrive/ui/qt/offroad/settings.cc

    LQR toggle

    lower ff

    +25% Cruise max

    add to release notes

    paramsd cpu usage has been increasing

    boardd: connect to all pandas if none specified (commaai#23805)

    Refactor convolutions (commaai#23807)

    * one conv with defines

    * add conv

    * building works on C3

    * this is num_outputs too, process replay is so useful

    cleanup import chaining of T_IDXS (commaai#23806)

    bump panda

    ui.py: fix model lead plotting

    Param to allow upload over cellular (commaai#23811)

    * param to allow upload over cellular

    * brackets to be consistent

    * move outside loop

    * fix tests

    longitudinal planner: disable change cost when stopped. not engaged or gas pressed (commaai#23639)

    * disable change cost completely on standstill and gas press

    * cleanup

    * set accel to zero

    * clean up logic around standstill

    * update ref

    onroad_test: increase camerad cpu usage after debayer changes

    Update raw_logger/framereader to new new ffmpeg api (commaai#23799)

    * Update raw_logger/framereader to new new ffmpeg api

    * Can be removed now

    * Handled by avcodec_free_context

    * handle EAGAIN and clean up

    thneed: a few asserts in the optimizer for cases it will fail

    docs: fix title typo

    cabana for your terminal

    Fix tici bigmodel (commaai#23817)

    * Fix bigmodel on tici: cam intrinsics arent static

    * Give TICI route own name for import

    * Make function useable in offline test

    * typo

    * change tici ecam focal to trained focal

    * No shadow variable

    * Fixed ref

    * Force update this time

    * Update model replay ref commit

    2022 Hyundai Elantra firmware versions (commaai#23818)

    Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.

    CARS.md add 2022 elantra

    hyundai: custom fw version for sonata eps (commaai#23816)

    * hyundai: custom fw version for sonata eps

    * another comment

    HKG: Kia Sorento FPv2 (commaai#23815)

    * Replace Kia Sorento FPv1 with FPv2

    * keep old fingerprint

    Subaru: add FW for Impreza Limited UDM 2017 (commaai#23802)

    * FPv2: Add Subaru Impreza Limited USM 2017

    * test_fw_query_on_routes.py: add subaru support

    Fix unmetered upload over cell (fix commaai#23811) (commaai#23820)

    omx encoder: move writing into thread (commaai#23771)

    * omx encoder: move writing to separate thread

    * fix include

    * pop

    * log buffers sizes

    * split copy and write

    adjust comma two model timing thresholds after bigmodel

    Toyota: fix flaky EV detection (commaai#23825)

    script to clear DTCs

    move lock clearing to uploader (commaai#23826)

    * move lock clearing to uploader

    * test case

    Honda: revert to button enable on Nidec (commaai#23828)

    * Honda: revert to button enable on Nidec

    * fix test

    * bump panda

    Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 (commaai#23823)

    fix mac_setup w/ tools+plotjuggler (commaai#23552)

    * fix pycurl issue:
    * use newer curl backend for pip install
    * update lib paths based on brew prefix
    * fix cert issue when using pycurl using certifi
    * make output setup nicer

    * fix linter

    * typo

    * dont need that actually

    * revert

    * pipenv in brew

    * forgot this

    * make brew available on fresh install

    * undo

    * more undo

    * oops

    * use sytem curl, but homebrew openssl

    replay: use QCoreApplication (commaai#23831)

    scons: use correct brew prefix (commaai#23833)

    replay: use VideoToolbox HW decoder on Mac (commaai#23832)

    * replay: support VideoToolbox HW decoding

    * rename flag

    * remove debug assert

    Fix watch3 on mac (commaai#23834)

    this seems to about what my car converges to (commaai#23836)

    boardd: handle missing pandas

    Subaru: remove Impreza CAN fingerprints (commaai#23841)

    * Subaru: remove Impreza CAN fingerprints

    * fix process replay

    * update refs

    Toyota: remove outdated comment (commaai#23844)

    Remove unused MPC_COST_LONG class (commaai#23843)

    Faster cruise max

    Update interface.py

    sport

    torque for everyone

    torq boi suggestions

    torque for everyone

    Update settings.cc

    Update interface.py

    fix prius/camry tune

    torque for everyone

    add torque to hondas

    Update interface.py

    Fix Honda rename MAX_LAT_ACCEL

    Rename to MAX_LAT_ACCEL

    Try more chill tune

    Revert: That was too chill

    Update interface.py

    NEOS 20

    add hkg to max lat accel and import params

    add hkg to max lat accel and import params

    Classic comma spinner

    '2' boot logo

    smaller '2'

    Revert "smaller '2'"

    This reverts commit 629267e.

    i think its fixed now

    Update interface.py

    Update interface.py

    Update interface.py

    Update interface.py

    chart vals

    Legacy Comma engage/disengage sounds

    tuned by spektor

    add rav4 to torque controller

    Latcontrol torque: integrator need not be reset (commaai#24606)

    slow integrators need not be reset

    rename Honda MAX_LAT_ACCEL

    rename HKG to MAX_LAT_ACCEL

    fix logic for non modded users

    Update interface.py

    Co-Authored-By: Comma Device <[email protected]>
    Co-Authored-By: Willem Melching <[email protected]>

commit 4bcd01f
Author: KRKeegan <[email protected]>
Date:   Wed May 25 17:42:15 2022 -0700

    :racing_car: More Aggresive Start from Standstill

    Uses Dynamic MPC Costs which decreases the a_change and jerk
    costs at low speeds when accelerating.  No changes made
    during braking.

    Also dynamically decreases the Stop_Distance as the lead pulls
    away so that the long_mpc commands forward accel just a
    little bit sooner.

    Lower overall Stop_Distance slightly, since we stop a bit more
    assertively now with the decreased costs, the stop distance
    doesn't need to be as high.

    Add a test_accel file for testing sluggish starts.

    Ignore longitudinalPlan Msgs in Process Replay.

commit 448b4aa
Author: KRKeegan <[email protected]>
Date:   Wed May 25 16:42:22 2022 -0700

    :wrench: Tweak Toyota Long Tuning for My Tastes

    The Rav4 2019 TSS2 has ~1.4s lag between when accel commands are sent
    to the car and when they are acted upon when the car is starting from
    a dead stop.  Stock feels fine with this limitation, so OP can too.

    Most of these changes are designed to fix any sluggishness caused by
    the Toyota Tune.  Additional changes need to be made to the Long MPC
    in order to solve the sluggish start completely.

    Changes:

    Decrease vEgoStopping and vEgoStarting to 0.2.  Car is perfectly
    capable of controlling at these speeds.  Lower value allows for state
    machine to exit stopping phase just a bit faster.

    Double the ActuatorDelay lag to .3 so we look into the future just a bit
    more, seems a bit more inline with realworld experience.

    Halve stoppingDecelRate to match the OEM stop_accel of -.4m/s2.  Makes
    the final jerk in stopping a bit smoother

    Increase the PID max accel to 1.8 m/s2 tappering back to 1.5 m/s2 at 5m/s.

    Increase planner max accel to 1.4 m/s2 from 1.2 m/s2 starting from a stop
    tapering back to 1.2 m/s2 at 10m/s.

    Decreased planner max accel at 55mph, seemed a little uncomfortable to me.

    Decrease A_Change Timescale in Long_MPC to match more closely what toyota
    lag is.

    Ignore some messages and fields in process_replay test in order to
    keep it working.

commit 7a0d9be
Author: KRKeegan <[email protected]>
Date:   Wed May 25 16:40:37 2022 -0700

    :straight_ruler: Enable Toyota Distance Button to Change Distance Lines

    __Additions__

    * Forward distance button presses to car can
    * Read distance_lines can message from car and use to set distance
    profile.
    * Alter T_Follow based on distance profile
      * Stock = 1.45
      * Relaxed = 1.25
      * Traffic ~= 1.05 (at low speeds closer to 1.25)
    * Adjust J_Cost, A_Change_Cost, and D_Cost based on distance profile
      * Weights for Costs need to be adjusted when T_Follow is decreased.

    __Tests__
    * Add Longitudinal Tests for Additional Following Profiles
      * Copy the comma tests, with appropriate following distance for
    each profile.
    * Tweak Process_Replay Action - Ignores the new carState.distanceLines
    message, so that replay refs still pass.

    Thanks to sshane for help with this. See the tree ending with
    commit 73237de

commit e517eef
Author: Kevin Robert Keegan <[email protected]>
Date:   Sun Dec 19 15:50:05 2021 -0800

    :page_facing_up: Add Toggle to Enable Automatic Raw Log Uploading

    Brings back the raw log toggle that was used prior to version
    8.12.

    Upload RLogs First then Videos

    This reverts in part commit 2e0c73f.

commit fb05960
Author: rav4kumar <[email protected]>
Date:   Tue May 3 18:49:35 2022 -0700

    torque port

    Latcontrol torque: update tuning (commaai#24357)

    * Little more chill

    * Update ref

    * Update refs

    Latcontrol torque: max_torque rename (commaai#24265)

    Update interface.py

    ordinal bs

    Update interface.py

Update README.md
sshane added a commit that referenced this pull request Jul 12, 2022
add template

fix template, test test

see if this works

see if this works

test

test

no other tests

fix

fix

jenkins: set successful boot flag
test

stash

Honda Longitudinal: fix HUD max distance setting (#24915)

Fix max distance setting on display
stash

update refs

just try this out

try this

works offline

update camerad gitignores

fix

cache scons

test

ohh

test

fix

this commit

upload

two jobs

debug

just make it work

compatibility docs: fixup steering torque star (#24940)

* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
add and delete more

generate

Merge remote-tracking branch 'upstream/master' into docs-diff

debug

debug

this might be the only way

this might be the only way

try setting it manually

if that doesn't work...

test

this should work

fix

see if this works

now save it

this might work too

need to do this separately

test

ui: change alerts to Inter (#24937)

* ui: change alerts to Inter

* fix up test
ui: change sidebar font to Inter (#24931)

* change sidebar to inter

* clean up metric color rect radius

* fix text placement

* simplify rect placement
ui: change set speed, speed limit and current speed to Inter (#24932)

* ui: change set speed/speed limit to Inter

* switch current speed to Inter
remove Open Sans fonts from assets (#24946)

DM: track RHD predictions (#24947)

* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* Revert "remove from params"

This reverts commit a08df0b.

* Revert "modeld not use toggle"

This reverts commit 2730bf8.

* Revert "remove"

This reverts commit 21f7cfa.

* Revert "driverview"

This reverts commit 222d129.

* semi revert
Chrysler: fill cruiseState.available (#24907)

* Update some signals to unified names and definitions

Co-authored-by: Jonathan <[email protected]>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <[email protected]>
CANParser: invalid until valid (#24945)

* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
Refactor torque stuff (#24921)

* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
Cleanup car interfaces (#24948)

* remove interface overrides

* Fix test

* set torque tune for ev6
EV6: adjust steering thresholds (#24901)

* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <[email protected]>
count_events improvements

Navd added to README (#24953) (#24954)

* Navd added to README

* Update README.md

Co-authored-by: Willem Melching <[email protected]>
use correct tty device for serial

Laikad: minor refactor (#24956)

extract code to get_est_pos func
VW MQB: Add FW for 2016 Volkswagen Passat (#24957)

* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <[email protected]>
cleanup torque tuning config (#24951)

fix carla test fake driverState (#24959)

use driverstatev2
Speed up YAML parsing with CSafeLoader (#24958)

Use CSafeLoader
can replay: get logs in parallel (#24960)

* get can replay segs in parallel

* total not needed
Hyundai: remove bad esp fingerprint (#24952)

Remove unknown "esp" fp
logger.cc: remove unused function append_property (#24966)

remove append_property
loggerd: remove rotate_lock (#24969)

remove lock
FfmpegEncoder: free codec_ctx in encoder_close (#24967)

free context
Log SOM power draw (#24975)

* log SOM power draw

* bump cereal

Co-authored-by: Comma Device <[email protected]>
Co-authored-by: Willem Melching <[email protected]>
calibrationd: start faster by not waiting for carParams (#24976)

* calibrationd: start faster by not waiting for carParams

* fix process replay

* update ref
snapshot: fix rgb overflow (#24963)

clamp rgb
ui: use current calibration to center vanishing point (#24955)

* compute x and y offsets using calibration

* fix default calibration

* clamp to max values

* only use when valid

* not while calibrating

* less diff

* cleanup zoom
split locationd and liblocationd tests (#24977)

* laikad: use cython version of gnss kf

* fix import error

* test liblocationd separate

* Revert "laikad: use cython version of gnss kf"

This reverts commit bdd769b.
2022 RAV4 XLE engine FW (#24973)

Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
Torque control: higher low speed gains and better steering angle deadzone logic (#24980)

* Try no friction and no deadzone

* Learn fromd ata

* update refs
onroad UI: fix onroad double tap (#24982)

* The default implementation calls mousePressEvent().

* no sidebar when entering body

* wrong one

* you can't double tap with body anyway (fixes inconsistencies with prime vs not prime)

* hide sidebar
Power Monitoring test: fix exceptions (#24981)

* fix missing POWER_DRAW

* think should be 0
Update rednose: use EKF_sym_pyx (#24978)

* Update rednose

* Update rednose

* cleanup
bump rednose

add laikad to process replay (#24889)

* merge

* Fix closing process executor after fetching orbits

* cleanup

* Add ref commit and revert test_processes hack

* Fix

* Fix ref

* Fix test

* Temp

* Temp

* Trying

* Trying

* Cleanup and change test

* add ref commit

* remove print

* fix test getting stuck

* cleanup fetch_orbits

Co-authored-by: Gijs Koning <[email protected]>
laikad: use cython filter (#24983)

use cython filter
ui: disable sync with model until more stable (#24984)

move replay from selfdrive/ui/replay to tools/replay (#24971)

* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
Properly pass KF dependencies to rednose (#24985)

* Fix rednose dependencies

* bump rednose

* bump rednose
build.py: remove retry logic (#24986)

Chrysler: fix steering angle signals (#24926)

* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <[email protected]>
Toyota: Add missing 2021 RAV4 TSS2 esp FW (#24989)

Add missing Canadian TRD 2021 RAV4
framereader.cc: remove nv12toyuv_buffer (#24991)

remove nv12toyuv_buffer
bump cereal

don't log LaikadEphemeris in initData

UI: wrap all text for translation (#24961)

* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
Honda Civic 2022: remove LKAS fault reinitialization (#24979)

* no lkas problem

* remove frame
docs: ssh.comma.ai (#25000)

Multilang: remove redundant QString() around tr() (#25003)

remove qstring
ui: replace line_vertices_data with QPolygonF (#25001)

use QPolygonF

use push_front
remove selfdrive/common (#24997)

swaglog.cc/cloudlog_common: pass json object by reference (#24996)

* pass json object by reference

* space between functions
Multilang prerequisites (#24999)

* some supporting code for multilang

* for now just english

* test for missing language files

* test for checking if ts file is up to date

* Skip test if causes exception, other test catches this

Test test

Should also work

should now fail

revert

rmn

* add to files_common

* fix files_common

* newlines

* no need to not update

* comment

* only english

* double quotes

* switch around
Camerad: small cleanup (#24992)

* remove CameraExpInfo

* remove release callback
camerad: reduce cpu usage (#24993)

wait for 50ms
test onroad: lower camerad cpu usage

cameraview.cc: prev_frame_id static -> class member

cameraview.cc: qInfo -> qDebug

Add laikadOffline subtest to process replay.  (#24995)

* Add subtests to process replay.
Adds laikadOffline subtest

* Update cpp.

* Update ref

* Update ref again

* Update ref again

* update ref

* Fix disabling fetching orbits

* Add proc name to event exception

* update ref

* Update setup_env

* Fix offline test and update refs
Full localizer: Use standard naming conventions (#25007)

Use standard naming conventions
Toyota: fix BSM detection (#24964)

* revert to 1 second

* Revert "revert to 1 second"

This reverts commit 6ab3f75.

* Revert "remove toyota can fingerprinting exceptions (#22803)"

This reverts commit d8f5e8b.

fix static analysis

* Revert "Revert "remove toyota can fingerprinting exceptions (#22803)""

This reverts commit fc359fc.

* 1 second for all brands

* update refs

Co-authored-by: Adeeb Shihadeh <[email protected]>
tools: add support for nv12 in compressed_vipc (#24962)

reshape for nv12
GM: Lower LKA loopback CAN Error timing threshold to accommodate dropped packets (#24927)

* LKA loopback timing to 10Hz

* Typo

Co-authored-by: Willem Melching <[email protected]>

Co-authored-by: Willem Melching <[email protected]>
remove mypy ignore from a few scripts

GM: prep and cleanup for future ports (#24910)

* Interface radarOffCan set, comments

* pass pcmCruise value to common events

* add transType and networkLoc to iface

* carstate use transtype to detect EV

* ctrl: limit sends by config

* Add clarifying comments for new vals

* clean up

* comment on new line

* these have the same frequency

* remove 25hz

* add to upper comment

* update refs

* update refs

* move into same block

move into same block

Co-authored-by: Shane Smiskol <[email protected]>
update release notes

Clean up CarControllers (#25008)

* do VW

* Do the rest

* unused

* ford cc formatting

* final clean ups

* also just return update output
Chrysler: carState signals update (#24760)

* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <[email protected]>
Chrysler Pacifica 2019 is supported (#25010)

19 is secretly supported
Chrysler: add missing 2022 Pacifica Hybrid fingerprint (#24685)

* Added 2022 PacHy info

Didn't really need to add this but thought it would be useful.

* Added 2022 PacHy info

* Added 2022 PacHy info

Added 2022 PacHy FP

* add to current platform

* generate docs

* should only need this

Co-authored-by: Shane Smiskol <[email protected]>
Mazda: add missing FW version for CX-5 2022 (#24925)

laikad: Improve logging, fix warning and more exception handling (#25005)

* change logs and add some debugging. Add test

* Less logging and better check for exceptions when parsing orbits

* Fix debug log and fix kf initialization
bump laika

process replay: Fix setting environment vars (#25015)

Fix setting environments in process replay
Laikad: dont log when filter is not initialized

enable laikad (#25013)

* enable laikad

* increase logprint for onroad test
Laikad: Allow fetching orbits every minute (#25016)

* Allow fetching orbits every minute

* Small cleanup
GM: values.py cleanup & minor updates (#24908)

* Comment update on static limits

* Astra FP cleanup

* DBC autogen & customizable

* Add new Escalade FP, disable bad

* Add DROPPED CanBus value

* Update/cleanup CarInfo

* DBC -> defaultdict

* Fix DBC typing issue

* Revert Escalade fix

* clean up

* comment spacing

* revert this for now

Co-authored-by: Shane Smiskol <[email protected]>
car docs: remove steering torque hard-coding (#25019)

remove good torque hardcoding
Torque control: max torque warning (#25018)

* New steer torque warning

* typo
settings.cc: remove function network_panel (#25030)

remove function network_panel
bump opendbc

controlsd: avoid lag on first iteration due to get_short_branch (#25031)

* controlsd: avoid lag on first iteration due to get_short_branch

* always cache
add casync support to agnos updater (#23654)

* add casync option to agnos updater

* open if necessary

* add python implementation

* last chunk can be small

* check flags

* cleaner check

* add remote and file stores

* remote caibx file

* print stats

* use python implementation

* clean up imports

* add progress

* fix logging

* fix duplicate chunks

* add comments

* json stats

* cleanup tmp

* normal image is still sparse

* Update system/hardware/tici/agnos.py

Co-authored-by: Adeeb Shihadeh <[email protected]>

* Update system/hardware/tici/agnos.py

Co-authored-by: Adeeb Shihadeh <[email protected]>

* add some types

* remove comment

* create Chunk type

* make readers a class

* try agnos 5.2

* add download retries

* catch all exceptions

* sleep between retry

* revert agnos.json changes

Co-authored-by: Adeeb Shihadeh <[email protected]>
casync: build_chunk_dict optimize for resuming (#25038)

Update path for github workflow hardware unit tests (#25035)

* Update hardware path for github workflow unit tests

* Update release/files_common

Co-authored-by: Adeeb Shihadeh <[email protected]>
always show avg power

Chrysler: prep for Ram port (#25040)

* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
Subaru: XV is supported (#25034)

* Subaru: add XV to supported models

* Update docs
regen migration: use Panda safety parameters (#25043)

no magic numbers
Add new LEXUS_RX_TSS2 engine f/w (#25041)

`@ibby1137#8978` 2022 Lexus RX350L AWD  DongleID|route abc09032f402f271|2022-07-05--17-34-41
car docs: add video for Hyundai Kona Hybrid 2020 (#25029)

* Update values.py

Added the following video link "https://www.youtube.com/watch?v=0dwpAHiZgFo"

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <[email protected]>
Toyota: add missing esp FW version for 2021 Toyota Corolla (#25026)

2021 Toyota Levin hybrid (aka Corolla)
long planner: run when using stock longitudinal (#25017)

* Squashed commit of the following:

commit e27a5b4
Author: Shane Smiskol <[email protected]>
Date:   Fri Jul 1 14:10:06 2022 -0700

    remove this test

    remove this test

commit c3c10af
Author: Shane Smiskol <[email protected]>
Date:   Fri Jul 1 14:08:15 2022 -0700

    only planner changes

commit 50e0f1d
Merge: e088fde fcc5b3d
Author: Shane Smiskol <[email protected]>
Date:   Fri Jul 1 14:05:36 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner2

commit e088fde
Author: Shane Smiskol <[email protected]>
Date:   Thu Jun 30 13:58:38 2022 -0700

    no walrus

commit b7b425e
Merge: f863426 c49f997
Author: Shane Smiskol <[email protected]>
Date:   Thu Jun 30 13:54:30 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit f863426
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 29 16:07:35 2022 -0700

    stricter test, speeds[-1] is 0.14 when starting here

commit c9e446a
Merge: e6c4106 879a7c3
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 29 16:01:32 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit e6c4106
Author: Shane Smiskol <[email protected]>
Date:   Sat Jun 25 03:28:41 2022 -0700

    fix test

commit 0520c7f
Author: Shane Smiskol <[email protected]>
Date:   Sat Jun 25 03:26:16 2022 -0700

    add test for resuming

commit 04db5f8
Merge: e23b37d d8bfe2f
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 22 20:15:50 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit e23b37d
Author: Shane Smiskol <[email protected]>
Date:   Tue Jun 21 12:46:04 2022 -0700

    0.1 should be pretty safe

commit e7dc396
Author: Shane Smiskol <[email protected]>
Date:   Tue Jun 21 12:39:30 2022 -0700

    try 0.2

commit ff0597e
Author: Shane Smiskol <[email protected]>
Date:   Tue Jun 21 11:34:00 2022 -0700

    Always run planner if not opLong

commit 13997c5
Merge: d2f51ee 95d8517
Author: Shane Smiskol <[email protected]>
Date:   Tue Jun 21 11:29:22 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit d2f51ee
Author: Shane Smiskol <[email protected]>
Date:   Tue Jun 21 11:27:45 2022 -0700

    same for non-HDA2

commit 6a63bd6
Author: Shane Smiskol <[email protected]>
Date:   Mon Jun 20 23:37:07 2022 -0700

    mazda: ensure no resume if cancelling

commit 5771cde
Author: Shane Smiskol <[email protected]>
Date:   Mon Jun 20 23:27:58 2022 -0700

    maintain original button msg rate

commit 6c1fe06
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 23:45:26 2022 -0700

    rename to resume

commit 00b1df6
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 21:57:54 2022 -0700

    remove comments

commit 325ea9b
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 21:56:20 2022 -0700

    vw

commit 2c90610
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 21:54:37 2022 -0700

    do rest but vw

commit 3dc51f6
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 16:34:48 2022 -0700

    only spam resume when future is > vEgoStarting

commit 5f32cd1
Author: Shane Smiskol <[email protected]>
Date:   Wed Jun 15 16:09:43 2022 -0700

    always log leads, we hide them in ui

* reset when not CS.enabled

remove comment

* update refs
bump opendbc

casync: reuse requests session in RemoteChunkReader (#25045)

casync: compute seed caibx url on the fly (#25046)

* compute seed hash on the fly

* more logging

* partition name in url

* fix comment
add casync to release files

bump laika

laikad: Filter unwanted pseudoranges (#25051)

Filter unwanted pseudoranges
Add missing 2019 RAV4 Hybrid engine FW version (#25057)

add missing engine fw
FW fingerprinting: log all FW versions (#25042)

* get_fw_versions returns all fw versions with request's brand

* keep track of everything received

* debug

* need to regen or write a hack in build_fw_dict

* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

* update test_fw_query_on_routes

* clean up

* better name

* slightly cleaner

* fix test_startup unit test

del

* fix imports

* fix test_fw_fingerprint

fix test_fw_fingerprint

fix

* fingerprint on all FW_VERSIONS, not just brands with requests

* support old routes in test_fw_query_on_routes

* regen and update refs

* similar function style to before

* better comment

* space

switch name

* try to exact match first

* useless else

* fix debug script

* simpler dictionary

* bump cereal to master
VW FPv2: reduce number of ECU queries (#24939)

* only send valid/needed queries

* just do volkswagen

* clean up

* add parameter name

clean up

* add test for whitelist

* rename

* Update selfdrive/car/fw_versions.py

Co-authored-by: Jason Young <[email protected]>

* fix test

* log response addresses

* bump cereal

* handle response pending with IsoTpParallelQuery

* remove response pending stuff

* temporarily disregard cache for easier testing

* revert this

Co-authored-by: Jason Young <[email protected]>
Ram 1500 (#24878)

* RamInit

* bump submodules

* lil cleanup

* clean up carstate formatting and platform grouping

make tuple

* give it a gold torque star (looks around 2.4 from rough data)

* Dasm Fault

* bump panda

* more cleanup

* cleanup car state

* more cleanup

* some fixes

* remove more stuff

* fix angle signal scaling and fix lkas control bit

* bump panda

* update those

* same limits as pacifica

* cleanup hud alert building

* better fault logic

* fix rate

* set ahb

* bring that back

* update refs

Co-authored-by: Jonathan <[email protected]>
Co-authored-by: Shane Smiskol <[email protected]>
Co-authored-by: Comma Device <[email protected]>
Stock longitudinal: spam resume button when lead starts moving (#24873)

* always log leads, we hide them in ui

* only spam resume when future is > vEgoStarting

* do rest but vw

* vw

* remove comments

* rename to resume

* maintain original button msg rate

* mazda: ensure no resume if cancelling

* same for non-HDA2

* Always run planner if not opLong

* try 0.2

* 0.1 should be pretty safe

* add test for resuming

* fix test

* stricter test, speeds[-1] is 0.14 when starting here

* no walrus

* fixup mazda cc

* remove extra import
FW query debug script: print version brand (#25058)

* test_fw_query_on_routes: print brand

* dynamic paddign
Process replay: Fix subtest diff (#25054)

Fix subtest diff
onroad.cc: fix mutcd sign width for metric speed limit

Laikad: Use clocks for faster fetching orbits (#25060)

* Use clocks msg to for first fetch of orbits. Which is sent earlier than ublox msgs

* refactor last_fetch_orbits

* Add comment.
Add test

* increase timeout

* Add clocks to process replay
fix MacOS buid: replay frameworks (#25061)

* replay: fix macos build

* here too

* keep original frameworks
athena: skip duplicate upload requests (#25062)

* athena: skip duplicate upload requests

* cleanup

* keep simple

* just ignore
Chrysler: resume from cruise standstill (#25009)

* Chrysler: resume from cruise standstill

* bump panda

* resume isn't set yet
process replay: add Ram route (#25063)

loggerd: remove 'enable' from struct LogCameraInfo (#25052)

remove enalbe
Chrysler: fix steer fault detection (#25068)

Add Chinese (traditional) translations (#25064)

* Add Chinese translations

* wrap these

* add to languages.json

* fix tests

* use tmp dir for tests (doesn't change translation files in git repo)

* defaultdict not used

* update main_zh.ts (test outdated QM file)

* test outdated QM file (prev commit tests missing)

* update qm file

* add sidebar translations

* no need for function
chill ram tune (#25071)

UI: fix unable to scroll on 'Regulatory' page (#25014)

* fix unable to scroll on 'Regulatory' page

deleteLater after hide

* remove alert

* override exec

* set MousePressEventDelay to 0

* set to 0.01

* cleanup

* check event->pos()
UI: fix reset calibration description

Hyundai: limit Kona torque (#25074)

move kona limit to car controller

add pandas and tabulate packages (#25076)

* add pandas and tabulate packages

* remove that
Add video for 2020 Lexus ES Hybrid

Add Korean translations (#25073)

* Add Korean translations

Signed-off-by: crwusiz <[email protected]>

* line error fix

Signed-off-by: crwusiz <[email protected]>

* space error retry

Signed-off-by: crwusiz <[email protected]>

* &quot fix

Signed-off-by: crwusiz <[email protected]>

* translation --release

* main_ko.qm remove

* main_ko.qm remake

* Update ko and fix zh

* fix Linguist warnings

* commit noun

Co-authored-by: Shane Smiskol <[email protected]>
AGNOS 5.2 (#25011)

* AGNOS 5.2

* casync manifest
Add Japanese translations (#25078)

* Add Japanese translations

* test japanese

* update tr file

* test for unfinished translation tags

* add compiled QM

add compiled QM

* mark as finished

* remove from tests, needs some design decisions

Co-authored-by: PONPC <[email protected]>
some more release notes

add multilang to release notes

RELEASES.md: new driving model goes first

casync: handle hash failure (#25081)

* casync: handle hashing failure due to IO errors

* fix comment

* all exceptions

* fix typo

* Update system/hardware/tici/agnos.py
laikad: add residual threshold for pos_fix (#25082)

* laikad: add residual threshold for pos_fix

* update ref

* update test
nav: use laikad position if locationd is not yet available (#25033)

* ui: use laikad position when locationd is not ready

* cleanup

* same threshold as locationd

* use first bearing directly

* use in navd too
Laikad: Fix getting covariances for pos and velocity (#25084)

* Fix getting covariances for pos and velocity

* ref commit
Update RELEASES.md
casync: increase chunk download timeout

Add Traditional Chinese translations (#25077)

* Create main_zh-CHT

* Update

Co-authored-by: Shane Smiskol <[email protected]>
Improve Chinese (Simplified) translations (#25075)

* Optimize Chinese local translation

* update QM

Co-authored-by: Shane Smiskol <[email protected]>
Fix master-ci dirty working tree + CI test (#25087)

* check

* test for dirty working tree

* swap order

* fix diff
remove casync from agnos manifest for now

update release notes

FW fingerprinting updates (#25088)

* Print brand along with ecu

* fix json decoding

* fw_versions updates

* add timeout handling back

* keep logging the same
Add Chrysler FPv2 requests and logging (#24460)

* Chrylser FPv2

* Update fw_versions.py

* formatting and remove default

* fix rx offset

* move to end

* add fw versions

* this won't be fingerprinted on as it returns from Mazda

* only log FW versions

* add type annotation

* fix typing

* Skip if FW versions are for read/request-only

* Fix crash if no fw versions

Fix crash if no fw versions

Co-authored-by: Shane Smiskol <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>
add chrysler fw query to release notes
Update RELEASES.md
Interleave VIN queries (#25090)

Interleave the two requests
Add missing HIGHLANDERH_TSS2 ESP & engine f/w (#25066)

* Add missing HIGHLANDERH_TSS2 ESP & engine f/w

`@pkozlowski#5214` 2022 Highlander Hybrid (Poland)  DongleID/route b2e9858e29db492b|2022-07-07--17-57-24

* Fix test_fw_query_on_routes with older routes

Co-authored-by: Shane Smiskol <[email protected]>
UI: Internationalization support (#21212)

* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* update names

* Add Chinese (Simplified) translations

* Do missing French translations

* unit tests caught that :)

* fix test

* fix other test (on PC)

* add entries to dialog to test

* add cancel button, clean up a bit

* just chinese

* some clean up

* use quotes

* clean up

* Just quit, set timeout to 0

* half a second

* use exitcode

* don't print if it's expected

* this comment is outdated

* update translations

* Update translations

* re-order input classes

* Update line numbers

* use enabled property for button style

* Get rid of ListWidget

* Update line numbers

* Log failed to load language

* Log failed to load language

* Move to utils and fix english logging

extra line

* Update translations

* spacing

* looks a bit better

* try this instead of exitcode

fixes

fix

* only one function

* comment

* Update line numbers

* fixup some japanese translations

* clean up multi option dialog

* Update line numbers
Nav: wrap strings (#25089)

* Wrap nav strings and translate

* Update QM

* Update QM
EV6: supress LFA (#25094)

* EV6: supress LFA

* bump panda
Improve EV6 tune (#25085)

Ship EV6 (#25095)

* Ship EV6

* bump opendbc
firmware fingerprinting: order brand requests (#23311)

Co-authored-by: Shane Smiskol <[email protected]>
Display the current language in MultiOptionDialog (#25098)

* check the selected language in lange select dialog

* disable if user selects current option

* update line numbers

Co-authored-by: Shane Smiskol <[email protected]>
Fix new steer saturated warning with joystick mode (#25113)

Fix steer sat warning with joystick mode
Improve Simplified Chinese translations (#25091)

* 1

* shane told me to do this

* 1.5

* 2

* 3

* 4

* Update main_zh-CHS.ts

* release

* some minor improvements

* build

* remove state

Co-authored-by: Shane Smiskol <[email protected]>
fix a translation line break
update main_zh-CHS.qm

Merge remote-tracking branch 'upstream/master' into docs-diff

debug pulling

Ram 1500 torque tune (#25117)

* torque control again

* 3mss per s

* no bad sensors

* tweaks

* Need more checks before we can do this

* update refs

* only ram for now

Co-authored-by: Adeeb Shihadeh <[email protected]>
debug

see if this works

fix unsafe dir

Improve Korean translations (#25105)

* kor translations fix

update_translations --release

qm

* space

* qm

* map setting tr space remove

* ts update

fix

ko_update

ch_update

* qm release

* Update QM

* Fix this translation

Co-authored-by: Shane Smiskol <[email protected]>
process replay: ensure enabled for significant amount of time (#25121)

* process replay: ensure enabled for significant amount of time

* update refs

* 10s is reasonable
Chrysler: increase Ram torque rate limit

don't update

rm

make it safe

debug don't push 2

debug don't push 2

fixes

fixes

fixes

fixes

fixes

remove token

debug

this commit

now checkout last commit

temp

2

3

remove token

temp

temp2

add token

test

no token

debug

update refs

couple more stinger MYs supported

should work

temp

tmp

tmp

tmp

tmp

Revert "tmp"

This reverts commit 629f825091fa51ee5db3f69aa5855609d232a711.

tmp

should work

remove a car

print diff

try this

try this

try this

try this

and this

this could work

Revert "this could work"

This reverts commit e1ff44a.

?

this one?

debug

this should work now??

now let's see that diff comment!

Chrysler: limit buttons to 20Hz (#25125)

* Chrysler: limit buttons to 10Hz

* cleanup

* 20hz
Show added/removed car docs entries

fix markdown

Test changes

Add header

Formatting

draft for using difflib

draft for using difflib

Show changed tiers

Change stuff

add back deleted files

clean up selfdrive_tests

only comment if has diff

fix titles

Cause diff

remove user

Merge remote-tracking branch 'upstream/master' into docs-diff

revert this

fix

create or update

create or update

fix

fix

See if this can create/update in one step

debug

Update

debug

works?

works2?

oh

Remove author

reorder

debug

use base ref
ntegan1 pushed a commit to ntegan1/apilot that referenced this pull request Jul 12, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
rjsmith1999 pushed a commit to rjsmith1999/openpilot that referenced this pull request Jul 13, 2022
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
rjsmith1999 added a commit to rjsmith1999/openpilot that referenced this pull request Jul 21, 2022
Squashed commit of the following:

commit 2308224
Author: ntegan1 <[email protected]>
Date:   Tue May 3 17:18:46 2022 -0400

    LatControlTorque: log desired/actual lateral accel (commaai#24406)

    * log torque lateral accel

    * bump cereal

    * update refs

    Co-authored-by: Shane Smiskol <[email protected]>

commit c3f3566
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:43:33 2022 -0400

    Bump cereal to custom fork

commit 12b45a4
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:25:10 2022 -0400

    Revert "Speed up YAML parsing with CSafeLoader (commaai#24958)"

    This reverts commit d57fe07.

commit 5f49d23
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:00:45 2022 -0400

    Use torque tune for passport

commit fdc36cc
Author: HaraldSchafer <[email protected]>
Date:   Fri Jul 1 19:14:21 2022 -0700

    Torque control: max torque warning (commaai#25018)

    * New steer torque warning

    * typo

commit d63e05c
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 27 15:25:47 2022 -0700

    Torque control: higher low speed gains and better steering angle deadzone logic (commaai#24980)

    * Try no friction and no deadzone

    * Learn fromd ata

    * update refs

commit d57fe07
Author: Shane Smiskol <[email protected]>
Date:   Fri Jun 24 15:16:46 2022 -0700

    Speed up YAML parsing with CSafeLoader (commaai#24958)

    Use CSafeLoader

commit 7b4a1ad
Author: Adeeb Shihadeh <[email protected]>
Date:   Fri Jun 24 13:01:49 2022 -0700

    cleanup torque tuning config (commaai#24951)

commit 01b1863
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 19:20:07 2022 -0700

    Cleanup car interfaces (commaai#24948)

    * remove interface overrides

    * Fix test

    * set torque tune for ev6

commit 427b7ea
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 15:58:06 2022 -0700

    Refactor torque stuff (commaai#24921)

    * Refactor torque stuff

    * Add to release

    * Add substitute and override

    * Maxlataccel is required

    * Add to asserts

    * add ideal car

    * Need china too

    * yamls already linted

    * Fixed some bugs

    * Fixup

    * Unreliable data

    * Add cehck

    * Better comment

    * ref commit update

commit 84826d5
Author: HaraldSchafer <[email protected]>
Date:   Tue Jun 14 22:29:08 2022 -0700

    Torque control: low speed boost (commaai#24859)

    * Make very low speed more aggressive

    * Less extreme low speed boost

    * Update ref

commit 7a2d3c1
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 22:52:48 2022 -0700

    Misc torque control fixes (commaai#24801)

    * Fiction compensation should be based on error

    * Update refs

    * Add deadzone

    * update ref
rjsmith1999 added a commit to rjsmith1999/openpilot that referenced this pull request Jul 21, 2022
Squashed commit of the following:

commit 2308224
Author: ntegan1 <[email protected]>
Date:   Tue May 3 17:18:46 2022 -0400

    LatControlTorque: log desired/actual lateral accel (commaai#24406)

    * log torque lateral accel

    * bump cereal

    * update refs

    Co-authored-by: Shane Smiskol <[email protected]>

commit c3f3566
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:43:33 2022 -0400

    Bump cereal to custom fork

commit 12b45a4
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:25:10 2022 -0400

    Revert "Speed up YAML parsing with CSafeLoader (commaai#24958)"

    This reverts commit d57fe07.

commit 5f49d23
Author: Jackson Smith <[email protected]>
Date:   Tue Jul 12 20:00:45 2022 -0400

    Use torque tune for passport

commit fdc36cc
Author: HaraldSchafer <[email protected]>
Date:   Fri Jul 1 19:14:21 2022 -0700

    Torque control: max torque warning (commaai#25018)

    * New steer torque warning

    * typo

commit d63e05c
Author: HaraldSchafer <[email protected]>
Date:   Mon Jun 27 15:25:47 2022 -0700

    Torque control: higher low speed gains and better steering angle deadzone logic (commaai#24980)

    * Try no friction and no deadzone

    * Learn fromd ata

    * update refs

commit d57fe07
Author: Shane Smiskol <[email protected]>
Date:   Fri Jun 24 15:16:46 2022 -0700

    Speed up YAML parsing with CSafeLoader (commaai#24958)

    Use CSafeLoader

commit 7b4a1ad
Author: Adeeb Shihadeh <[email protected]>
Date:   Fri Jun 24 13:01:49 2022 -0700

    cleanup torque tuning config (commaai#24951)

commit 01b1863
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 19:20:07 2022 -0700

    Cleanup car interfaces (commaai#24948)

    * remove interface overrides

    * Fix test

    * set torque tune for ev6

commit 427b7ea
Author: HaraldSchafer <[email protected]>
Date:   Wed Jun 22 15:58:06 2022 -0700

    Refactor torque stuff (commaai#24921)

    * Refactor torque stuff

    * Add to release

    * Add substitute and override

    * Maxlataccel is required

    * Add to asserts

    * add ideal car

    * Need china too

    * yamls already linted

    * Fixed some bugs

    * Fixup

    * Unreliable data

    * Add cehck

    * Better comment

    * ref commit update

commit 84826d5
Author: HaraldSchafer <[email protected]>
Date:   Tue Jun 14 22:29:08 2022 -0700

    Torque control: low speed boost (commaai#24859)

    * Make very low speed more aggressive

    * Less extreme low speed boost

    * Update ref

commit 7a2d3c1
Author: HaraldSchafer <[email protected]>
Date:   Fri Jun 10 22:52:48 2022 -0700

    Misc torque control fixes (commaai#24801)

    * Fiction compensation should be based on error

    * Update refs

    * Add deadzone

    * update ref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants