Skip to content
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

Clean up CarControllers #25008

Merged
merged 6 commits into from
Jul 1, 2022
Merged

Clean up CarControllers #25008

merged 6 commits into from
Jul 1, 2022

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jun 30, 2022

No description provided.

@sshane sshane added cleanup car vehicle-specific labels Jun 30, 2022
@sshane sshane marked this pull request as ready for review June 30, 2022 22:05
@sshane sshane merged commit d2c2154 into master Jul 1, 2022
@sshane sshane deleted the cleanup-ccs branch July 1, 2022 00:23
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car vehicle-specific cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant