Commit Graph

740 Commits

Author SHA1 Message Date
Adeeb Shihadeh 1405732c93 bump cereal (#28650)
* bump cereal

* fix pigeond test

* bump cereal

* bump cereal

* bump cereal

* bump cereal

* update refs
old-commit-hash: a50c191f8df547d65b539438a4f0e9a1a8efb205
2023-06-23 16:01:21 -07:00
Kacper Rączy 215819c218 paramsd: expose filterState in debug mode (#28627)
* Update cereal

* Expose filterState in debug mode.
old-commit-hash: b6c3f69dc07de97850b076da30f84fbff767e44a
2023-06-23 13:45:40 -07:00
Mitchell Goff 4ad967f963 Publish navEnabled from modeld (#28647)
* Publish navEnabled from modeld

* Bump cereal
old-commit-hash: 4c2c73b15282f405900b64b0fb67d461f3058b5c
2023-06-22 19:39:51 -07:00
Shane Smiskol 703550e855 Chrysler FPv2: rename Ecu.hcp to Ecu.hybrid (#28629)
rename hcp to hybrid
old-commit-hash: d42231b51ab80143289241729b1ae03c046075a9
2023-06-22 01:27:15 -07:00
Shane Smiskol ea8f8d2265 bump cereal (#28630)
old-commit-hash: 9749b7eac2cf10d0b68ff2d4359f8bc070a4dace
2023-06-22 01:10:46 -07:00
Shane Smiskol ae58ed5473 Toyota FPv2: log telematics ECU (#28613)
* add electronic parking brake ecu

* add

* add to whitelists

* update refs
old-commit-hash: ae0d1635b4b8532d0ee07729ba8ae10e06099ec2
2023-06-21 00:32:40 -07:00
Shane Smiskol b3f4985151 Toyota FPv2: log electronic parking brake ECU (#28612)
* add electronic parking brake ecu

* add comment

* bump

* screw sequential subaddrs
old-commit-hash: 12be5afb8a6973cda25ad78779e6cd22fe8694e3
2023-06-20 23:53:20 -07:00
Shane Smiskol 006ec74726 bump cereal (#28614)
bump-cereal
old-commit-hash: a9c8a9d1abeea78d5ab3497c51f3428b88f3fba3
2023-06-20 22:59:19 -07:00
Kacper Rączy 9917924ee5 lateral_planner: expose solverState, solverCost in debug mode (#28577)
* Update cereal

* Add xs, ys, solverCost support in lat planner

* Update cereal

* Add support for debug mode. Add solverState

* Read debug mode from env

* Update cereal
old-commit-hash: 83d6552a15d188c9368a66aae9c17e3599cc50cf
2023-06-16 19:51:37 -07:00
Adeeb Shihadeh df3dffc2d1 thermald: log filtered max temp (#28564)
old-commit-hash: cb4c7118a54dc4e3e135dfdc38122e4ef1b2d826
2023-06-15 17:08:47 -07:00
Harald Schäfer 7855571bf4 bump cereal (#28519)
* bump cereal

* bump cereak
old-commit-hash: 33a1959d264537257ec29729be3bfe76b8cef467
2023-06-12 19:31:56 -07:00
Adeeb Shihadeh 6888ba7bf2 bump cereal and panda
old-commit-hash: d1499fa5d8e28722dbaddae0c5941f9be12013bf
2023-06-09 14:44:57 -07:00
Harald Schäfer 6d32cb8dc4 bump cereal (#28421)
old-commit-hash: 16ff32d2c20e2d792a351b031a698fac5fa2d36d
2023-06-05 20:56:43 -07:00
YassineYousfi 4de14c1130 hot coffee model (#28296)
* 1061b1c7-b944-43e3-a940-b56b64d66f54/700

* bump cereal

* bump cereal

* make mypy happy

* write TODO

* read height from written params

* fix certain_if_calib logic and unit tests

* factor moving_avg_with_linear_decay

* remove whitespace

* update model ref commit

* default value for CI

* update process replay ref commit

* update process replay ref commit

* update process replay ref commit

* bump cereal
old-commit-hash: 7925232a349388f3435940c90989f957746d918a
2023-06-02 20:55:13 -07:00
Shane Smiskol 8bb530cec5 Deprecate brakeUnavailable event (#28351)
* bump cereal

* deprecate

* Update selfdrive/controls/lib/events.py
old-commit-hash: fc2bd16e72a89feb270f99468cfd8d14ccbab4fd
2023-05-31 16:29:11 -07:00
Kacper Rączy 37fb563225 locationd: add filterState (#28340)
* Add filterState to published messages

* Hide it behind DEBUG flag

* Update cereal

* Update cereal
old-commit-hash: 9abe95c949747e87f059ea0810c03b01305110c5
2023-05-31 15:01:12 -07:00
Shane Smiskol d609b70296 cars: log non-critical car faults (#28338)
* log non-noEntry acc faults

non

* adasFaulted

* bump

* bump again

* bump agaiiinn

* remove event

* bump to master

* add fixme comment and fix

* whoops

* switch
old-commit-hash: 2ff1eadb1153a26a177a55f1f29426ebf328b655
2023-05-30 20:46:44 -07:00
Kacper Rączy a48b67f720 process_replay: universal replay mechanism using cereal fake sockets (#28115)
* replay_process_with_fake_sockets implementation

* add missing polled_pubs to configs

* drained_pubs field

* updated cereal

* Remove python/native variations of process replay. Replace with universal one using cereal fake sockets

* Replace old py FakeSocket with DummySocket

* Invalidate and deregister fake sockets after replay is done

* Remove unused import

* Set up new prefix for each replay

* Fixes for radard

* Refactor ReplayContext and ProcessConfig

* Minor fixes

* Reimplement controlsd fingerprinting callback

* time.sleep for sockets to safely reconnect

* Fix fingerprinting for controlsd

* Fixes for regen to work

* Fix replay loop to respect submaster frames

* Fix profiler to use new ProcessConfig fields

* Remove tqdm

* Refactor tests to use new ProcessConfig

* Add FrequencyBasedRcvCallback

* Make tolerance None by default

* Update cereal

* Add get_process_config utility func

* Update cereal. Simplify sync procedure

* Chain context managers

* New sub-socket reconnection procedure

* Fix linter issues

* Revert chaining of context managers

* Init controlsState only when replaying controlsd. Update cereal

* Update cereal

* Update process_replay to use new cereal API

* Update cereal

* Update cereal

* Update cereal

* Simplify radard recv callback

* Update release/files_common
old-commit-hash: e6ac6320ace377657446a1a16ccccd75091f5453
2023-05-23 17:24:16 -07:00
Justin Newberry 63794374e9 Subaru: rename legacy to preglobal (#28204)
* rename

* submodules too

* missed some variables

* fix find/replace error

* revert modules

* bump submodules

* bump cereal
old-commit-hash: f327053ac0326e9ac8d4094d35940245c07b0f3b
2023-05-15 19:12:47 -07:00
Adeeb Shihadeh acad6e6324 bump cereal
old-commit-hash: 5c843d9c12d1c11f32c8c2b171579d68d271b208
2023-05-15 10:07:01 -07:00
Harald Schäfer 5ddceb553d Calibrationd: make recalibrating alert (#28149)
* Initial

* fixes

* not an int anymore

* elif

* revert ref

* update ref

* fix alert text

* regen refs

* update ref

* add recalibration unit test

* set into recalibration state

* fix words

* recalib

* text

* Update selfdrive/controls/lib/events.py

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

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 598343aad18a7896c6b65ff6e19f9e27ba19cc10
2023-05-15 09:29:57 -07:00
Shane Smiskol da12bfb021 Ford: add alert for steering wheel angle not ready (#28140)
* add event for steering angle calibrating

* how about this

how about this

* rename

* more openpilot-y

* add comment to code

* move to top

* better wording

* more general

* fix

* ?

* above

* bump cereal to master

* add more comms
old-commit-hash: fb29d0f3bfe69c83f73e3af09235bd4c8287aaac
2023-05-08 22:03:30 -07:00
Robbe Derks a3295aecd3 Continuous harness detection (#28129)
* log sbu voltages

* bump submodules
old-commit-hash: 64123404312cc423955403c58287dcdac3e11319
2023-05-08 13:33:23 +02:00
Robbe Derks 3596a908fd bump cereal
old-commit-hash: 0b7b25e6cca3c3791e08b1374d4cc812cec75148
2023-05-04 16:35:41 +02:00
Robbe Derks 51576bdd30 Dynamic device type (#28011)
* tizi_device_type

* fix test

* also change it in the C versin
old-commit-hash: 21bcd7db630d5abb41f00e3e9d3a025c26337a92
2023-05-04 12:12:01 +02:00
Shane Smiskol eda466a388 bump cereal (#27998)
* bump cereal

* bump to master
old-commit-hash: 4f6c1141df4a0d398a135354f3df6d27ba5cc898
2023-04-21 16:23:19 -07:00
Shane Smiskol c8cf77b7a7 locationd: log time to first fix (#27990)
* locationd ttff

* log time to first fix

* rename

* max it like laikad

* Update selfdrive/locationd/locationd.cc

* Update ref_commit

* Log when gpsOK first becomes true

* don't forget to update current time!

* stash

* make it deterministic (no proc replay cur time)

* Update ref_commit

* rename to make this clear
old-commit-hash: 03eb02906d9f43799fc93f71ef32331bcf090157
2023-04-21 16:15:13 -07:00
Adeeb Shihadeh 4e75b69f3a boardd: log fan stall count (#27984)
* boardd: log fan stall count

* bump panda

* bump panda

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bda33a942f176f329c9a86e405b28593dfde05d6
2023-04-20 15:55:35 -07:00
Adeeb Shihadeh b7c0e56697 CI: add job to update pre-commit hooks (#27922)
* CI: add job to update pre-commit hooks

* rm push
old-commit-hash: fd50713c2d5438ea8a928745ca833cc48cbfe67b
2023-04-15 18:08:26 -07:00
Adeeb Shihadeh 2673de7dfd boardd: log SPI checksum errors (#27818)
* boardd: log SPI checksum errors

* bump panda
old-commit-hash: c8c458f0e7d9a5cb355deb376ef770c3f0b86111
2023-04-05 22:16:44 -07:00
Adeeb Shihadeh 641c3e7654 add panda watchdog fault (#27808)
old-commit-hash: ad16b445285451f0375ee850a365214999448b47
2023-04-04 19:21:30 -07:00
Adeeb Shihadeh fb52e81161 boardd: log voltage and current from panda (#27789)
* boardd: log voltage and current from panda

* bump cereal
old-commit-hash: d16ee6ecc8f38c90da4798f0eeacbfd0c3118de4
2023-04-02 12:59:13 -07:00
Adeeb Shihadeh 809a79121b tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee3b72a9ec12dabc427b2908c16637a3
2023-03-29 16:31:35 -07:00
Jason Young 6433154d5d remove accFaultedTemp, add steerTimeLimit (#27720)
* remove accFaultedTemp

* retry CI

* bump cereal

* grab the new steerTimeLimit Event

* bump cereal to updated master
old-commit-hash: 267974e00200324805c76ef2e8ae279efa7757a1
2023-03-28 16:04:14 -07:00
Shane Smiskol cee3c52af2 bump cereal (#27704)
old-commit-hash: 86f6c315bc3712c924ef709a4de59dade6d05070
2023-03-27 13:30:22 -07:00
Adeeb Shihadeh 3236b2b457 Revert "bump cereal"
This reverts commit 678083acc13fb1c4f0c7ce9e7e4d16349eabd764.

old-commit-hash: 4439e285db115b7e03192af47f45e07efa1ba4f1
2023-03-27 12:45:13 -07:00
Shane Smiskol efe053a7b1 bump cereal
old-commit-hash: daeb502031fc5c261c56dad530e63661530e4a8a
2023-03-27 11:53:40 -07:00
Shane Smiskol 7a56692c24 FPv2: log OBD multiplexed requests (#27667)
* log multiplexed requests

* bump cereal

* bump cereal to master
old-commit-hash: 2ad9eec882e6be5aff4ae6a55e3ffb6f76a3d85b
2023-03-24 00:25:37 -07:00
Shane Smiskol c96b1c3040 Hyundai CAN FD: log ADAS parking ECU FW version (#27662)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* bump to master

* bump to master

* don't multiplex when we don't need it
old-commit-hash: 021661b316f488682c9e4c1b586c9fb51384cdf6
2023-03-24 00:12:25 -07:00
Shane Smiskol e0bebea962 Hyundai CAN FD: log hvac FW version (#27668)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* this is a smaller diff, easier to merge

* bump cereal

* just hvac

* bump to master
old-commit-hash: 5ab45890aa28e4d97044bb80564de1fb1c2b5492
2023-03-23 23:31:38 -07:00
Shane Smiskol 95fc6acacf bump cereal
old-commit-hash: 049fffb39f875152b2e03df13566fddbd0249a4f
2023-03-23 23:07:27 -07:00
Harald Schäfer 6d0116ae80 Ttff logs (#27610)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal

* Update ref_commit

* sort ephem status list

* sort ephem status list

* update ref
old-commit-hash: 204f7d862390d86ab958275cd887b8cbc3e66f66
2023-03-16 22:09:05 -07:00
Adeeb Shihadeh 869a9af32d Revert "LAIKAD: TTFF, and ephemeris statuses in logs (#27591)"
This reverts commit 8324a349b4c267a83d96ff3f3c9d25f0b5bd7fcf.

old-commit-hash: 4cff94366f751e53363c811a129f0d2dd93b4655
2023-03-16 19:01:45 -07:00
Harald Schäfer af464f3b94 LAIKAD: TTFF, and ephemeris statuses in logs (#27591)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal
old-commit-hash: 95216de5910c62bf81a7bf6053b5917de98dc825
2023-03-16 17:00:54 -07:00
Harald Schäfer 9512d91684 Sat info from ublox (#27526)
* squashed

* bump cereal
old-commit-hash: 153ffa3f68bc316d17b46a94327bdc5777f39b4f
2023-03-15 01:21:18 -07:00
Harald Schäfer 20dfe96afa Use structs in laika (#27585)
* doesnt crash

* New cacher

* unused import

* help linter

* Annotate list

* print error

* fix caching bugs

* wrong name

* small fixes

* fix sum

* wrong brackets

* fix tests

* update ref

* bump submodules
old-commit-hash: 5c704827619e774c9877b4598af06d1c6bca80d2
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh e2acf6ab14 plannerd: add frameId to uiPlan (#27573)
* plannerd: add frameId to uiPlan

* update refs
old-commit-hash: 17b71b477e596529d36dc7f95e3fa42697adfadc
2023-03-13 15:30:38 -07:00
Shane Smiskol 827c5678f0 uiPlan: add planned acceleration field (#27484)
* add accel

* bump cereal

* Update ref_commit

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 3ab8645d3af948a35ac410ad7f841ab670091e32
2023-03-02 20:11:24 -08:00
Harald Schäfer 0ac73f2a81 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
old-commit-hash: eb8bdc0026b49de2fc5107746baeadbd42f58550
2023-02-17 19:58:30 -08:00
Shane Smiskol cdfd691644 FPv2: log responses from data collection queries (#27345)
* log responses from logging/debugging queries

* don't add logging FW to FW dict for fingerprinting

* flip?

* fine before

* log if extra in debug ecus

* clean up

* test extra ecus too

* Revert "test extra ecus too"

This reverts commit 8f7867844db95f48631348551551148bf504e37b.

* bump to master
old-commit-hash: f29e19cf4238199eec142f9c7eab5936874e04de
2023-02-14 16:59:20 -08:00