Commit Graph

16653 Commits

Author SHA1 Message Date
Adeeb Shihadeh 5f22ca2fce hyundai: update mando radar dbc path
old-commit-hash: 051fa5bea4
2022-09-21 21:41:17 -07:00
Adeeb Shihadeh a48ef1f640 set safety param for knockouts
old-commit-hash: 760d4e668e
2022-09-21 21:23:14 -07:00
Adeeb Shihadeh 59d89cf36f boardd: mutli pandas can knockout too
old-commit-hash: db60f6b943
2022-09-21 17:29:08 -07:00
Dean Lee 72d5c6ab22 boardd: fix setting wrong value for BrsEnabled (#25858)
fix wrong setBrsEnabled
old-commit-hash: 7ef55f3820
2022-09-21 00:04:53 -07:00
Dean Lee 42277d6cbe sidebar: call update in offroadTransition (#25856)
old-commit-hash: 90f0f04d26
2022-09-20 20:12:22 -07:00
Cameron Clough 8fdfc606c2 updater: enable branch switching with installer gitconfig (#25854)
old-commit-hash: e29988ab7b
2022-09-20 16:41:20 -07:00
ZwX1616 129a49aeef camerad: fix OX page faults (#25853)
old-commit-hash: bae94a0070
2022-09-20 16:00:56 -07:00
Igor Biletskyy e39767b1cb boardd: add CAN health to pandaStates (#25800)
* init

* try this

* mistake

* fix

* bump cereal

* make obvious

* fixes

* remove comment

* one helath header

* ..

* preallocate vectors
old-commit-hash: 53959082e7
2022-09-20 12:39:12 -07:00
Adeeb Shihadeh 45b2c90244 Hyundai: improve EV6 resume reliability (#25847)
* Hyundai: improve EV6 resume reliability

* this is pretty good

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cba29eabe
2022-09-20 11:19:23 -07:00
Cameron Clough 1c948fc24e sidebar: updated bookmark image
old-commit-hash: c5df17cd57
2022-09-20 10:54:46 -07:00
Cameron Clough c1541a9634 sidebar: add button pressed states (#25848)
* add flag img

* add image assets

* try darker button pressed

* remove pressed image, set opacity instead

* settings can be pressed too!

* cleanup

* make settings button white

* bookmark
old-commit-hash: 1379989e0d
2022-09-20 10:45:13 -07:00
Shane Smiskol 1c1438a81b Optima: split into two platforms (#24815)
* Add missing fw versions for 2019 Optima

* move versions to new platform

* add temp fw version notes

temp notes

* clean up

* Update docs

* add fw versions from the last 180 days

* add tests

* fix

* remove FPv1 for Optima

* seems like the 2016 is the same

* revert

* add versions from our 2019 Optima

* label/move some versions

* add some versions from a 2020! (3d96bd05b5513638)

* this is from the same 2017 as earlier
(4f930156368f7830)

* vin lookup isn't perfect

* Revert "vin lookup isn't perfect"

This reverts commit 62c563bc4549b37160254d45bb90fcbc1f6cd589.

* a 2020 (df71aec6e636d7e4)

* cleanup, this transmission is also a 2020 version

df71aec6e636d7e4|2021-10-07--17-59-28

* this comes with scc

* one line

* revert

* bump panda

* add our transmission FW

* Add test route
old-commit-hash: 2c9f751616
2022-09-19 23:33:59 -07:00
Shane Smiskol ab37a6f9e3 Kia Optima: we support 2020, update packages
LDWS comes in the same trim/package as ASCC

old-commit-hash: 6561c0ca73
2022-09-19 22:05:02 -07:00
Adeeb Shihadeh e556eafc08 Update RELEASES.md
old-commit-hash: fc29147d02
2022-09-19 21:21:56 -07:00
Kurt Nistelberger 29d15e1f3b sensord: move sensors in lowest power mode on exit/kill (#25787)
* add low power modes

* add sleep to lsm gyro init

* bmx055 gyro has a 30ms wakeup time from deep suspend

* Sensord skip init values, first 500ms (#25775)

* remove lsm gyro sleep, handled by general cut

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: bcf31aea07
2022-09-19 21:01:32 -07:00
Adeeb Shihadeh c437f51224 add event flagging too
old-commit-hash: d1c95fb0d4
2022-09-19 20:43:12 -07:00
Adeeb Shihadeh 0e650865ec update release notes
old-commit-hash: de1882429a
2022-09-19 20:40:03 -07:00
Adeeb Shihadeh 7f6ef061bf updated: commits are always strings
old-commit-hash: 805a54ad0f
2022-09-19 17:41:37 -07:00
Vivek Aithal 51d25b2011 Live torque (#25456)
* wip torqued

* add basic logic

* setup in manager

* check sanity and publish msg

* add first order filter to outputs

* wire up controlsd, and update gains

* rename intercept to offset

* add cloudlog, live values are not updated

* fix bugs, do not reset points for now

* fix crashes

* rename to main

* fix bugs, works offline

* fix float in cereal bug

* add latacc filter

* randomly choose points, approx for iid

* add variable decay

* local param to capnp instead of dict

* verify works in replay

* use torqued output in controlsd

* use in controlsd; use points from past routes

* controlsd bugfix

* filter before updating gains, needs to be replaced

* save all points to ensure smooth transition across routes, revert friction factor to 1.5

* add filters to prevent noisy low-speed data points; improve fit sanity

* add engaged buffer

* revert lat_acc thresh

* use paramsd realtime process config

* make latacc-to-torque generic, and overrideable

* move freq to 4Hz, avoid storing in np.array, don't publish points in the message

* float instead of np

* remove constant while storing pts

* rename slope, offset to lat_accet_factor, offset

* resolve issues

* use camelcase in all capnp params

* use camelcase everywhere

* reduce latacc threshold or sanity, add car_sane todo, save points properly

* add and check tag

* write param to disk at end of route

* remove args

* rebase op, cereal

* save on exit

* restore default handler

* cpu usage check

* add to process replay

* handle reset better, reduce unnecessary computation

* always publish raw values - useful for debug

* regen routes

* update refs

* checks on cache restore

* check tuning vals too

* clean that up

* reduce cpu usage

* reduce cpu usage by 75%

* cleanup

* optimize further

* handle reset condition better, don't put points in init, use only in corolla

* bump cereal after rebasing

* update refs

* Update common/params.cc

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

* remove unnecessary checks

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4fa62f1464
2022-09-19 15:19:26 -07:00
Shane Smiskol 233e82dee7 Hyundai Elantra 2021: replace VW engine FW
5a4405495d2750ef|2022-09-11--12-37-48

old-commit-hash: 7b5d8adfb1
2022-09-19 14:14:24 -07:00
Adeeb Shihadeh 040b222896 loggerd: add params test cases (#25843)
old-commit-hash: 8b741261cf
2022-09-19 14:06:03 -07:00
Dean Lee 761cb60c54 camerad: fix class/struct forward declaration mistake (#25842)
old-commit-hash: 8870b439dd
2022-09-19 13:24:20 -07:00
Dean Lee daf0a8fc1f params: cleanup constructor (#25834)
old-commit-hash: 583304fc7b
2022-09-18 14:01:33 -07:00
royjr 4fbe04cf0a ui: fix toggle spacing issue (#25831)
old-commit-hash: e4612ac4c4
2022-09-17 15:55:12 -07:00
Shane Smiskol 9b10593c8f translations: remove locations (#25826)
* Remove locations

* no line nos
old-commit-hash: 35f624c628
2022-09-17 15:51:49 -07:00
Cameron Clough a16eff689a Kia: update required packages (#25824)
* Kia: LKAS is standard on Ceed 2019

https://www.downeys.co.uk/newmodels/Ceed_V3_24_09_2019.pdf

* Kia: delete Forte 2018

It doesn't appear that this vehicle has Adaptive/Smart Cruise Control in
any form, which was later added in 2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf

* Kia: LKAS is standard on Forte 2019+

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2020-forte.pdf

* Kia: rename Niro Electric to EV

https://www.kia.com/us/en/niro

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

* Kia: LKAS is standard on Niro PHEV 2018+

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-niro.pdf

* Kia: update required package on Optima 2017

The ACC package on the Optima 2017 is named "Advanced Smart Cruise
Control". It also doesn't have an LKAS package, only LDWS is available.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optima.pdf

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

* Kia: LKAS is standard on Optima 2019

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-optima.pdf

* Kia: revert package change to Seltos 2021

LKAS is NOT a standard package on the Seltos 2021

https://cdn.dealereprocess.org/cdn/brochures/kia/2021-seltos.pdf

* Kia: update required package on Sorento 2018

Similar to the Optima 2017, the ACC package on the Sorento 2018 is named
"Advanced Smart Cruise Control". It also doesn't have an LKAS package,
only LDWS.

SCC and LKAS were introduced in MY2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-sorento.pdf

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

* Kia: SCC is standard on Kia Niro PHEV 2018-19

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf

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

* Kia: update required package on Optima Hybrid 2017

Similar to the Optima 2017, the ACC package on he Optima Hybrid 2017 is
named "Advanced Smart Cruise Control". It also doesn't have an LKAS
pacakge, only LDWS.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optimahybrid.pdf

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 06fb52c146
2022-09-17 00:24:57 -07:00
Vivek Aithal 3326487104 Torque Refactor (#25822)
* add torque gains refactor

* update refs

* avoid dict, use cereal struct

* bugfix

* no as_builder

* address final comments
old-commit-hash: 85ed5c4cb5
2022-09-17 00:07:54 -07:00
cydia2020 d5b436d592 Toyota: go into standstill if interceptor detected (#25024)
* Toyota: go into standstill if interceptor detected

* or
old-commit-hash: 407448bbfb
2022-09-16 23:28:05 -07:00
Dean Lee 21daf705f0 ui: always show SetupWidget (#25742)
* always show SetupWidget

update translations

* delete hide
old-commit-hash: aa0d128422
2022-09-16 22:17:30 -07:00
Dean Lee f7b83d6f02 camerad: make sure cl_context is valid for lifetime of camerad (#25735)
old-commit-hash: 8ae3199578
2022-09-16 21:10:26 -07:00
Dean Lee b546a476cc camerad: cleanup CameraBuf::acquire (#25737)
* cleanup

* add that back

* less indent

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 78fd303d50
2022-09-16 20:50:10 -07:00
Dean Lee d482e04b01 camerad: remove function camera_autoexposure (#25733)
old-commit-hash: 5bb230cde4
2022-09-16 20:18:54 -07:00
Dean Lee e1c1a8fc2a CameraBuf: remove unused member 'camera_state' (#25736)
old-commit-hash: 25ce997f37
2022-09-16 20:11:46 -07:00
Dean Lee 0ce385a486 camera_qcom2: remove unneeded static keywords (#25780)
old-commit-hash: 467c4f7fb3
2022-09-16 20:10:08 -07:00
Dean Lee b750859d52 sensord: remove unnecessary brace pair (#25816)
Remove unnecessary brace pair
old-commit-hash: 1a7d6665de
2022-09-16 19:45:51 -07:00
Willem Melching cc473bf45b Hyundai: match ego speed on dash (#25235)
* hyundai: match speed on dash

* still needs conversion to m/s

* always use CF_Clu_VehicleSpeed2

* clean up, like honda

* experiment

* to the source

* works pretty well on optima (matches exactly on Sonata)

* could be 0.5

* clean up test

* revert test_moedls

revert test_moedls

* woops

* woops.

* .

* fix hyst

* only CF_Clu_VehicleSpeed

* omgomgomg

* add all this mess because it always takes a while

* set vEgoCluster

* fix all rounding errors

* stash

* clean up

* clean up

* fix metric conversion

* only calculate when updated

* try to filter (didn't look great from plots)

* Revert "try to filter (didn't look great from plots)"

This reverts commit 7e9876c237341d07163985b0718fd9c553372e72.

* clean up

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f73b041d43
2022-09-16 17:33:38 -07:00
Adeeb Shihadeh 4deed0c449 sensor test fixups (#25818)
* sensor test fixups

* fix that

* little more

* seems reliable now

* kill old instances

* unused

* cleanup

Co-authored-by: Bruce Wayne <batman@z840-provisioning.internal>
old-commit-hash: 10f08a94dd
2022-09-16 15:35:38 -07:00
AlexandreSato f670cb28ca Multilang: update pt-BR translations (#25812)
* update pt-BR translations

* fix some cutoff texts
old-commit-hash: ff63f26409
2022-09-16 14:32:38 -07:00
Igor Biletskyy 2e0bd5fe17 RPv2: fix data length check (#25819)
fix
old-commit-hash: e6ff301864
2022-09-16 14:22:19 -07:00
Jason Young 4fc20618c6 VW MQB: Add FW for 2021 Volkswagen Atlas (#25820)
old-commit-hash: d460b2c62b
2022-09-16 14:21:33 -07:00
AlexandreSato 2c07441919 Toyota: add missing Corolla Cross Hybrid engine FW (#25814)
* Fingerprint: Add missing toyota corolla cross hybrid FW engine 

From user lucasolivmed#1416 dongleId: 3eb4c34a2a663c37

* fix typo
old-commit-hash: 453635394d
2022-09-16 11:43:22 -07:00
ambientocclusion 35036a3333 Multilang: add missing Japanese translations (#25803)
Add missing Japanese translations
old-commit-hash: 40f89b183e
2022-09-15 21:59:52 -07:00
Shane Smiskol 98b821fb1a GM minSteerSpeed: add some tolerance for Volt (#25809)
* add some tolerance for volts

* add comment

* update refs
old-commit-hash: b7dc1968cd
2022-09-15 21:21:10 -07:00
Shane Smiskol 2fd69c9c7f remove unused compute_gb (#25808)
old-commit-hash: 5356216e92
2022-09-15 20:45:01 -07:00
eFini e4db6278a1 Multilang: add missing Chinese (Traditional) translations (#25807)
added missing cht translations
old-commit-hash: 8fcbcd8006
2022-09-15 20:38:53 -07:00
Dean Lee 53c4262098 map: fix repeated call to m_map->setZoom (#25784)
Fix repeated map api calls
old-commit-hash: f0665911b2
2022-09-15 20:36:13 -07:00
Jason Wen 91283ad0b5 Updater: Reboot instead of shutdown to install new branch (#25804)
Reboot instead of shutdown to install new branch
old-commit-hash: b7d9f157fa
2022-09-15 20:16:54 -07:00
Vivek Aithal 5a097b3235 regenerate replay segments for torqued (#25805)
* update segments in test_processes

* bump cereal

* update refs
old-commit-hash: b133a4c9a8
2022-09-15 20:15:57 -07:00
Jason Shuler 929cf64bb5 GM: Chevy Bolt EV 2022-23 (#25430)
* Chevy Bolt EV w ACC Port

* dashcam

* The website allows you to select the package without ACC

* fix Bolt E(U)V centerToFront

* Update selfdrive/car/gm/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cfaa1b7d3e
2022-09-15 20:11:53 -07:00
Shane Smiskol 0c3f72f1e2 Wrap new UI strings
old-commit-hash: 64c2d4b30f
2022-09-15 19:37:12 -07:00