Commit Graph

6807 Commits

Author SHA1 Message Date
Adeeb Shihadeh f99a091eaa update camerad gitignores 2022-06-21 23:39:26 -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
Willem Melching 95d8517a81 car_bug_report.yml: fix labels 2022-06-21 16:26:40 +02: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
Willem Melching d261ff6d03 bump laika 2022-06-21 11:01:44 +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
HaraldSchafer 5ce9b5d38c
Bump laika (#24920) 2022-06-21 00:11:13 -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 f38210a191.
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
Adeeb Shihadeh 2e2118dac3 bump cereal 2022-06-20 16:32:59 -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
Willem Melching 7a815418d6 bump cereal 2022-06-20 12:12:18 +02:00
Adeeb Shihadeh 1baf0e3f4a sim: update cl kernel path 2022-06-19 15:49:38 -07: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 28345dab63.

* 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 770bf4745e.

* 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
Adeeb Shihadeh a27d242e3d zookeeper: add avg power to power_monitor.py 2022-06-18 19:02:09 -07:00
Adeeb Shihadeh add335d9e6 jenkins: move simulator build into lock 2022-06-18 19:01:42 -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
Shane Smiskol b85547ccf0 bump panda 2022-06-16 18:14: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
Willem Melching 750daa6374 bump cereal 2022-06-16 17:45:38 +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