Commit Graph

7346 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
172df03c8d HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
old-commit-hash: 725ccc01798c7f4b3278cc34525f99a6344e52aa
2022-06-15 18:01:02 -07:00
HaraldSchafer
b0b1aff5cc 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>
old-commit-hash: 9283040d847b120fdf7759d5bd12000863e12f73
2022-06-15 15:29:42 -07:00
Harald Schafer
07c859d384 Revert "Update model ref"
This reverts commit de5133d5378448a18e1e829ac2136cba07f4e346.

old-commit-hash: c851cf737931cba16909b2fe20ffec4858acd374
2022-06-15 11:33:59 -07:00
Harald Schafer
1d4ba4670b Update model ref
old-commit-hash: efc8aa05b4573f9ac96d518fbf04b6d799e487d0
2022-06-15 11:32:26 -07:00
Willem Melching
c9e3c42e6c 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>
old-commit-hash: fa4f017bbe6c117913ec2327e9129c70b3e47223
2022-06-15 18:03:15 +02:00
Lee Jong Mun
0ff374975e selfdrive/ui/qt/util.cc: missing include (#24867)
old-commit-hash: 41721917239e8eac314a2dc6c64cfb4695ff460e
2022-06-15 17:35:46 +02:00
Willem Melching
05e1412dd0 networking.cc: remove resolved TODO
old-commit-hash: bb02c1c5158b3403e7d2395611d2db1ab44aed5e
2022-06-15 16:19:04 +02:00
Lee Jong Mun
bcca0281df 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>
old-commit-hash: d2400150e51833678f8c216c0c605111cfa13018
2022-06-15 16:16:18 +02:00
Lee Jong Mun
35272ee466 ui: add black color define (#24866)
old-commit-hash: 849ec17b20f8cae7f6fd6589456d7b00b07e794b
2022-06-15 16:10:56 +02:00
Gijs Koning
36c48c1683 Laikad: Remove bearingDeg from message (#24864)
* Remove bearingDeg from message.

* Push cereal

* Commit cereal
old-commit-hash: 9e3d0e3c9cea4dcf2da10801aad041b1dd65cccb
2022-06-15 05:00:27 -07:00
Willem Melching
f6e21f9493 add speed limits to release notes
old-commit-hash: b046eb818e35f24d3b9b8a978fddb94dbfb85e59
2022-06-15 13:09:57 +02:00
Willem Melching
98742302c1 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
old-commit-hash: d528cd556848404891e28b3342d146498e3991cc
2022-06-15 13:06:46 +02:00
Gijs Koning
61dcb8729c 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
old-commit-hash: c3fa9151f39994984b60a19cdd7425dba73ec2fc
2022-06-15 02:32:07 -07:00
Shane Smiskol
87b6182aac 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>
old-commit-hash: b86ef0b70e81ef4e895d5102feb231dc3d43265f
2022-06-14 23:30:35 -07:00
HaraldSchafer
5e002bff96 Torque control: low speed boost (#24859)
* Make very low speed more aggressive

* Less extreme low speed boost

* Update ref
old-commit-hash: a6652a539d8d4ba614b216900c472cc9e2e58a05
2022-06-14 22:29:08 -07:00
Adeeb Shihadeh
6ce60227f4 bump up modeld power draw threshold
old-commit-hash: 0d0f5926a006ead1709b78fe69c1186b5a607c66
2022-06-14 21:12:49 -07:00
Adeeb Shihadeh
b2808768f6 little zookeeper fixes (#24861)
* little zookeeper fixes

* bump that up
old-commit-hash: 6757e235f92b72741f2f4375548fde883ede324d
2022-06-14 20:38:25 -07:00
Jason Shuler
f342073c94 GM: add support for vehicles with manual parking brakes (#24766)
Switch to general park brake signal
old-commit-hash: f8f4337fb3c50d6c125f59a8f59c93818fe71994
2022-06-14 17:28:15 -07:00
George Hotz
33bed6d13b 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>
old-commit-hash: 7a6f57a28e6efda72319fc0b2a4873bcf7e06829
2022-06-14 15:46:03 -07:00
Shane Smiskol
fda3609f6a 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
old-commit-hash: 170ed3d761a58222a626c86b9706f9be4900d058
2022-06-14 12:03:30 -07:00
Shane Smiskol
83ce3db9af bump opendbc (#24853)
old-commit-hash: a9038bc3fd0ed12b441804923c46927b5f6bbbfe
2022-06-13 22:27:44 -07:00
YassineYousfi
e5e9a9bf09 pin protobuf and hypothesis versions (#24852)
pin hypothesis and protobuf
old-commit-hash: 1ba8022c184a7e643c2714aaad1aa45e5e68501c
2022-06-13 22:26:31 -07:00