Commit Graph

7421 Commits

Author SHA1 Message Date
HaraldSchafer
b3226d505b Torque control: higher low speed gains and better steering angle deadzone logic (#24980)
* Try no friction and no deadzone

* Learn fromd ata

* update refs
2022-06-27 15:25:47 -07:00
Shafiqur R. Khan
aaca31b73e 2022 RAV4 XLE engine FW (#24973)
Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
2022-06-27 13:10:57 -07:00
Willem Melching
b95e687782 split locationd and liblocationd tests (#24977)
* laikad: use cython version of gnss kf

* fix import error

* test liblocationd separate

* Revert "laikad: use cython version of gnss kf"

This reverts commit bdd769b9554e7e45e976dabd6595403943e864bb.
2022-06-27 21:31:54 +02:00
Willem Melching
915b4928ff ui: use current calibration to center vanishing point (#24955)
* compute x and y offsets using calibration

* fix default calibration

* clamp to max values

* only use when valid

* not while calibrating

* less diff

* cleanup zoom
2022-06-27 16:03:26 +02:00
Willem Melching
de0c12e5af calibrationd: start faster by not waiting for carParams (#24976)
* calibrationd: start faster by not waiting for carParams

* fix process replay

* update ref
2022-06-27 15:34:36 +02:00
Robbe Derks
684d4b75a1 Log SOM power draw (#24975)
* log SOM power draw

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-27 15:33:46 +02:00
Dean Lee
0aa9ae21d4 FfmpegEncoder: free codec_ctx in encoder_close (#24967)
free context
2022-06-27 11:20:13 +02:00
Dean Lee
748bbac344 loggerd: remove rotate_lock (#24969)
remove lock
2022-06-27 11:19:46 +02:00
Dean Lee
461f747247 logger.cc: remove unused function append_property (#24966)
remove append_property
2022-06-27 11:18:56 +02:00
Shane Smiskol
72edc30932 Hyundai: remove bad esp fingerprint (#24952)
Remove unknown "esp" fp
2022-06-25 03:07:29 -07:00
Shane Smiskol
10fb2b9456 Speed up YAML parsing with CSafeLoader (#24958)
Use CSafeLoader
2022-06-24 15:16:46 -07:00
Adeeb Shihadeh
062a8bcdbd cleanup torque tuning config (#24951) 2022-06-24 13:01:49 -07:00
Jason Young
e26db5dc91 VW MQB: Add FW for 2016 Volkswagen Passat (#24957)
* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <netadvanced@gmail.com>
2022-06-24 12:32:01 -07:00
Gijs Koning
b854e67e91 Laikad: minor refactor (#24956)
extract code to get_est_pos func
2022-06-24 17:56:33 +02:00
Adeeb Shihadeh
1dffd48a2b count_events improvements 2022-06-23 15:07:34 -07:00
Adeeb Shihadeh
221086857a EV6: adjust steering thresholds (#24901)
* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-06-23 13:58:01 -07:00
HaraldSchafer
d8bfe2f005 Cleanup car interfaces (#24948)
* remove interface overrides

* Fix test

* set torque tune for ev6
2022-06-22 19:20:07 -07:00
HaraldSchafer
2deaf69789 Refactor torque stuff (#24921)
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
2022-06-22 15:58:06 -07:00
Shane Smiskol
fb949779ae Chrysler: fill cruiseState.available (#24907)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-22 15:13:09 -07:00
ZwX1616
a0c114b8b0 DM: track RHD predictions (#24947)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* Revert "remove from params"

This reverts commit a08df0b4921e03deac24f4da2c0f1e9e9255a717.

* Revert "modeld not use toggle"

This reverts commit 2730bf8f57c8b057db2e4a76541e92880506cedd.

* Revert "remove"

This reverts commit 21f7cfaaee5452e53ee719762078cb153b3cc766.

* Revert "driverview"

This reverts commit 222d129711e6aa34c0468294b94f60ebbd1bb126.

* semi revert
2022-06-22 13:51:37 -07:00
Willem Melching
1908b89e29 remove Open Sans fonts from assets (#24946) 2022-06-22 20:41:24 +02:00
Willem Melching
05e7ce731f ui: change set speed, speed limit and current speed to Inter (#24932)
* ui: change set speed/speed limit to Inter

* switch current speed to Inter
2022-06-22 11:46:16 +02:00
Willem Melching
963de40211 ui: change sidebar font to Inter (#24931)
* change sidebar to inter

* clean up metric color rect radius

* fix text placement

* simplify rect placement
2022-06-22 11:46:00 +02:00
Willem Melching
88f246b909 ui: change alerts to Inter (#24937)
* ui: change alerts to Inter

* fix up test
2022-06-22 11:45:38 +02:00
Shane Smiskol
789f2d195c compatibility docs: fixup steering torque star (#24940)
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
2022-06-22 01:03:29 -07:00
Shane Smiskol
dd67853526 update refs 2022-06-21 22:40:16 -07:00
Jason Wen
4efb28766e Honda Longitudinal: fix HUD max distance setting (#24915)
Fix max distance setting on display
2022-06-21 22:17:13 -07:00
Adeeb Shihadeh
1d44744123 jenkins: set successful boot flag 2022-06-21 19:26:20 -07:00
HaraldSchafer
0e0b5c4e24 Revert "Rocket league model (#24869)" (#24936)
* Revert rocket league

* revert ref commit

* New model ref commit
2022-06-21 12:07:00 -07:00
Anton Rudomanenko
67b601e0ef replay: handle missing socket while replaying route log with --allow flag (#24933)
* fix: fix the problem with replay routes locally

* fix: Exception with --allow flag in replay.cc

Co-authored-by: Anton Rudomaneko <anton.rudomanenko@nami.ru>
2022-06-21 15:23:43 +02:00
Willem Melching
278f7b9e8a ui: draw MAX above set speed (#24930) 2022-06-21 13:15:26 +02:00
sshane
21dd464fd3 Revert "VW FPv2: reduce number of ECU queries (#24706)"
This reverts commit 6c02e554e7.
2022-06-21 03:22:38 -07:00
Willem Melching
f7205f3b07 ui: metric wider set speed box (#24890) 2022-06-21 11:14:25 +02:00
Shane Smiskol
e45eb1bd28 test_models: check cruiseState.available (#24924)
* check available is true if enabled is true

* remove extra line
2022-06-21 00:11:55 -07:00
Shane Smiskol
bd782c982f Mazda: log standstill bit (#24923)
* set standstill bit for mazda

* use bit in carcontroller

* Revert "use bit in carcontroller"

This reverts commit f38210a191bcd6e34ff81626e857f778207a55e7.
2022-06-20 23:23:14 -07:00
Shane Smiskol
cccab50b16 FPv2: log all present ECU addresses (#24916)
* eliminate brands based on ECUs that respond to tester present

* make it work

* Add type hint for can message

Use make_can_msg

* Only query for addresses in fingerprints, and account for different busses

* These need to be addresses, not response addresses

* We need to listen to response addresses, not query addresses

* add to files_common

* Unused Optional
Drain sock raw

* add logging

* only query essential ecus

comments

* simplify get_brand_candidates(), keep track of multiple request variants per make and request each subaddress

* fixes

make dat bytes

bus is src

Fix check

* (addr, subaddr, bus) can be common across brands, add a match to each brand

* fix length

* query subaddrs in sequence

* fix

* candidate if a platform is a subset of responding ecu addresses

comment

comment

* do logging for shadow mode

* log responses so we can calculate candidates offline

* get has_subaddress from response set

* one liner

* fix mypy

* set to default at top

* always log for now

* log to make sure it's taking exactly timeout time

* import time

* fix logging

* 0.1 timeout

* clean up

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
2022-06-20 22:14:13 -07:00
Adeeb Shihadeh
59055724d6 22 civic hatcback is supported 2022-06-20 20:20:24 -07:00
Shane Smiskol
04b8e1b6a0 FPv2: log correct response address (#24918)
log correct response address (29 bit addresses have a different standard)
2022-06-20 19:37:02 -07:00
Adeeb Shihadeh
5e07131221 Toyota: international corolla cross is supported 2022-06-20 19:16:49 -07:00
ZwX1616
1f2f9ea9c9 fullframe DM model (#24860)
* Revert "put cereal on master"

This reverts commit a8ccd8f838.

* Revert "Revert fullframe DM model (#24812)"

This reverts commit c646eeee0a.

* revert revert cereal

* clip6

* 0.8 is fair

* Fiction compensation should be based on error

* Update refs

* Add deadzone

* not that

* good mg

* ref

* ref

* ee8f

* minor tweak

* ref

* recompile

* ref

* cereal

* match driverstatus

* new ref

* new ref

* pass token through jenkins credentials

* quote

* fix snpe dead weights

* final ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-20 16:24:51 -07:00
Willem Melching
8270c1c1a3 ui: onroad widget check if sockets alive (#24913)
* ui: onroad widget check if socket alive

* cleanup
2022-06-20 19:14:43 +02:00
Gijs Koning
1c4b145aa4 Improve laikad cpu usage. Less pos fix. Less local imports (#24887)
* Improve laikad cpu usage. Less pos fix. Not local imports

* Add laika to files_common

* Add laika to dockerfile sim

* Fix

* Fix

* undo
2022-06-20 14:24:11 +02:00
Robbe Derks
e275720862 Add new message to Tesla AP2 fingerprint (#24912)
* add new message

* fix spacing

* add space
2022-06-20 12:15:39 +02:00
Adeeb Shihadeh
6123ab3d1c Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
2022-06-19 14:43:49 -07:00
Adeeb Shihadeh
d3185a0af0 Chrysler: 2022 pacific hybrid is supported 2022-06-19 14:08:14 -07:00
Adeeb Shihadeh
28431f7ddd Revert "Chrysler: use unified signal definitions (#24895)"
This reverts commit 0f0b4cac89.
2022-06-19 14:07:19 -07:00
Shane Smiskol
abcc7338d4 Car Port: 2022 Honda Civic (#24535)
* master 2022 Civic

* bump panda

* bump

* bump cereal

* fix

* needed

* try for now

* maybe

* revert for now

* move to Cam parser

* fix

* move to cam

* need AEB_STATUS too

* bump for debug prints

* bump opendbc and add cruise_params

* bump opendbc and update cruise_params

* bump

* test route

* update ref

* Revert "update ref"

This reverts commit 28345dab63d1919865ccb510265222a4cd4252f4.

* cleanup

* just to test

* bump

* revert

* need to send val 12 too?

* change bus

* not needed

* update bus

* syntax

* move this to other bus too

* Revert "move this to other bus too"

This reverts commit 770bf4745ee244c8426ac108f44b67777198d0a7.

* test new lane line signal

* needed too

* maybe need both?

* Test new LKAS hud message

* bump

* missing comma

* missing

* maybe

* add frame and idx

* add in hud_lanes

* switch this too

* bump panda

* add this

* I guess need this too

* to match

* also

* wasnt correct

* bump opendbc

* bump panda

* move to cam parser

* missing

* add here too

* bump

* remove from cam parser

* bump

* back to cam parser

* its 5hz

* bump for new checksum function

* bump for correct frequency

* update frame and idx

* bump

* bump and update

* send set me bit

* bump

* pass these values through

* silly atom

* ret

* fix this

* use copy instead

* add these too

* to check keyerror

* switch

* bump submodules

* send too

* proper

* Replace HUD with BOH

* add dashed lanes

* small fix

* clean up

* not needed anymore

* remove and change

* this too

* dont always set

* remove additional LKAS message

* bump

* add

* to test

* add frame

* bump

* rebase

* remove default values

* rename

* clean up some carstate logic

* regenerate docs

* spacing

* simplify more logic

* bump opendbc

* bump opendbc

* only if radarless

* panda at least builds now

* add comment

* bump

* fixes

* bump opendbc

* bump opendbc

fix for new DBC

* bump opendbc

* bump opendbc

* carstate: fix bus, parser signals

* Set safety param

* pt bus is 0, not 1

* Fix SCM_BUTTONS and bump panda and opendbc

* fixes for ACC_CONTROL

* bump opendbc

* bump opendbc

* convert from MPH on HONDA_BOSCH_RADARLESS

move is_metric

* make sure we don't disable if radarless

* don't show incorrect harness on website

don't show incorrect harness on website

* bump panda

* remove/update comments

* bump panda

* Fix harnesses

* one line check

* bump opendbc

* remove this

* Some carstate cleanup

We removed STANDSTILL->WHEELS_MOVING

we don't use CRUISE_PARAMS

add back

add back

* more cleanup

* update docs

* marketing says it has TJA and ACC with low speed follow

* send buttons on bus 0

bump panda

* comment

* camera needs to see buttons on bus 2

comment

* bump panda

* add to releases

* remove comments

* comment

* we don't use stock hud yet

Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
Co-authored-by: kevinharbin <76784413+kevinharbin@users.noreply.github.com>
2022-06-19 00:06:23 -07:00
Shane Smiskol
0f0b4cac89 Chrysler: use unified signal definitions (#24895)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-18 17:15:45 -07:00
Shane Smiskol
208d4a4fc7 Add Hyundai P harness (#24872)
* Update docs_definitions.py

* Update values.py
2022-06-17 13:39:15 -07:00
Willem Melching
33eaebfab2 ui: show empty box when speed limit is unavailable during nav (#24891)
* ui: show empty box when speed limit is unavailable during nav

* variant 2, long -
2022-06-17 19:47:37 +02:00