Commit Graph

5835 Commits

Author SHA1 Message Date
Shane Smiskol f74fefaffa Hyundai: remove 90° steering lockout (#24108)
* avoid 90 degree fault

* use 50 frames

* no panda mods

* clean up

* absolutely no faults. zero. zilch. nada

* fix initial value and comments

* try glitching at double rate instead of two in a row

* bump panda

* cut for two frames

* clean up

* bump panda

* clean up

* not today!

* bump panda to master

* prefix and simple lat_active

* prefix
2022-10-11 18:59:16 -07:00
Kurt Nistelberger 54d667aa15 GPS test station first unittests (#25950)
* init gps test

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* remove LD_PRELOAD

* update fuzzy testing

* address comments

* cleanup

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-11 18:55:10 -07:00
Kurt Nistelberger 182c5c4810 add extra logging for rawgpsd opcode crash 2022-10-11 17:41:20 -07:00
Shane Smiskol 7418678132 Use longActive for car-specific override signals (#26030)
* add override field to cruiseControl

* need to check if long *can* be active

* bump cereal to master

* revert

* better

* fix

* update refs

* rename variable
2022-10-11 16:27:46 -07:00
HaraldSchafer 2c9b150761 Low speed lateral like before (#26022)
* Add explicit cost on steering wheel movement

* Laxer low speed control

* Laxer low speed control

* Lower min speed now there is a cost

* 3m/s

* Similar to old master

* Add cost

* Crazy high

* Update ref

* comment
2022-10-11 14:53:43 -07:00
Nelson Chen e062d2387e Add missing Corolla TSS2 firmware (#26032) 2022-10-11 13:17:21 -07:00
Shane Smiskol 32a4dfe2fe Add CarInfo for Elantra GT and i30 (#26034)
Fixup car info for Elantra GT/i30
2022-10-11 12:53:35 -07:00
Shane Smiskol c719b3b7dd HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
2022-10-10 23:24:14 -07:00
Shane Smiskol f31aa68533 Subaru: log stock FCW (#26012)
* log stock FCW

* Update selfdrive/car/subaru/carstate.py

* never seen 1 (could be aeb?)
2022-10-08 23:28:33 -07:00
Greg Hogan 2e7fa330b3 hyundai: fix logging stock AEB events (#25152) 2022-10-08 04:07:35 -07:00
Shane Smiskol 36701a82a3 Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
2022-10-08 00:02:57 -07:00
HaraldSchafer fb07437819 Increase low speed jerk cost (#26008)
* Increase low speed jerk cost

* Update planner weight

* Update ref_commit

* Update lateral_planner.py

* cleanup and refactor

* Update ref_commit
2022-10-07 19:15:04 -07:00
HaraldSchafer 57a82ced28 rawgpsd: publish ephemerides (#25931)
* add svpoly parsing

* Publish poly

* add source check

* add safety check for invalid gpsWeek values

* address PR comments

* add qcom ephemeris source type

* bump cereal and laika

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-07 17:27:09 -07:00
YassineYousfi 6c5693e965 faster rocket launcher model (#26009)
* cache tokens 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* udpate ref commit

* bump tinygrad to master
2022-10-07 17:22:42 -07:00
Shane Smiskol 6ce511cc60 GM: use ECM brake-pressed threshold (#25970)
* This brake position value disengages stock ACC, use it to avoid controls mismatch. 2016-2017 Volt will hit this threshold and disengage, must install new design of brake pedal retaining clip, TSB 16-NA-147.

* 80 hz

* comment

* bump panda

* update refs

* bump panda

* bump panda

* bump panda

* bump panda to master

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
2022-10-07 16:12:58 -07:00
Adeeb Shihadeh 8cee561dbf tombstoned: remove android code 2022-10-07 13:51:55 -07:00
Jason Young 46e741c7cc VW MNB: Add EPS config script support (#26007) 2022-10-07 12:50:35 -07:00
Adeeb Shihadeh 1f5187892f safer modem manager commands (#25999)
Co-authored-by: Comma Device <device@comma.ai>
2022-10-07 10:39:11 -07:00
HaraldSchafer 1ecf6f351c Divide by 0 bug fix lateral planner (#25995)
* Divide by speed correctly

* Update

* Update lateral_planner.py

* Update ref_commit
2022-10-07 00:16:18 -07:00
Adeeb Shihadeh 7c49c44c4e fix speed of mock car with qcom gps (#25993)
* fix speed of mock car with qcom gps

* typo
2022-10-06 16:55:14 -07:00
Adeeb Shihadeh 01d05f66fe auto-detect pigeon or quectel (#25991)
* auto-detect pigeon or quectel

* persistent

* fix sim

* fix process replay

* fix locationd unit tests

* fix that

Co-authored-by: Comma Device <device@comma.ai>
2022-10-06 16:46:15 -07:00
Shane Smiskol cf1e978ad1 Fingerprinting: log if using cache (#25989)
* Log if using cache or not

* log in the same log message
2022-10-06 15:56:41 -07:00
Shane Smiskol e7805eb5c5 FPv2: fixed fingerprint overrides query result (#25990)
* query FW versions if fixed (override after)

* skip here

* also skip here

* and here
2022-10-06 15:24:52 -07:00
Adeeb Shihadeh 9935a65115 always enable rawgps on tici (#25987) 2022-10-06 13:47:09 -07:00
HaraldSchafer cb0b7375b7 Rocket Launcher Model (#25963)
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300

* compute only 9 tokens: 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300

* tinygrad: cleanup gather

* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/700

* empty commit for tests

* bump tinygrad

* dont use tinygrad matmul for now

* bump tinygrad

* 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* float16 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* increase steer rate cost

* Revert "increase steer rate cost"

This reverts commit 74ce9ab9be7ef17ecfec931f96851b12f37f2336.

* fork tinygrad

* empty commit for tests

* basics

* Kinda works

* new lat

* new tuning

* Move LATMPCN so scons compiles

* Update long weights

* Add tinygrad optim

* Update model ref

* update weights

* Update ref

* Try

* Error message for field ignore

* update model regf

* ref commit

* Fix onnx test

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-10-05 21:43:38 -07:00
Vivek Aithal dc72438be5 regen: add arg for migrating sensorEvents with old timestamps (#25980)
* add event logMonoTime

* add arg for old logtime
2022-10-05 21:16:41 -07:00
Adeeb Shihadeh e59008bf93 rawgpsd: more robust + simple test (#25977)
* rawgps cleanup

* wait for modem manager

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2022-10-05 20:59:04 -07:00
Cameron Clough c9c46c1b36 Revert "updated: configure branch upstream (#25916)"
This reverts commit 17ed8dd0e9.
2022-10-05 19:07:59 -07:00
Adeeb Shihadeh 6a8a38b1a1 pigeond: prevent locking up a CPU core (#25979) 2022-10-05 17:13:48 -07:00
Shane Smiskol 6db9f051f7 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
2022-10-05 17:09:46 -07:00
Shane Smiskol 8b41d817e4 IsoTpParallelQuery: set separation time (#25978)
* Specify separation time in openpilot

* comment

* Update selfdrive/car/isotp_parallel_query.py

* Update selfdrive/car/isotp_parallel_query.py
2022-10-05 17:06:52 -07:00
Adeeb Shihadeh ef24c0b2ce agnos 6.1 (#25973)
* agnos 6.1

* staging manifest

* no casync

* prod manifest
2022-10-05 16:40:39 -07:00
Adeeb Shihadeh 06e283a750 UI: only show cell settings on non-prime connection (#25067)
* fix indentation

* add primeTypeChanged signal to uiState

* hide advanced networking toggles on prime type change

* switch between map settings on prime type change

* cleanup

* remove duplicate code, wait for signal

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-05 16:10:14 -07:00
Cameron Clough c8b7d297b6 docs: specify Lexus Safety System+ package for RX 2016 (#25974)
* docs: specify Lexus Safety System+ package for RX 2016

This package isn't standard on the 2016 MY.

https://cdn.dealereprocess.org/cdn/brochures/lexus/2016-rx350.pdf

* hybrid too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-05 15:39:40 -07:00
Adeeb Shihadeh 300577f38f fixup toggle cleanup 2022-10-05 13:00:22 -07:00
HaraldSchafer e5d2c3ce7a Planner cleanup (#25969) 2022-10-04 21:19:04 -07:00
Adeeb Shihadeh f2859b3be5 thermald: prevent started cycling too quickly (#25971)
* thermald: prevent started cycling too quickly

* move that

* fix logging and no wait after boot

Co-authored-by: Comma Device <device@comma.ai>
2022-10-04 20:58:07 -07:00
Shane Smiskol 7ed064f7ba VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
2022-10-04 20:38:39 -07:00
Shane Smiskol de67a28f1b Ford: handle VIN (#25966)
fix ford vin
2022-10-04 19:21:23 -07:00
Adeeb Shihadeh 0231c4ba85 cleanup stale longitudinal params (#25967) 2022-10-04 17:23:41 -07:00
Vivek Aithal ca746b0a18 Extend torqued (#25961)
* extend live torque to all hyundai and toyota cars

* update refs
2022-10-04 13:34:31 -07:00
Shane Smiskol 84adb8d925 GM: raise max brake (#25810)
* -4 didn't make any sense?

* comments

* comments

* update to 400

* bump panda

* remove unused iso limit vars

* update comments

* bump panda

* Update selfdrive/car/gm/values.py

* Update ref_commit
2022-10-04 00:39:19 -07:00
Adeeb Shihadeh f35c234e9c thermald: consider pmic temp while onroad (#25959)
* thermald: consider pmic temp while onroad

* this is better
2022-10-03 21:19:51 -07:00
Kurt Nistelberger dc63245b89 reset LaikadEphemeris after loggerd test 2022-10-03 20:47:00 -07:00
Greg Hogan 5352006cbd hyundai: fix FCA11 checksum and counter (#25027)
* hyundai: fix FCA11 checksum and counter

* update refs and comment about alt DBC definition we do not support
2022-10-03 19:19:39 -07:00
Adeeb Shihadeh 3068c48224 add fault for invalid safety RX checks (#25949)
* add fault for invalid safety RX checks

* just a bool

* bump panda
2022-10-03 16:06:29 -07:00
Dean Lee 1b8324af87 c++ cabana: Initial version (#25946)
* draft

* continue

* fix QChart unresponsive with large points

* build with --extras

* add filter

* save DBC button

* more buttons

* add flag to use qcamera

* stop replay in dctor

* README

* use getMsg

* video control

* edit signal

* add colors

* correct ts

* add/edit signals

* use bus:address as key
2022-10-03 15:19:42 -07:00
Cameron Clough bc7be114d8 UI: remove unused tap detection constant (#25956) 2022-10-03 13:58:40 -07:00
Jason Young 50b8fc19b6 VW PQ: Use correct brake signal (#25952) 2022-10-03 11:48:56 -07:00
Adeeb Shihadeh cd40652e64 updated: don't show failed alert with no internet (#25948) 2022-10-02 16:13:28 -07:00