Commit Graph

8267 Commits

Author SHA1 Message Date
Kurt Nistelberger 76f9a1487c 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>
old-commit-hash: 54d667aa155a795ff3ee4953ce508d64945fdac3
2022-10-11 18:55:10 -07:00
Kurt Nistelberger 52e592ddc1 add extra logging for rawgpsd opcode crash
old-commit-hash: 182c5c48102a8d719402eece658c16f36f3d7046
2022-10-11 17:41:20 -07:00
Shane Smiskol 4df9e825ae 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
old-commit-hash: 741867813285672a723b8fc53ead65a5cbe5c6dd
2022-10-11 16:27:46 -07:00
HaraldSchafer f9b65f9189 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
old-commit-hash: 2c9b150761f533a6132fac3639df24bb286386bb
2022-10-11 14:53:43 -07:00
Nelson Chen 8dc2f5e427 Add missing Corolla TSS2 firmware (#26032)
old-commit-hash: e062d2387e37f92121979803e11e9fcbb550b63b
2022-10-11 13:17:21 -07:00
Shane Smiskol 3604eadef8 Add CarInfo for Elantra GT and i30 (#26034)
Fixup car info for Elantra GT/i30
old-commit-hash: 32a4dfe2fe549edff352dc54055cff680c96755f
2022-10-11 12:53:35 -07:00
Shane Smiskol ce1e890c5d HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
old-commit-hash: c719b3b7ddd05d8369aab13e11f99af7990c73ea
2022-10-10 23:24:14 -07:00
Shane Smiskol d064794e80 Subaru: log stock FCW (#26012)
* log stock FCW

* Update selfdrive/car/subaru/carstate.py

* never seen 1 (could be aeb?)
old-commit-hash: f31aa6853354226baada15f6a12b57f16bc3853b
2022-10-08 23:28:33 -07:00
Greg Hogan 08234a9ea9 hyundai: fix logging stock AEB events (#25152)
old-commit-hash: 2e7fa330b346b6435d0b15524f3b5ce878d213de
2022-10-08 04:07:35 -07:00
Shane Smiskol 46e01104ad 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
old-commit-hash: 36701a82a344447fe33476f42cd83034dbc373a4
2022-10-08 00:02:57 -07:00
HaraldSchafer a13f2deeeb 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
old-commit-hash: fb074378194db28067dbb77e8cd15db6ab5fd882
2022-10-07 19:15:04 -07:00
HaraldSchafer 549a65d51e 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>
old-commit-hash: 57a82ced285518cad129ec61814aab48bf51910e
2022-10-07 17:27:09 -07:00
YassineYousfi 523ad86756 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
old-commit-hash: 6c5693e965b9c63f8678f52b9e9b5abe35f23feb
2022-10-07 17:22:42 -07:00
Shane Smiskol 779ad387bf 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>
old-commit-hash: 6ce511cc605782c25d45c66b55f859caaf7ce516
2022-10-07 16:12:58 -07:00
Adeeb Shihadeh 0645a347f2 tombstoned: remove android code
old-commit-hash: 8cee561dbfcb6e45f7ecd51adb0df67f4ebba908
2022-10-07 13:51:55 -07:00
Jason Young 5812735bbe VW MNB: Add EPS config script support (#26007)
old-commit-hash: 46e741c7cc652a9b1b266c0881ef6f9c30f5a226
2022-10-07 12:50:35 -07:00
Adeeb Shihadeh c31c77668f safer modem manager commands (#25999)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1f5187892f0854bbc6a7d7799fa0d9ca2284714a
2022-10-07 10:39:11 -07:00
HaraldSchafer 3488569ac3 Divide by 0 bug fix lateral planner (#25995)
* Divide by speed correctly

* Update

* Update lateral_planner.py

* Update ref_commit
old-commit-hash: 1ecf6f351c35de24affbb1e2cb5675aea1a36f10
2022-10-07 00:16:18 -07:00
Adeeb Shihadeh a31676383c fix speed of mock car with qcom gps (#25993)
* fix speed of mock car with qcom gps

* typo
old-commit-hash: 7c49c44c4ee2e846a275dab1cb5141009d55318e
2022-10-06 16:55:14 -07:00
Adeeb Shihadeh 3e2f436d4c 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>
old-commit-hash: 01d05f66fe5a189209538650dce319b2f7e192ee
2022-10-06 16:46:15 -07:00
Shane Smiskol 1c7fa1d700 Fingerprinting: log if using cache (#25989)
* Log if using cache or not

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

* skip here

* also skip here

* and here
old-commit-hash: e7805eb5c54d336a93af730594ef1ccc725dad82
2022-10-06 15:24:52 -07:00
Adeeb Shihadeh 7176feffdc always enable rawgps on tici (#25987)
old-commit-hash: 9935a651157c512c37926b43fdcda3566de11261
2022-10-06 13:47:09 -07:00
HaraldSchafer a8ec6f4cfd 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>
old-commit-hash: cb0b7375b728d1b6e92db68c9ba55f0f54c09a3f
2022-10-05 21:43:38 -07:00
Vivek Aithal 73f0c74b9b regen: add arg for migrating sensorEvents with old timestamps (#25980)
* add event logMonoTime

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

* wait for modem manager

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e59008bf9335fba195f1df8741954a9f34ae00d9
2022-10-05 20:59:04 -07:00
Cameron Clough e9ee61769c Revert "updated: configure branch upstream (#25916)"
This reverts commit 5b59c71a03842f81e3e7ca57d381ce109d0d09f0.

old-commit-hash: c9c46c1b36d5784ed4245979eee5cc5f042fba12
2022-10-05 19:07:59 -07:00
Adeeb Shihadeh a7b67fec01 pigeond: prevent locking up a CPU core (#25979)
old-commit-hash: 6a8a38b1a13b678bddbfdbcf5ba438bd7516c9be
2022-10-05 17:13:48 -07:00
Shane Smiskol c32368fd20 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
old-commit-hash: 6db9f051f761506e4d91ef1879cfae4c8cb1ddc8
2022-10-05 17:09:46 -07:00
Shane Smiskol 098ef11824 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
old-commit-hash: 8b41d817e401fcf577bc68dfc6654ee1e0c3cbb5
2022-10-05 17:06:52 -07:00
Adeeb Shihadeh fa3e33b8e8 agnos 6.1 (#25973)
* agnos 6.1

* staging manifest

* no casync

* prod manifest
old-commit-hash: ef24c0b2ce8a4cf1dbc82886b806079889adf97b
2022-10-05 16:40:39 -07:00
Adeeb Shihadeh 6831f3499f 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>
old-commit-hash: 06e283a7504b23de79f12ec2c0a7ab280eda57e4
2022-10-05 16:10:14 -07:00
Cameron Clough 0f07fb6f2c 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>
old-commit-hash: c8b7d297b6645b82406b75f93c3ee37643575c50
2022-10-05 15:39:40 -07:00
Adeeb Shihadeh 2a25b0ab83 fixup toggle cleanup
old-commit-hash: 300577f38f963bb2854a6139ed50544d9bb493b1
2022-10-05 13:00:22 -07:00
HaraldSchafer f25d434a01 Planner cleanup (#25969)
old-commit-hash: e5d2c3ce7abd9fa4c82a774e765e30ba0a97461a
2022-10-04 21:19:04 -07:00
Adeeb Shihadeh c4a70bfc01 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>
old-commit-hash: f2859b3be55d95bc53ff90aa536a7d8ae14b212f
2022-10-04 20:58:07 -07:00
Shane Smiskol 90d4906aa9 VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
old-commit-hash: 7ed064f7baff36b08713729c9c99304ef0224a58
2022-10-04 20:38:39 -07:00
Shane Smiskol 1cb7a7def9 Ford: handle VIN (#25966)
fix ford vin
old-commit-hash: de67a28f1bae5f3677c57ed179baf8bf9c1d971d
2022-10-04 19:21:23 -07:00
Adeeb Shihadeh 6bf9717b04 cleanup stale longitudinal params (#25967)
old-commit-hash: 0231c4ba851819963502d0068d574a055f865692
2022-10-04 17:23:41 -07:00
Vivek Aithal a03192a8d7 Extend torqued (#25961)
* extend live torque to all hyundai and toyota cars

* update refs
old-commit-hash: ca746b0a18eebc9b0fa7a6810dba0b28a60548c2
2022-10-04 13:34:31 -07:00
Shane Smiskol 8e1e6132c8 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
old-commit-hash: 84adb8d9259be92951c604b0780608de8c039f9f
2022-10-04 00:39:19 -07:00
Adeeb Shihadeh 17dbc473fc thermald: consider pmic temp while onroad (#25959)
* thermald: consider pmic temp while onroad

* this is better
old-commit-hash: f35c234e9c23d9af49fcc6f82475931dc2d887db
2022-10-03 21:19:51 -07:00
Kurt Nistelberger 6416888822 reset LaikadEphemeris after loggerd test
old-commit-hash: dc63245b8955dc941e4c2370f6b953564f3f775b
2022-10-03 20:47:00 -07:00
Greg Hogan 937ca9a946 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
old-commit-hash: 5352006cbd00dc84262a4789b66cba47669d6d75
2022-10-03 19:19:39 -07:00
Adeeb Shihadeh e631966207 add fault for invalid safety RX checks (#25949)
* add fault for invalid safety RX checks

* just a bool

* bump panda
old-commit-hash: 3068c48224d62ea6c3070332668fedafe522f1d3
2022-10-03 16:06:29 -07:00
Dean Lee 292d55cf8a 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
old-commit-hash: 1b8324af876e66630b5f4e50623e3136a39f6ecb
2022-10-03 15:19:42 -07:00
Cameron Clough 595d8471db UI: remove unused tap detection constant (#25956)
old-commit-hash: bc7be114d838aafc54a5e480dc969c76552e7f26
2022-10-03 13:58:40 -07:00
Jason Young a7cb4aa824 VW PQ: Use correct brake signal (#25952)
old-commit-hash: 50b8fc19b692d0d4d0ef2dc9161fef6cf9d3013d
2022-10-03 11:48:56 -07:00
Adeeb Shihadeh a8780343d8 updated: don't show failed alert with no internet (#25948)
old-commit-hash: cd40652e64b41a87539909bab2887e7930d3001a
2022-10-02 16:13:28 -07:00
Cameron Clough 597b949813 networking: add unmetered cellular toggle (#25902)
* add metered toggle to UI

* add GsmMetered param

* add NMMetered constants

* change LTE connection settings: connection.metered

* change to GsmUnmetered override

* update translations

* debug ui

* remove comment

* Revert "debug ui"

This reverts commit 2ad9e65ea229b814782be9f30cc7664125d7e908.

* 'Force Unmetered Cellular' toggle

* update translations

* remove description

* update translations

* change unmetered to metered
old-commit-hash: f6119603912efa4fe28f5da21f3d57f6903a0c77
2022-10-01 14:47:06 -07:00