Commit Graph

8267 Commits

Author SHA1 Message Date
Kurt Nistelberger 890f7ffd80 locationd: add gps sanity check for quectel gps (#26352)
* update check

* .

* .

* remove gps kf time check for gps ok

* upsi

* dont use gps_mode

* update refs

* Update selfdrive/locationd/locationd.cc

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aebb08e10542758c458c3abb219f8b57485e0b61
2022-11-03 23:43:30 -07:00
Shane Smiskol a81683f4ec ui: fix disappearing path with wide cam (#26354)
* split lat long icons

* no overriding border status, consider steering pressed for lat icon, spacing for readability

* add engageable back

add engageable back

add engageable back

* all the debugging code 🙃

* revert that stuff

* only the fix

* comment

comment

* fix dat

* explicit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 384f9402374e341843f503f871421a7b43437444
2022-11-03 23:07:29 -07:00
Cameron Clough edd1a638f0 updated: reset working tree in each submodule (#26316)
* updated: reset working tree in each submodule

* run after fetch too
old-commit-hash: 15828c4feaa69af43867cae89c4de2ca2e8a734b
2022-11-03 19:02:39 -07:00
Adeeb Shihadeh a9e3d43246 boardd: remove canfd whitelist
old-commit-hash: 9a8c7f2453bcb917eb428704c1733f28e5d42d11
2022-11-03 15:51:14 -07:00
Mehmet Tolga Avcioglu 13263d247f Kona EV 2022: add missing FW versions (#26278)
* add fingerprint for kona electric 2022

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ee0dd36a3c775dbd82493c84f4e7272c1eb3fcbd
2022-11-03 15:17:36 -07:00
Jason Young fde3b16086 VW MQB: Harness updates and docs cleanup (#26313)
* VW MQB: Harness updates

* don't need the variant footnote

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9e65be9b16064c57814218b7c0ebb67a168333f
2022-11-03 14:37:21 -07:00
Jason Young 3689cff113 VW MQB: Add FW for 2021 Audi Q3 (#26343)
* VW MQB: Add FW for 2021 Audi Q3

* update docs
old-commit-hash: d172cbbcc8c35b834812871d6768072b9bb1f594
2022-11-03 13:33:01 -07:00
Vivek Aithal 5d8574eec6 [torqued] Set HYUNDAI ELANTRA 2021 Offline vlaues (#26344)
change elantra values
old-commit-hash: ad62a448fa7b6608b95adfe29461bac0bf9b9111
2022-11-03 13:21:11 -07:00
Shane Smiskol da68ac1b66 car docs: auto-generate footnote for DSU cars (#26321)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* fix autoResume

* fix autoResume 2
old-commit-hash: 3e69973819ba337743d4d9c71d31369a761a688d
2022-11-03 01:00:33 -07:00
Shane Smiskol 82b4e11585 car docs: speedup test (#26337)
* faster

* faster
old-commit-hash: 80e8d76d39b1e1992d1b6cf258aa8d878673ca10
2022-11-02 20:40:42 -07:00
Shane Smiskol 94433bb818 Toyota: add unsupported DSU car list (#26336)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* .

* .

* revert

* revert

* smaller diff
old-commit-hash: b0656f2c751df64fb3974c66423470b7a59bc1e6
2022-11-02 20:12:35 -07:00
Shane Smiskol 5f9bab5ae6 car docs: docs-only footnote flag (#26335)
docs-only footnotes
old-commit-hash: 735af656a034ea960ece8e346227225adfd6d4b2
2022-11-02 18:56:26 -07:00
Shane Smiskol 84bf91ceda GM: fix fault while moving backwards (#26333)
* log signed speed

* bump to master

* need this

* fix

* fix...

* see if this works

* just fault fix (no logging or standstill. tho revisit standstill)

* move

* Revert "move"

This reverts commit c564e74666e3a418ef43a77926c8a38a2bf89511.
old-commit-hash: e634afb719e9ea787155272b3d2fe64b385bcb7d
2022-11-02 17:55:53 -07:00
Adeeb Shihadeh 3a3ae6c75f bump up controlsd cpu usage
old-commit-hash: 0589ff23a52efb90269d270f13a3d921176d377b
2022-11-02 15:51:52 -07:00
Shane Smiskol 6a7ce3a4d6 GM camera ACC: vision-only ACC behind toggle (#25631)
* put gm camera voacc behind disable radar toggle

* bump panda

* bump panda

* bump panda

* experimental long

* fixes

* car control notes and fixes for Bolt EUV

* might enable stop and go

* consistent name

* min enable speed seems to be around 5 kph

* camera acc can engage under 5 kph if stopped

* comment

* comment

* remove this for now

* only real brake

* comments

* update max brake

* bump

* clean up/fix

* same if

* simplify

* fix

* old comment

* no brake_pressed

* temporary fault fix

* tune longitudinal

* update docs

* bump panda

* GM camera ACC cars have no regen in ACC

* cleaner

* cleaner

* fix

* set max gas

* fixes

* fix LKAS unavailable warning from camera

* only camera

* bump panda

* bump panda

* bump panda

* bump panda

* clean up gmcan

* clean up CC

* flip

* rm

* rm comment

* clean up

* custom starting/stopping probably not needed

* Update selfdrive/car/gm/carcontroller.py

* fix crash

* long tuning

* we need long control state to resume

* CAMERA_ACC_CAR not needed

* no interp on accel

* tuning

* formatting

* formatting

* formatting

* formatting

* formatting

* no need to init ccp

* makes more sense now
old-commit-hash: 2fb7b4ffad204901033273f6f92f289bbce19f06
2022-11-02 02:46:29 -07:00
Shane Smiskol a230015754 Toyota: unify deadzone params (#26325)
* i'm sure this makes no difference

* update refs
old-commit-hash: 423d16693a4d805db2035dcd87f120b2902c2c4a
2022-11-02 02:09:54 -07:00
Shane Smiskol 59090b598f GM: add longitudinal deadzone (#26323)
* add deadzone

* Update ref_commit
old-commit-hash: 0f6f305f2da81c30aef849bc55c76e57ebe5e34d
2022-11-02 01:58:15 -07:00
Adeeb Shihadeh 96ba2b3c1a test_onroad: temp disable max UI draw time check
old-commit-hash: bdbdd42d5b736c2d10d2e586c382a5989b38a250
2022-11-01 23:18:56 -07:00
Mitchell Goff 656788eb36 Compute zoom level and downsample image in map_renderer.cc (#26315)
* Automatically zoom to fixed scale in map_renderer.cc

* Always downsample in map_renderer

* Remove updateZoom function

* Added mapsd to process_config.py (commented out for now)
old-commit-hash: fcd6125debeb97ba4b8870f5945c8215449c00fe
2022-11-01 19:16:37 -07:00
Shane Smiskol 1f144eeaa8 docs: expose available openpilot longitudinal control (#26312)
* openpilot -> openpilot available

* note for dsu cars

* common footnotes

* Revert "note for dsu cars" - another PR

This reverts commit 7f18742fdaaf5f86a1f1caa041b8b027d4b767cf.

* space

* better?

* Update selfdrive/car/docs_definitions.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b76829c72550f467447a8a5673dbe442c84dc1f0
2022-11-01 15:55:21 -07:00
Jason Young eb3d572add VW MQB: Fahrzeuglängsbeschleunigungssteuerungseinrichtung (#22963)
* can I kick it?

* bumpity bump bump

* bump panda

* everybody's gotta be special

* attempt at improving stopping/starting

* reduce lateral feedforward

* tweak gradient and comfort bands

* oops

* accel from the dept of redundancy dept

* bump opendbc

* jerk limiter not needed and causing problems

* don't leave stop/start flags hung when not enabled

* reduce comfort band with lead car

* borrow decel comp from HKG

* align stopping state thresholds

* (re)try letting PI clean up some of this

* bump panda

* tweaks and comments

* elide superfluous import

* VW MQB: Longitudinal prereqs

* gate this too

* bump CI

* cleanup

* more cleanup; require gateway integration

* don't run long state/actuators unless sending message

* setpoint visibility in instrument cluster

* show fixed lead car if lead visible

* hold my beer?

* tuning

* the code is darkest before the refactor

* a little more

* set freewheel and stop distance correctly

* rounding issue maybe?

* ACC_04 Charisma profiles and HUD alerts

* fix ACC_04 counter, fix gradient and accel bugs

* revert tuning change in upstream focused branch

* need 0.5m/s to leave

* reduced braking when not absolutely needed

* oops

* bump panda

* match opendbc to master

* filter ACC_13, disable secondary accel

* bump panda

* bump panda

* bump opendbc and panda

* startAccel is deprecated

* testing manual trans min engage speeds

* pass stock ACC type to TSK

* bump panda

* bump opendbc

* bump opendbc

* test hax for Brake alert

* remove ACC_13 with matching panda bump

* fix submodule refs

* update long control safety param name

* bump panda

* actuator delay corrected by Mk1 eyeball

* a little more

* tweak stop/start thresholds

* Revert "tweak stop/start thresholds"

This reverts commit 60abd57d2025c3218f069dbec4600c8d14033c05.

* more lag reduction

* bump opendbc

* support both analog and digital clusters

* tuning adjustments

* bump opendbc and panda

* accept two button types for resume

* support separate set and resume

* bump panda

* #24706

* partial revert 6b93ac27

* fixes

* one more

* refactor all the things

* follow experimental long refactor

* fill in ACC hud status

* temp force E2E availability

* start cleaning up

* comment touchup

* gimme some comfort baby

* experiment

* SnG me maybe?

* a little more rollout

* is this why I'm not leaving?

* turns out you need startAccel to leave

* try without ACC_04

* cleanup unused variables

* temp hack to standstill handling

* temp hack to button handling

* trim rollout distance with slower vEgoStopping

* ultra fat comfort band due to noisy E2E actuator

* I like big changes and I cannot lie

* remove lead car display for now

* cleanup, drives somewhat better

* partial FtS/basic support

* diff reduction

* not needed

* more cleanup

* oops

* more cleanup

* restore lead car visible for PQ

* bump panda

* better enable button solution

* redundant

* OP long on *all* the things

* OP long on all the things *sometimes*

* docs generator a little TOO clever

* solve starting-state a different way

* try that again

* bump panda

* oops

* follow DBC refactor

* retry CI

* signal name changed

* sync with custom enable button branch

* oops

* more follow refactor

* bump panda

* sync opendbc to master

* bump panda

* updated comments

* light P, no I

* bump panda

* bump panda again

* add openpilot long test_models route

* bump panda with replay route

* temporarily disable experimental long for merge

* bump panda to master

* resolve conflict?

* now can we go to head?

* explicit length check

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b31b0310444e83dc8e151767f57ee21f46f1515b
2022-11-01 10:00:26 -07:00
Shane Smiskol 1e3df07775 test_models: fix Nidec routes that start enabled (#26305)
* Update test_models.py

* Update test_models.py

* fix non-pcmCruise routes where button is left pressed in warmup

* more explicit, don't allow multiple continues

* revert chjange

* -that
old-commit-hash: 0e162cc13b31e136f8a53c0af20dd71c2f84bed7
2022-10-31 23:02:31 -07:00
Adeeb Shihadeh 273b1c5b5c UI: draw onroad objects on right frame (#26306)
* update before draw

* fix a lot of janky

* fix more flicker

* cleanup

* fix flicker when opening settings

* simplify
old-commit-hash: c171fe9f9a93ef0e6018de5703ed55f307a8cb72
2022-10-31 23:01:22 -07:00
Shane Smiskol fae11a780d test_models: speed up test (#26304)
* Update test_models.py

* Update test_models.py
old-commit-hash: 23d5e5e07fb2c35e00b77a2f5ae5fad84bc71934
2022-10-31 21:32:17 -07:00
Shane Smiskol 8d6ff49daa Nissan: match panda standstill (#26301)
* move to openpilot

* draft

* support internal urls

* not used

* update seg list

* regen segment list

* regen seg list

* fix

* check both rear wheels

* revert chganges

* bump panda

* bump padna
old-commit-hash: 3160493c85cb132abf5acb5e4e22fc4a7c108ef1
2022-10-31 19:44:53 -07:00
Shane Smiskol 468b7c7615 Elantra 2021: add missing FW (#26299)
add FW for 82e9cdd3f43bf83e|2021-05-15--02-42-51 (test route)
old-commit-hash: fe75dd4c09c267d82748359b01c2b94889f17c10
2022-10-31 18:11:25 -07:00
Shane Smiskol e06c4b3594 RAM HD: add missing abs FW (#26300)
FW from 8fb5eabf914632ae|2022-08-04--17-28-53 (test route)
old-commit-hash: 39167cccd9a9eb9c0864796196032256ce0c390d
2022-10-31 18:11:18 -07:00
Shane Smiskol a60f552934 test_models: remove carState test from panda tests (#26298)
Update test_models.py
old-commit-hash: 4d7bdc271f8e02ca3f1745b442b09937a69ebe2b
2022-10-31 17:45:56 -07:00
Shane Smiskol 5400c8ed16 test_models: fix runaway memory growth for long running tests (#26295)
* delete can msgs

* only can msgs
old-commit-hash: d793d3622b72833b27e6f61d64bd3f5a43e70cda
2022-10-31 13:54:13 -07:00
FAN HANGYU f7d49be556 Honda: add Chinese Odyssey FW versions (#25943)
* Update values.py

add a carFW of odyssey_chn

* move after odyssey

* common carparams

* just ignore

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 131263a75b1cbf6bff0e01a1561d87d25faae353
2022-10-31 13:13:57 -07:00
Adeeb Shihadeh 8f4338cef4 EV6 long tuning (#26166)
* some matching and jerk limit

* update that

* one jerk limit

* little more

* more jerk

* bump opendbc

* update refs
old-commit-hash: b727f6cff4968a53dd489e9825b785d97eda66ef
2022-10-31 08:37:05 -07:00
YassineYousfi eafe85c1eb Model trained with headlight augmentation (#26284)
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 ddfe2a22-fb0e-4ff0-a97f-0157b95eb44d/700

* update ref
old-commit-hash: c3388d216c33111ae8bd16452016cf8908679c28
2022-10-30 23:55:48 -07:00
Kurt Nistelberger ae96a916d0 Revert "remove black connecting background"
This reverts commit 6590d3128bb8001d4462238958b46968e56216f7.

old-commit-hash: 0c03fb1be4f47facef1bcda9ad3cb97b98636286
2022-10-30 17:43:15 -07:00
Kurt Nistelberger 9f949ce0e7 remove black connecting background
old-commit-hash: eecd6982059211491cb019dca5453dcde9cc1038
2022-10-30 17:39:40 -07:00
Dean Lee cdb02752a8 UI: reduce frame drops. (#26266)
* reduce frame dropping

* This mode will not draw the same frame twice

* cleanup comment

* use previous texture if update is not triggered by vipc thread and without new frame
old-commit-hash: 602b90f518e9bc51dccdb75413ff86481dff277d
2022-10-28 19:05:11 -07:00
Adeeb Shihadeh 4c70d2d67b bump opendbc (#26277)
old-commit-hash: 5ae213142459a64aac8a1654d1087346b17b87c1
2022-10-28 17:26:25 -07:00
Kurt Nistelberger c2225a4943 QuectelGPS: add supl server (#26259)
add supl server

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 8f70a84a417f848793f87d6c79c25f3ce15d5d38
2022-10-28 14:43:12 -07:00
Adeeb Shihadeh 8ec2fa1307 controlsd: steer in old preEnable state (#26269)
* controlsd: steer in old preEnable state

* bump panda

* bump panda

* Update ref_commit

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6698cd48294e94fdb4e09e8943e6505efa29c5d5
2022-10-27 20:53:15 -07:00
HaraldSchafer dd03dbc344 Eliminate toyota close radar glitches causing no resume (#26272)
Eliminate toyota close radar glitches
old-commit-hash: f76a390daf677700fbce49253f93412dd44eee0d
2022-10-27 17:31:15 -07:00
HaraldSchafer ed91648949 UI: fade into wide camera (#26203)
* UI: fade into wide camera

* handle routes with no wide calib

* more cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dbc30c053caacc689e1fafb5e92ff0fcac57db1d
2022-10-27 17:27:31 -07:00
ambientocclusion e427b9b3b4 Multilang: revise some Japanese translations (#25811)
Revise some Japanese translations

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 26cb6d09e76baaf0862cdf061013247bb62a197c
2022-10-27 17:04:09 -07:00
Shane Smiskol 4b02af4adc process replay: support experimental long (#26233)
Support experimental long
old-commit-hash: c2326a421993534c49aea1efa78e31a6bfa0625c
2022-10-27 16:44:22 -07:00
Vivek Aithal d843347126 [torqued] Update offline values (#26261)
* add qlog mode to torqued

* update offline valujes from qlogs

* resollve comments

* update refs

* resolve comments
old-commit-hash: b158c016cbd58a84e57124f49c657dbba8beb19e
2022-10-27 16:34:11 -07:00
Shane Smiskol e135d07018 process replay: test Bolt EUV (camera-ACC platform) (#26270)
ADD BOLT TO PROCESS REPLAY
old-commit-hash: 995c74a994345de3d22c84cd1404aaf4cf8b7e82
2022-10-27 14:36:47 -07:00
Cameron Clough ed49ae82a1 Ford FW batch (#26251)
* add Ford Explorer 2022 fw

VIN: 1FM5K8GC7NGA85105

8e1bab39e558e773|2022-09-16--02-38-57

* add Ford Escape Titanium PHEV 2021 fw

VIN: 1FMCU0LZXMUA80767

f8eaaccd2a90aef8|2022-09-30--15-42-38--0

* add Ford Escape 2020 fw

VIN: 1FMCU9DZ9LUA82589

26b2cace68e36212|2022-10-05--18-55-54--0
old-commit-hash: fbafde6f1c46b50c219c3ec3121b94ee0848a7be
2022-10-27 14:04:02 -07:00
Shane Smiskol 56ee1b27a4 Toyota: add missing RAV4 2022 engine FW (#26249)
Update values.py
old-commit-hash: 69b0aa94fa7364265af05936e3e85e94a3c13861
2022-10-26 20:17:28 -07:00
Dean Lee 9833cbec4e UI: support switching streams in CameraView (#26248)
old-commit-hash: 6b6162d2c822c717cd62312f51113180c21b5664
2022-10-26 19:47:32 -07:00
HaraldSchafer 48f4c8b701 No fcw when standstill (#26252)
old-commit-hash: b80f2efdf29fb5095ea2fa258ec7695730467515
2022-10-26 14:53:01 -07:00
Kurt Nistelberger 5b90a8ce15 quectel no sim GPS support (#26227)
* add no sim gps support

* address comments

* remove xtra assistance enabling

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 16b7d726b3ff404e4c8df8a3045ff75bbaf63719
2022-10-26 13:33:12 -07:00
Vivek Aithal 5cfe86afa5 [torqued] Update offline values (#26243)
* update offline vals

* update refs
old-commit-hash: 03ebc3bff57627843bde8b5ea758a54e8b96cb4e
2022-10-26 11:45:21 -07:00