Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
614b3a01f8 Chrysler: limit buttons to 20Hz (#25125)
* Chrysler: limit buttons to 10Hz

* cleanup

* 20hz
2022-07-11 22:10:06 -07:00
Adeeb Shihadeh
045c881e1f couple more stinger MYs supported 2022-07-11 21:11:12 -07:00
Adeeb Shihadeh
29c8e5d227 Chrysler: increase Ram torque rate limit 2022-07-11 17:26:59 -07:00
Adeeb Shihadeh
2ae52e9b22 process replay: ensure enabled for significant amount of time (#25121)
* process replay: ensure enabled for significant amount of time

* update refs

* 10s is reasonable
2022-07-11 17:20:56 -07:00
Lee Jong Mun
903bb40528 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 <shane@smiskol.com>
2022-07-11 16:51:03 -07:00
HaraldSchafer
bdfaa1d1ee 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 <adeebshihadeh@gmail.com>
2022-07-11 15:19:55 -07:00
ZwX1616
30d88d6892 update main_zh-CHS.qm 2022-07-11 13:45:45 -07:00
ZwX1616
c181d475c5 fix a translation line break 2022-07-11 13:41:55 -07:00
ZwX1616
5e896ce2f1 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 <shane@smiskol.com>
2022-07-11 13:22:13 -07:00
Shane Smiskol
be7f704168 Fix new steer saturated warning with joystick mode (#25113)
Fix steer sat warning with joystick mode
2022-07-11 12:52:03 -07:00
Dean Lee
eb17291ca1 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 <shane@smiskol.com>
2022-07-09 01:47:10 -07:00
Greg Hogan
89d1d9f6df firmware fingerprinting: order brand requests (#23311)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-09 00:55:40 -07:00
Adeeb Shihadeh
d08a231774 Ship EV6 (#25095)
* Ship EV6

* bump opendbc
2022-07-08 22:46:20 -07:00
Adeeb Shihadeh
825acfae98 Improve EV6 tune (#25085) 2022-07-08 22:09:58 -07:00
Adeeb Shihadeh
f261b8a8c2 EV6: supress LFA (#25094)
* EV6: supress LFA

* bump panda
2022-07-08 22:09:37 -07:00
Shane Smiskol
cbff8fcbd0 Nav: wrap strings (#25089)
* Wrap nav strings and translate

* Update QM

* Update QM
2022-07-08 21:17:00 -07:00
Shane Smiskol
949de4d2b6 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
2022-07-08 20:25:54 -07:00
Erich Moraga
94c8717cac 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 <shane@smiskol.com>
2022-07-08 20:03:21 -07:00
Shane Smiskol
4c493237d5 Interleave VIN queries (#25090)
Interleave the two requests
2022-07-08 19:36:09 -07:00
realfast
b5f0cb22a5 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 <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-08 14:36:02 -07:00
Shane Smiskol
5f77451aec FW fingerprinting updates (#25088)
* Print brand along with ecu

* fix json decoding

* fw_versions updates

* add timeout handling back

* keep logging the same
2022-07-08 13:46:09 -07:00
Adeeb Shihadeh
df251ef50e Fix master-ci dirty working tree + CI test (#25087)
* check

* test for dirty working tree

* swap order

* fix diff
2022-07-08 13:00:43 -07:00
Mr.one
e0f8f50baa Improve Chinese (Simplified) translations (#25075)
* Optimize Chinese local translation

* update QM

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-08 12:49:04 -07:00
eFini
0b6cf0481c Add Traditional Chinese translations (#25077)
* Create main_zh-CHT

* Update

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-08 12:12:14 -07:00
Gijs Koning
cf862b6576 Laikad: Fix getting covariances for pos and velocity (#25084)
* Fix getting covariances for pos and velocity

* ref commit
2022-07-08 10:03:42 -07:00
Willem Melching
a9401319df 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
2022-07-08 09:20:36 -07:00
Willem Melching
7a4c33795a laikad: add residual threshold for pos_fix (#25082)
* laikad: add residual threshold for pos_fix

* update ref

* update test
2022-07-08 09:20:16 -07:00
Shane Smiskol
5b4e39990a 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 <fuzitanirenti@yahoo.co.jp>
2022-07-08 00:41:17 -07:00
Lee Jong Mun
ed47032a6d Add Korean translations (#25073)
* Add Korean translations

Signed-off-by: crwusiz <crwusiz@gmail.com>

* line error fix

Signed-off-by: crwusiz <crwusiz@gmail.com>

* space error retry

Signed-off-by: crwusiz <crwusiz@gmail.com>

* &quot fix

Signed-off-by: crwusiz <crwusiz@gmail.com>

* 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 <shane@smiskol.com>
2022-07-08 00:03:57 -07:00
Shane Smiskol
d8089fb94e Add video for 2020 Lexus ES Hybrid 2022-07-07 23:07:21 -07:00
Adeeb Shihadeh
1382e28aa0 add pandas and tabulate packages (#25076)
* add pandas and tabulate packages

* remove that
2022-07-07 20:02:07 -07:00
Adeeb Shihadeh
bd432eb76b move kona limit to car controller 2022-07-07 17:27:59 -07:00
Adeeb Shihadeh
a4c9076581 Hyundai: limit Kona torque (#25074) 2022-07-07 17:09:36 -07:00
Adeeb Shihadeh
ff3f6de149 UI: fix reset calibration description 2022-07-07 16:53:34 -07:00
Dean Lee
dc3d94d662 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()
2022-07-07 15:01:02 -07:00
Adeeb Shihadeh
b035b538ec chill ram tune (#25071) 2022-07-07 14:54:14 -07:00
Shane Smiskol
bd2ea15897 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
2022-07-07 14:19:30 -07:00
Adeeb Shihadeh
836e2a4d98 Chrysler: fix steer fault detection (#25068) 2022-07-07 13:20:42 -07:00
Dean Lee
568cc0f892 loggerd: remove 'enable' from struct LogCameraInfo (#25052)
remove enalbe
2022-07-07 10:54:56 -07:00
Adeeb Shihadeh
8d98d8c657 process replay: add Ram route (#25063) 2022-07-07 10:28:55 -07:00
Adeeb Shihadeh
ea80ee0845 Chrysler: resume from cruise standstill (#25009)
* Chrysler: resume from cruise standstill

* bump panda

* resume isn't set yet
2022-07-07 09:40:04 -07:00
Willem Melching
7e187426c7 athena: skip duplicate upload requests (#25062)
* athena: skip duplicate upload requests

* cleanup

* keep simple

* just ignore
2022-07-07 18:00:07 +02:00
Gijs Koning
eaf7eb4278 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
2022-07-07 04:06:51 -07:00
Willem Melching
a3a9a0685c onroad.cc: fix mutcd sign width for metric speed limit 2022-07-07 12:02:31 +02:00
Gijs Koning
edf170103e Process replay: Fix subtest diff (#25054)
Fix subtest diff
2022-07-07 02:14:31 -07:00
Shane Smiskol
30cb9ac962 FW query debug script: print version brand (#25058)
* test_fw_query_on_routes: print brand

* dynamic paddign
2022-07-07 00:28:21 -07:00
Shane Smiskol
fd2de54172 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
2022-07-07 00:24:03 -07:00
Adeeb Shihadeh
9b0acacf5e 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 <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
2022-07-06 23:42:07 -07:00
Shane Smiskol
479b66c992 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 <46612682+jyoung8607@users.noreply.github.com>

* 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 <46612682+jyoung8607@users.noreply.github.com>
2022-07-06 19:57:44 -07:00
Shane Smiskol
ea241bf3dc 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
2022-07-06 19:42:58 -07:00