Commit Graph

7368 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7ea84b2ddf jenkins: set successful boot flag
old-commit-hash: 1d447441239b3086e1f37185e2e5d210c80c8164
2022-06-21 19:26:20 -07:00
HaraldSchafer a9108f29fa Revert "Rocket league model (#24869)" (#24936)
* Revert rocket league

* revert ref commit

* New model ref commit
old-commit-hash: 0e0b5c4e24a8da64362c8dbf851dbe0f806916c0
2022-06-21 12:07:00 -07:00
Willem Melching a5b397e001 car_bug_report.yml: fix labels
old-commit-hash: 95d8517a81d23e0c385b5f931e7e89a3d3e52b17
2022-06-21 16:26:40 +02:00
Anton Rudomanenko cbb4711474 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>
old-commit-hash: 67b601e0efb5f33697cadadb50d32debb4325d60
2022-06-21 15:23:43 +02:00
Willem Melching e55211359a ui: draw MAX above set speed (#24930)
old-commit-hash: 278f7b9e8a54839989d6a5bd8d37d6aeca789d2a
2022-06-21 13:15:26 +02:00
sshane 2f9396507a Revert "VW FPv2: reduce number of ECU queries (#24706)"
This reverts commit c155dfda31398a72ccc4bc8e153163aa9d7351ef.

old-commit-hash: 21dd464fd3b0e23e2277479532c56230fe1e66bd
2022-06-21 03:22:38 -07:00
Willem Melching 3185d904bb ui: metric wider set speed box (#24890)
old-commit-hash: f7205f3b07d15ff4e9d840a689792d7f5b5be0d8
2022-06-21 11:14:25 +02:00
Willem Melching fc67db570a bump laika
old-commit-hash: d261ff6d0395f3344e41fbf47b6d9aa149ac642f
2022-06-21 11:01:44 +02:00
Shane Smiskol bf4f8e0ca9 test_models: check cruiseState.available (#24924)
* check available is true if enabled is true

* remove extra line
old-commit-hash: e45eb1bd28623571079122030392fa0fe03e7a42
2022-06-21 00:11:55 -07:00
HaraldSchafer 114546d6a6 Bump laika (#24920)
old-commit-hash: 5ce9b5d38cbba4d59935ef8504ec2a8cfb0eb149
2022-06-21 00:11:13 -07:00
Shane Smiskol 6b4b173f5e Mazda: log standstill bit (#24923)
* set standstill bit for mazda

* use bit in carcontroller

* Revert "use bit in carcontroller"

This reverts commit f38210a191bcd6e34ff81626e857f778207a55e7.
old-commit-hash: bd782c982f17221a33b660d82dab7aa297e10c60
2022-06-20 23:23:14 -07:00
Shane Smiskol 2f35ca57b1 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>
old-commit-hash: cccab50b166272d13ab51eab1eb10e21beca604e
2022-06-20 22:14:13 -07:00
Adeeb Shihadeh 8874d12b6d 22 civic hatcback is supported
old-commit-hash: 59055724d6069471618a7090270797e50d59f798
2022-06-20 20:20:24 -07:00
Shane Smiskol 1b2c0d9d88 FPv2: log correct response address (#24918)
log correct response address (29 bit addresses have a different standard)
old-commit-hash: 04b8e1b6a03aa0ad39b424f6c899365d0bc98604
2022-06-20 19:37:02 -07:00
Adeeb Shihadeh 9ca919d06e Toyota: international corolla cross is supported
old-commit-hash: 5e0713122115604ccdbbb3844a6ab8d49657bc6a
2022-06-20 19:16:49 -07:00
Adeeb Shihadeh f53280b046 bump cereal
old-commit-hash: 2e2118dac33f51b5f03d7e2a5512fc9154c12122
2022-06-20 16:32:59 -07:00
ZwX1616 cd2a98aa11 fullframe DM model (#24860)
* Revert "put cereal on master"

This reverts commit 4646c132bae7358079c9b2867725f8382906c1e5.

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

This reverts commit 59e8af4c3101785cead69a9880cc03e0a18081e1.

* 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>
old-commit-hash: 1f2f9ea9c9dc37bdea9c6e32e4cb8f88ea0a34bf
2022-06-20 16:24:51 -07:00
Willem Melching 387314217b ui: onroad widget check if sockets alive (#24913)
* ui: onroad widget check if socket alive

* cleanup
old-commit-hash: 8270c1c1a3584c1244f12143fc1314cdbbb05541
2022-06-20 19:14:43 +02:00
Gijs Koning 5494622601 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
old-commit-hash: 1c4b145aa4d85b7107254be6618592781ff7323e
2022-06-20 14:24:11 +02:00
Robbe Derks e2ec07483f Add new message to Tesla AP2 fingerprint (#24912)
* add new message

* fix spacing

* add space
old-commit-hash: e2757208622e29a00d5191d7d2f971cafcf61602
2022-06-20 12:15:39 +02:00
Willem Melching f4602f4b38 bump cereal
old-commit-hash: 7a815418d600bed1e2500b4fdbe4f1958f432555
2022-06-20 12:12:18 +02:00
Adeeb Shihadeh 5fcc792527 sim: update cl kernel path
old-commit-hash: 1baf0e3f4a40084a43c6a6d4d1a43b99e4e90532
2022-06-19 15:49:38 -07:00
Adeeb Shihadeh d9d83b0225 Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
old-commit-hash: 6123ab3d1c901ed3763e1a7cb8e1aac3f6b8fda3
2022-06-19 14:43:49 -07:00
Adeeb Shihadeh 61e4dc0552 Chrysler: 2022 pacific hybrid is supported
old-commit-hash: d3185a0af0d5a0382cf4688fa35ab79a48a0914c
2022-06-19 14:08:14 -07:00
Adeeb Shihadeh 32e5ca35d4 Revert "Chrysler: use unified signal definitions (#24895)"
This reverts commit f9ca74c4a338cbf0acd9cfe4754d3843e45210e0.

old-commit-hash: 28431f7dddb72da31a79005ef37fb6642f822a4c
2022-06-19 14:07:19 -07:00
Shane Smiskol 43bb8dd087 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>
old-commit-hash: abcc7338d41359e7e4f4d2d37d33449c292224ed
2022-06-19 00:06:23 -07:00
Adeeb Shihadeh 2ca457fcab zookeeper: add avg power to power_monitor.py
old-commit-hash: a27d242e3d35cb76761b0cd14eb0d58e668cfbb9
2022-06-18 19:02:09 -07:00
Adeeb Shihadeh 248dd28c7d jenkins: move simulator build into lock
old-commit-hash: add335d9e67f24a3090e09d39d4267b8f5620ff1
2022-06-18 19:01:42 -07:00
Shane Smiskol 1db89343ef 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>
old-commit-hash: 0f0b4cac893b41dd81288947158d3aa9cbbfc2fd
2022-06-18 17:15:45 -07:00
Shane Smiskol d11ad9ed92 Add Hyundai P harness (#24872)
* Update docs_definitions.py

* Update values.py
old-commit-hash: 208d4a4fc73cf3f41111de67a168b4ef83156e6d
2022-06-17 13:39:15 -07:00
Willem Melching b7b1c77fc2 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 -
old-commit-hash: 33eaebfab2387ed92ef3fc69e3c610f27ee3db67
2022-06-17 19:47:37 +02:00
HaraldSchafer c4dcf67acc Long e2e planner: better xva weights (#24893)
better long xva weights
old-commit-hash: 2c877ce4907657d59111d5e850afb587b3be8d6e
2022-06-17 10:35:24 -07:00
Willem Melching 8b603a9d5f replay: no HW decoder, fix UV stride
old-commit-hash: b701ea33ce0f36b78c703429afeb5d3d94d38105
2022-06-17 16:27:05 +02:00
Adeeb Shihadeh 8cd45d02c0 add param to override carParams.dashcamOnly (#24857)
* add param to override carParams.dashcamOnly

* little cleaner
old-commit-hash: 7c826b4fa1ff5d4a22da4a9643ecef803c0b7536
2022-06-17 11:56:04 +02:00
Willem Melching 7c2ef148e6 live_cpu_and_temp: handle duplicate proc names
old-commit-hash: cd87772e036acde3b7b74857f8c03e87f3af63c1
2022-06-17 11:52:30 +02:00
Shane Smiskol 9f395d26d2 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
old-commit-hash: 5dce006a82879f133ab69355b6c9b8c74d2b4d33
2022-06-16 22:41:13 -07:00
Shane Smiskol d15f07433c 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>
old-commit-hash: 1b0167ce24afb037b36464c40f9c5e0d657e77d9
2022-06-16 22:34:07 -07:00
Shane Smiskol 731b63fb6d 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>
old-commit-hash: 6c02e554e7174745c7605f4e8f0e3c1aea637091
2022-06-16 20:23:25 -07:00
Shane Smiskol fe3cfac896 bump panda
old-commit-hash: b85547ccf068d40f57dda467757301b069db0c80
2022-06-16 18:14:25 -07:00
Adeeb Shihadeh ecfe4a336d Chrysler: interface cleanup (#24884)
* Chrysler: interface cleanup

* little more
old-commit-hash: 88a80983a45e043e2d0fca2bc70c53beca256afe
2022-06-16 17:50:51 -07:00
grekiki cc0ba78b69 More accurate jerk limits (#24755)
* More accurate jerk limits

* Min is not - max

For example max_curvature_rate can be negative.

* reduce diff
old-commit-hash: b941b39c56db2d9d7f756cb0949ef6a7cf61774a
2022-06-16 10:47:53 -07:00
Gijs Koning fc062222d4 Cast gpstimeofweek to int
old-commit-hash: d4886b2c2995db88d9bc9f7d7cf3f7cb9def5b12
2022-06-16 19:41:51 +02:00
Willem Melching c0abd08f13 navd: handle maxspeed being none (#24871)
* navd: handle maxspeed being none

* none is encoded like this
old-commit-hash: a875afd5639d6e1ac24baa4de047cb8a2988a953
2022-06-16 18:18:03 +02:00
Willem Melching 499ceb4f57 bump cereal
old-commit-hash: 750daa6374e0f739b51df3e0fe4747407f023a73
2022-06-16 17:45:38 +02:00
Gijs Koning 226edb4918 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>
old-commit-hash: dc98511b7a7092e969237655b6e08e4fa857106d
2022-06-16 17:45:08 +02:00
Willem Melching 7fce9f4fdf ui: disable controls unresponsive alert on PC
old-commit-hash: 2699bae778fa7d9a4d40cf169b1eb56c74cb22c8
2022-06-16 16:07:04 +02:00
Gijs Koning 4b338d69db Laikad: More logging and use last_pos_fix for correcting (#24868)
Use last available pos_fix for correcting measurements.
Improve logging measurements
old-commit-hash: 5958e78037e468795e0db8d42d5209e1e41aec18
2022-06-16 06:21:33 -07:00
Shane Smiskol 4c1b0696c0 Mazda: fix resume spam at standstill (#24876)
* Fix Mazda resume spam at standstill

* one line

* Revert "one line"

This reverts commit 30c6504ed36adb92991acd6ebf42ffd6fe6c3b8c.
old-commit-hash: 5aaf5be54c544a822483ad3e7c354fdb89cae45c
2022-06-16 01:47:29 -07:00
Jason Young 76ee4a73dd VW MQB: Populate stock ACC standstill flag (#24877)
* VW MQB: Populate stock ACC standstill flag

* it really do be like that sometimes
old-commit-hash: 76593b1da02cae7165aaa699fd7ea807558751b0
2022-06-15 22:50:39 -07:00
Shane Smiskol fe2f1901c2 thermald: fix panda dropout when we miss a pandaStates (#24870)
immediate fix for "panda dropout"
old-commit-hash: e910ce87a44884a3f216fbced306e8d3124a04de
2022-06-15 21:42:54 -07:00