Commit Graph

8898 Commits

Author SHA1 Message Date
Willem Melching bb02c1c515 networking.cc: remove resolved TODO 2022-06-15 16:19:04 +02:00
Lee Jong Mun d2400150e5 ui: advanced network settings fix button colors and sizes (#24846)
* ui: button pressed color add

* match colors from other buttons

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-15 16:16:18 +02:00
Lee Jong Mun 849ec17b20 ui: add black color define (#24866) 2022-06-15 16:10:56 +02:00
Gijs Koning 9e3d0e3c9c Laikad: Remove bearingDeg from message (#24864)
* Remove bearingDeg from message.

* Push cereal

* Commit cereal
2022-06-15 05:00:27 -07:00
Willem Melching d528cd5568 UI: new set speed design, show speed limits (#24736)
* basic US design

* place based on center position

* fix typo

* eu sign without rounded box

* same as steering wheel icon

* proper rounded bottom for eu sign

* add border

* proper placement/sizes

* needs to be semi bold

* color changes

* only when engaged

* move helpers into util.h

* Fix MAX placement

* only change color when at least 5 over

* implement override state

* pixel perfect spacing around us sign
2022-06-15 13:06:46 +02:00
Gijs Koning c3fa9151f3 Laikad: Cache orbit and nav data (#24831)
* Cache orbit and nav data

* Cleanup

* Cleanup

* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor

* Create json de/serializers
Save cache only 1 minute at max

* Update laika repo

* Speed up json by caching json in ephemeris class

* Update laika

* Fix test

* Use constant
2022-06-15 02:32:07 -07:00
Shane Smiskol b86ef0b70e regen & process replay: support no disengage on accelerator (#24850)
* ACC on if enabled != 0

* small regen clean up and add HONDA3

* fixes

* revert unneeded changes

* not used

* just alt exp

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
2022-06-14 23:30:35 -07:00
HaraldSchafer a6652a539d Torque control: low speed boost (#24859)
* Make very low speed more aggressive

* Less extreme low speed boost

* Update ref
2022-06-14 22:29:08 -07:00
Jason Shuler f8f4337fb3 GM: add support for vehicles with manual parking brakes (#24766)
Switch to general park brake signal
2022-06-14 17:28:15 -07:00
George Hotz 7a6f57a28e remove weights fixup with new SNPE (#24254)
* remove weights fixup with new SNPE

* Update ref

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-06-14 15:46:03 -07:00
Shane Smiskol 170ed3d761 process replay: clean up common code (#24855)
* regen and process replay clean up

* test_fuzzy actually uses fingerprint hardcoding

fix

* revert

* revert

* this can be a url or path so just print full variable
2022-06-14 12:03:30 -07:00
Shane Smiskol a78197ab1a Move RAV4 2022 out of bronze 2022-06-13 21:49:50 -07:00
HaraldSchafer dbfe923ecc Move couple toyotas to torque table values (#24849)
* Move couple toyotas to torque table values

* Dont set for all cars yet

* Dont regress docs

* update ref
2022-06-13 19:08:09 -07:00
Shane Smiskol 25eafa9626 Honda Bosch long: fix ACC fault (#24851)
Fix Honda bosch long

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
2022-06-13 18:42:47 -07:00
HaraldSchafer be13fc71f1 Couple more cars to torque tune (#24848)
* try sonata on torque tune

* Couple known cars to torque control

* fix

* more fix
2022-06-13 16:54:32 -07:00
Adeeb Shihadeh cbd404b954 Revert "thermald: consider pmic in component temp management (#24708)"
This reverts commit c8c21baf50.
2022-06-13 16:38:32 -07:00
Shane Smiskol 566de12671 Toyota Camry TSS2: update torque control params (#24819)
Use updated accel and friction values for TSS2 Camry
2022-06-13 09:29:28 -07:00
Willem Melching 7bca95dbb8 navd: speed limits only when localizer is valid (#24845) 2022-06-13 16:44:38 +02:00
Willem Melching fb068f04f5 camerad: remove unused SubMaster (#24844) 2022-06-13 16:43:50 +02:00
Gijs Koning a2d2378ee1 Laikad: process executor to fetch orbits (#24843)
* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor
2022-06-13 05:02:31 -07:00
Joost Wooning 1221aef233 ui: skip texture frame copy (#24700)
* ui_blit working

* simpler and working

* more believable that it's real

* working on device

* build on pc

* use hardware pc

* reduce cpu usage

* yuv conversion to EGL

* move everything to cameraview

* some cleanup

* more cleanup

* init array

* init images with std::map

* dont destroy images

* do destroy images

Co-authored-by: Comma Device <device@comma.ai>
2022-06-13 12:27:47 +02:00
Gijs Koning 724b322909 Laikad: Use filter for correcting measurements (#24824)
* Update laikad.

* Update log error
2022-06-13 02:45:35 -07:00
Adeeb Shihadeh 39da6912ea misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
2022-06-12 18:00:00 -07:00
Cameron Clough 3f60088f43 Ford: disable radar for now (#24832)
The newer Ford vehicles require a different radar parser.
2022-06-12 09:27:46 -07:00
Adeeb Shihadeh 0fce5d9045 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
2022-06-11 23:19:27 -07:00
Adeeb Shihadeh 1139fe507b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
2022-06-11 16:38:24 -07:00
Maykon Pacheco 1847a70a47 test for the strip_bz2_extension method (#24826) 2022-06-11 11:08:24 -07:00
Shane Smiskol e375087720 Honda carcontroller and signal cleanup (#24806)
* common signals

* move stopping

* space

* clean up

* bump opendbc
2022-06-11 00:14:58 -07:00
HaraldSchafer 843e59f6f0 Misc torque control fixes (#24801)
* Fiction compensation should be based on error

* Update refs

* Add deadzone

* update ref
2022-06-10 22:52:48 -07:00
Shane Smiskol 88a100435f compatibility docs: auto-generate star descriptions (#24809)
* Auto-generate star descriptions

* Need this for the website

* And this

* required changes to make the website generation work

* better names

* Revert "better names"

This reverts commit be7dbbb5d846d7d55a1ad69533945e6a6c8a0b7c.

* simpler
2022-06-10 22:52:34 -07:00
AlexandreSato f398b3efc9 Fix Lexus NX Hybrid 2020 engine ecu (#24817)
Wrong address in engine ecu.
2022-06-10 18:45:32 -07:00
HaraldSchafer 3066ad81a8 Car interface: set max lateral torque from table (#24789)
* json

* better naem

* Read from table

* formatting and default to nan

* Generate docs

* Read from table

* this should be the same

* Prius v is full

* test we always set the tunes correctly

add to release files

* Set for all cars

Set for all cars

* Revert tuning changes

Revert tuning changes

* remove that

* fixes

* update ref commit for new maxLateralAccels

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-10 17:57:23 -07:00
Shane Smiskol 6618d2bebe Add missing fw versions for 2019 Sonata (#24814) 2022-06-10 16:18:31 -07:00
ZwX1616 c646eeee0a Revert fullframe DM model (#24812)
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"

This reverts commit 2ac6931003.

* Revert "fullframe DM model (#24762)"

This reverts commit d6c07a6b15.

* revert cereal
2022-06-10 16:16:46 -07:00
Adeeb Shihadeh 66bc246210 count events: add simple camera debugging 2022-06-10 16:10:06 -07:00
Shane Smiskol 60aa553b8c Honda: use common imperial unit message (#24786)
* CAR_SPEED should be on all cars

* bump opendbc

* clean this up too

* it's an or

* clean up

* comment
2022-06-09 20:56:05 -07:00
Adeeb Shihadeh 53724e8b6c bypass HDA2 dashcam with file (#24803)
Co-authored-by: Comma Device <device@comma.ai>
2022-06-09 19:29:54 -07:00
Shane Smiskol 1b402687e4 docs: adjust steering torque thresholds (#24798)
* Prius has good steering control now

* 1.5 is the threshold for good torque

* get back down there, hondas

* half stars for 1.0-1.5

* show number of cars

* try bigger

* emphasize tiers

balanced

* Add half star

* Update ref_commit
2022-06-09 18:51:34 -07:00
Shane Smiskol 47f80e7add Hyundai: Tucson 2021 support (#24791)
* add support for 2021 Hyundai Tucson

base configuration and fingerprints

* fix fcw again and don't use mando radar for tucson

* last fixes for working tucson

* Apply suggestions from code review

* add to cars

* increase steerRatio

* missing car info

* one platform

* rename

* add min enable speed

* update releases

Co-authored-by: bluesforte <harry3b9@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-09 17:44:58 -07:00
Adeeb Shihadeh 86ce2f8d4d Revert "UI: remove DM icon (#24771)"
This reverts commit 4d836c6edd.
2022-06-09 17:39:39 -07:00
Griffin Christenson 1fe582686f Toyota: Add missing esp fw version for RAV4_TSS2 (#24793)
add fwVersion for RAV4_TSS2

add b'\x01F15260R302\x00\x00\x00\x00\x00\x00' to list of Ecu.esp FwVersions for RAV4_TSS2
2022-06-09 16:34:05 -07:00
ZwX1616 2ac6931003 fullframe DM: flip RHD yaw to use matching thresholds 2022-06-09 15:23:29 -07:00
George Hotz 8c101c61a8 EyeSight standard on all 2019+ Ascent and Forester (#24799)
* on all 2019+ Ascent Forester

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-09 15:11:32 -07:00
AlexandreSato 074f614f88 Lexus: NX Hybrid 2020 support (#24796)
* LEXUS: Missing esp and engine FW versions in values.py

DongleId: 09ae96064ed85a14  | testRoute: 09ae96064ed85a14|2022-01-10--01-57-37 |

* Make a new platform for NX Hybrid TSS2

* Update releases

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-09 12:01:31 -07:00
Erich Moraga 2d0a72a0e8 Add missing CHR engine f/w (#24797)
`@papifrio#5178` 2019 Toyota C-HR ICE ("nodsu" TSS-P) DongleID/route ade67da77ee74b16|2022-06-09--00-36-15
2022-06-09 11:07:17 -07:00
Jason Young b0f6a8bdf7 VW MQB: Add FW for 2020 Volkswagen Tiguan (#24795) 2022-06-09 10:08:23 -07:00
ZwX1616 d6c07a6b15 fullframe DM model (#24762)
* get log

* simplify two nonsense

* not needed

* libyuv is a joke

* clean up

* try small

* fast but not bad

* working

* clean up driverview

* simplified

* thats mirrored

* smol

* tweak

* ref is screen

* w/ ee

* update camera model

* no if TICI

* start

* update pose thresh

* less cpu more dsp

* new libyuv

* new snpe

* add files

* test

* should be fast

* update out len

* trigger test

* use master snpe

* add cereal

* update cereal

* refactor parsing

* missing ;

* get

* wrong type

* test model

* use driver data

* 10829278-72fe-4283-a118-2cef959ce174/1550

* no pf

* adapt driverview

* ;

* rhd learner

* update libyuv buildi x64

* ad4337ea

* remove blink slack

* test

* no

* use toggle

* b16

* fix for nv12

* 5b02cff5 both

* update test

* update cereal

* update cereal

* update cereal

* v2 packets

* revert libyuv

* no /

* update snpemodel

* ;

* memcpy

* fix test

* use toggle in driverview

* update power

* update replay

* Revert "update replay"

This reverts commit 1d0979ca59dbc89bc5890656e9501e83f0556d50.

* update model ref

* halve cpu

* fake 8bit onnx runner

* same thresh as report

* cereal master

Co-authored-by: Comma Device <device@comma.ai>
2022-06-08 20:13:46 -07:00
Gijs Koning a9bdc792a1 LaikaD: Fix offline handling (#24781)
* Test handling no internet correctly.

* Clean

* Comment

* remove del
2022-06-08 07:33:05 -07:00
Gijs Koning 45c43f9c87 Laikad: kill process correctly. Fixes CI (#24780)
Kill process correctly
2022-06-08 03:32:22 -07:00
Erich Moraga c8db61a3c7 Add missing MIRAI ESP f/w (#24779)
* Add missing ESP f/w 

`@JaySheikh#7759`  2021 Mirai  DongleID/route b2c2b20082938bed|2022-06-08--05-04-03  [confirmed working]

* formatting

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-07 22:47:10 -07:00