Commit Graph

7805 Commits

Author SHA1 Message Date
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
Jason Wen f83b6e5b36 Hyundai: Add FW for 2022 Tucson Hybrid (#26239)
* Hyundai: Add FW for 2022 Tucson Hybrid

* Duplicated FW

* Add cornerRadar FW (in a non-HDA too?)

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b3e0a8c4e05f0c657d63d4825d50d43877b72768
2022-10-26 11:26:41 -07:00
HaraldSchafer 4b0d7997ac Model trained with more long noise (#26241)
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 d37d320d-7d78-479a-9be2-d58c75284307/700

* Update model ref
old-commit-hash: 2b7290a14261ca0a745f4cd537de7cc9d11ccb12
2022-10-26 00:20:30 -07:00
HaraldSchafer 742310271b Long control: add a_change cost in e2e mode (#26237)
Add e2e cost
old-commit-hash: dcde942d9fb05575dcc70f0b24f9c3c6b7c220ab
2022-10-25 16:53:24 -07:00
Vivek Aithal bfddb98683 [torqued] Extend to all Toyota and Hyundai cars (#26238)
* extend to toyota and hyundai

* remove all pid control in hyundai

* remove indi tunes

* remove toyota lat tunes

* release notes

* rm tunes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6bab0cd678e3020c7b0e2257309df69f83de0f0
2022-10-25 16:09:36 -07:00
Greg Hogan 92014b7dbe controlsd: update is_metric live (#26228)
* fix speed increment if units changed while driving

* don't recreate params

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9091e737c8fea44158570e6e15668e30d518d4d3
2022-10-25 15:51:39 -07:00
Jafar Al-Gharaibeh d939380ecb Mazda: Add CX-5 2023 to supported cars (#26182)
* Mazda: Add CX-5 2023 to supported cars

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* add missing cam fw

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1be4150089a4ac9281879ddfaccd0f9447c14f3d
2022-10-25 15:32:49 -07:00
Adeeb Shihadeh 2bb68d4c29 UI: show git commit date (#26240)
* show version description while offroad

* ui fixups

* parse date

* cleanup
old-commit-hash: 4639862baecfc8ed708827580f441a34731ba137
2022-10-25 15:21:43 -07:00
Adeeb Shihadeh 53c9b3c5cd Hyundai: CAN-FD blindspot signals (#26229)
* Hyundai: CAN-FD blindspot signals

* fix that

* update refs
old-commit-hash: 339253bc05179530e47509e548c482495fbc6e82
2022-10-25 13:51:23 -07:00
Rewat S d547f95bac Multilang: add missing Thai translations (#26234)
old-commit-hash: 6d30b1ee8314539f66eee000ac7a13ac7ccb506c
2022-10-25 12:50:50 -07:00
Shane Smiskol ed9c040be9 GM: reduce LKAS faults while inactive (#26196)
* send at 10hz when inactive

* try to make it fine to switch rates

* fix rate

* todododo

* fine if we skip, we usually send too early

* clean up

* this may be required, 50Hz is not really needed to sync/initialize

* preserves previous behavior (not sure if this makes sense)

* Revert "preserves previous behavior (not sure if this makes sense)"

This reverts commit 3b297bca72307b5cba09bec4e2cd8e0f2761af42.

* Revert "this may be required, 50Hz is not really needed to sync/initialize"

This reverts commit a6b4693814214d3f508db922f3b371c402a13995.

* rm com

* Update ref_commit

* gate behind GM Cam

* common logic

* bet

* update refs
old-commit-hash: 27e315e58f5273da79803ad95737fc15483fef21
2022-10-25 00:12:49 -07:00
HaraldSchafer 89e6b69f05 Calibrationd: Calibrate wide from device (#26204)
* Use calibrator to stabilize wide transform

* Need array

* Needs init

* Needs to be arr

* publish mshg

* Check size

* Update ref

* fix calibration param read when no wide calib

* need self!
old-commit-hash: 15595fc8599f0ddf1e72ed02422e9f6d266db1f6
2022-10-24 20:17:05 -07:00
Shane Smiskol f13e98f0c5 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
old-commit-hash: e9fcef99e1edace1d4950c9ac58de0b535926709
2022-10-24 19:08:20 -07:00