Commit Graph

8898 Commits

Author SHA1 Message Date
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
HaraldSchafer 2c877ce490 Long e2e planner: better xva weights (#24893)
better long xva weights
2022-06-17 10:35:24 -07:00
Willem Melching b701ea33ce replay: no HW decoder, fix UV stride 2022-06-17 16:27:05 +02:00
Adeeb Shihadeh 7c826b4fa1 add param to override carParams.dashcamOnly (#24857)
* add param to override carParams.dashcamOnly

* little cleaner
2022-06-17 11:56:04 +02:00
Willem Melching cd87772e03 live_cpu_and_temp: handle duplicate proc names 2022-06-17 11:52:30 +02:00
Shane Smiskol 5dce006a82 regen: send wideRoadCameraState (#24863)
* fix camera malfunction

* revert

* send in one process to fix frames out of sync

* not used

* revert

* fix and add --no-upload for CI testing

* fingerprint if source is fw

* no FW versions
2022-06-16 22:41:13 -07:00
Shane Smiskol 1b0167ce24 Chrysler: use universal gas and brake signals (#24886)
* Chrysler_Update

* Update signal names

* bump panda

* bump submodules

* bump panda to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-16 22:34:07 -07:00
Shane Smiskol 6c02e554e7 VW FPv2: reduce number of ECU queries (#24706)
* 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-06-16 20:23:25 -07:00
Adeeb Shihadeh 88a80983a4 Chrysler: interface cleanup (#24884)
* Chrysler: interface cleanup

* little more
2022-06-16 17:50:51 -07:00
grekiki b941b39c56 More accurate jerk limits (#24755)
* More accurate jerk limits

* Min is not - max

For example max_curvature_rate can be negative.

* reduce diff
2022-06-16 10:47:53 -07:00
Gijs Koning d4886b2c29 Cast gpstimeofweek to int 2022-06-16 19:41:51 +02:00
Willem Melching a875afd563 navd: handle maxspeed being none (#24871)
* navd: handle maxspeed being none

* none is encoded like this
2022-06-16 18:18:03 +02:00
Gijs Koning dc98511b7a laikad: fixes to run on device (#24879)
* Always run laikad on device!

* Update laika

* Update laika

* Fix gps week and time of week in msg

* Reset kalman filter if pos_fix or last_known_position

* put behind file

* move pr parsing into common file

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-16 17:45:08 +02:00
Willem Melching 2699bae778 ui: disable controls unresponsive alert on PC 2022-06-16 16:07:04 +02:00
Gijs Koning 5958e78037 Laikad: More logging and use last_pos_fix for correcting (#24868)
Use last available pos_fix for correcting measurements.
Improve logging measurements
2022-06-16 06:21:33 -07:00
Shane Smiskol 5aaf5be54c Mazda: fix resume spam at standstill (#24876)
* Fix Mazda resume spam at standstill

* one line

* Revert "one line"

This reverts commit 30c6504ed36adb92991acd6ebf42ffd6fe6c3b8c.
2022-06-16 01:47:29 -07:00
Jason Young 76593b1da0 VW MQB: Populate stock ACC standstill flag (#24877)
* VW MQB: Populate stock ACC standstill flag

* it really do be like that sometimes
2022-06-15 22:50:39 -07:00
Shane Smiskol e910ce87a4 thermald: fix panda dropout when we miss a pandaStates (#24870)
immediate fix for "panda dropout"
2022-06-15 21:42:54 -07:00
Adeeb Shihadeh 725ccc0179 HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
2022-06-15 18:01:02 -07:00
HaraldSchafer 9283040d84 Rocket league model (#24869)
* dd9a502d-c8e2-4831-b365-804b0ae0739d/600 80041070-d276-4fed-bdb9-0075e5442908/420

* no elementwise op

* 9dabf0fe-2e60-44bf-8d3a-d20a74aca072/600 ae746590-0bb5-4a16-80db-15f02d314f03/300 c4663a12-b499-4c9b-90dd-b169e3948cb1/60

* explicit slice

* some copies are useful

* 1456d261-d232-4654-8885-4d9fde883894/440 c06eba55-1931-4e00-9d63-acad00161be0/700 af2eb6ba-1935-4318-aaf8-868db81a4932/425

* 154f663e-d3e9-4020-ad49-0e640588ebbe/399 badb5e69-504f-4544-a99e-ba75ed204b74/800 08330327-7663-4874-af7a-dcbd2c994ba7/800

* set steer rate cost to 1.0

* smaller temporal size

* Update model reg

* update model ref again

* This did upload somehow

* Update steer rate cost

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-06-15 15:29:42 -07:00
Harald Schafer c851cf7379 Revert "Update model ref"
This reverts commit efc8aa05b4.
2022-06-15 11:33:59 -07:00
Harald Schafer efc8aa05b4 Update model ref 2022-06-15 11:32:26 -07:00
Willem Melching fa4f017bbe laikad: calc_pos_fix numpy implementation (#24865)
* Replace posfix with gauss newton method

* Cleanup

* Check if glonass is in the list

* Fix

* also return residual

* Add residuals

* Update selfdrive/locationd/laikad.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Cleanup

Co-authored-by: Gijs Koning <gijs-koning@live.nl>
2022-06-15 18:03:15 +02:00
Lee Jong Mun 4172191723 selfdrive/ui/qt/util.cc: missing include (#24867) 2022-06-15 17:35:46 +02:00