Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
0589ff23a5 bump up controlsd cpu usage 2022-11-02 15:51:52 -07:00
Shane Smiskol
2fb7b4ffad 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
2022-11-02 02:46:29 -07:00
Shane Smiskol
423d16693a Toyota: unify deadzone params (#26325)
* i'm sure this makes no difference

* update refs
2022-11-02 02:09:54 -07:00
Shane Smiskol
0f6f305f2d GM: add longitudinal deadzone (#26323)
* add deadzone

* Update ref_commit
2022-11-02 01:58:15 -07:00
Adeeb Shihadeh
bdbdd42d5b test_onroad: temp disable max UI draw time check 2022-11-01 23:18:56 -07:00
Mitchell Goff
fcd6125deb 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)
2022-11-01 19:16:37 -07:00
Shane Smiskol
b76829c725 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>
2022-11-01 15:55:21 -07:00
Jason Young
b31b031044 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>
2022-11-01 10:00:26 -07:00
Shane Smiskol
0e162cc13b 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
2022-10-31 23:02:31 -07:00
Adeeb Shihadeh
c171fe9f9a 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
2022-10-31 23:01:22 -07:00
Shane Smiskol
23d5e5e07f test_models: speed up test (#26304)
* Update test_models.py

* Update test_models.py
2022-10-31 21:32:17 -07:00
Shane Smiskol
3160493c85 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
2022-10-31 19:44:53 -07:00
Shane Smiskol
fe75dd4c09 Elantra 2021: add missing FW (#26299)
add FW for 82e9cdd3f43bf83e|2021-05-15--02-42-51 (test route)
2022-10-31 18:11:25 -07:00
Shane Smiskol
39167cccd9 RAM HD: add missing abs FW (#26300)
FW from 8fb5eabf914632ae|2022-08-04--17-28-53 (test route)
2022-10-31 18:11:18 -07:00
Shane Smiskol
4d7bdc271f test_models: remove carState test from panda tests (#26298)
Update test_models.py
2022-10-31 17:45:56 -07:00
Shane Smiskol
d793d3622b test_models: fix runaway memory growth for long running tests (#26295)
* delete can msgs

* only can msgs
2022-10-31 13:54:13 -07:00
FAN HANGYU
131263a75b 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>
2022-10-31 13:13:57 -07:00
Adeeb Shihadeh
b727f6cff4 EV6 long tuning (#26166)
* some matching and jerk limit

* update that

* one jerk limit

* little more

* more jerk

* bump opendbc

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

* update ref
2022-10-30 23:55:48 -07:00
Kurt Nistelberger
0c03fb1be4 Revert "remove black connecting background"
This reverts commit eecd698205.
2022-10-30 17:43:15 -07:00
Kurt Nistelberger
eecd698205 remove black connecting background 2022-10-30 17:39:40 -07:00
Dean Lee
602b90f518 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
2022-10-28 19:05:11 -07:00
Adeeb Shihadeh
5ae2131424 bump opendbc (#26277) 2022-10-28 17:26:25 -07:00
Kurt Nistelberger
8f70a84a41 QuectelGPS: add supl server (#26259)
add supl server

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-28 14:43:12 -07:00
Adeeb Shihadeh
6698cd4829 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>
2022-10-27 20:53:15 -07:00
HaraldSchafer
f76a390daf Eliminate toyota close radar glitches causing no resume (#26272)
Eliminate toyota close radar glitches
2022-10-27 17:31:15 -07:00
HaraldSchafer
dbc30c053c 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>
2022-10-27 17:27:31 -07:00
ambientocclusion
26cb6d09e7 Multilang: revise some Japanese translations (#25811)
Revise some Japanese translations

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

* update offline valujes from qlogs

* resollve comments

* update refs

* resolve comments
2022-10-27 16:34:11 -07:00
Shane Smiskol
995c74a994 process replay: test Bolt EUV (camera-ACC platform) (#26270)
ADD BOLT TO PROCESS REPLAY
2022-10-27 14:36:47 -07:00
Cameron Clough
fbafde6f1c 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
2022-10-27 14:04:02 -07:00
Shane Smiskol
69b0aa94fa Toyota: add missing RAV4 2022 engine FW (#26249)
Update values.py
2022-10-26 20:17:28 -07:00
Dean Lee
6b6162d2c8 UI: support switching streams in CameraView (#26248) 2022-10-26 19:47:32 -07:00
HaraldSchafer
b80f2efdf2 No fcw when standstill (#26252) 2022-10-26 14:53:01 -07:00
Kurt Nistelberger
16b7d726b3 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>
2022-10-26 13:33:12 -07:00
Vivek Aithal
03ebc3bff5 [torqued] Update offline values (#26243)
* update offline vals

* update refs
2022-10-26 11:45:21 -07:00
Jason Wen
b3e0a8c4e0 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>
2022-10-26 11:26:41 -07:00
HaraldSchafer
2b7290a142 Model trained with more long noise (#26241)
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 d37d320d-7d78-479a-9be2-d58c75284307/700

* Update model ref
2022-10-26 00:20:30 -07:00
HaraldSchafer
dcde942d9f Long control: add a_change cost in e2e mode (#26237)
Add e2e cost
2022-10-25 16:53:24 -07:00
Vivek Aithal
f6bab0cd67 [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>
2022-10-25 16:09:36 -07:00
Greg Hogan
9091e737c8 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>
2022-10-25 15:51:39 -07:00
Jafar Al-Gharaibeh
1be4150089 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>
2022-10-25 15:32:49 -07:00
Adeeb Shihadeh
4639862bae UI: show git commit date (#26240)
* show version description while offroad

* ui fixups

* parse date

* cleanup
2022-10-25 15:21:43 -07:00
Adeeb Shihadeh
339253bc05 Hyundai: CAN-FD blindspot signals (#26229)
* Hyundai: CAN-FD blindspot signals

* fix that

* update refs
2022-10-25 13:51:23 -07:00
Rewat S
6d30b1ee83 Multilang: add missing Thai translations (#26234) 2022-10-25 12:50:50 -07:00
Shane Smiskol
27e315e58f 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
2022-10-25 00:12:49 -07:00
HaraldSchafer
15595fc859 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!
2022-10-24 20:17:05 -07:00
Shane Smiskol
e9fcef99e1 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
2022-10-24 19:08:20 -07:00
Jason Wen
92b458c709 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-24 18:40:01 -07:00