Commit Graph

702 Commits

Author SHA1 Message Date
Adeeb Shihadeh b0c3778aae agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh 33e6aad83b Revert "Update pycapnp and Cython (#29021)"
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.

old-commit-hash: 9c307f2550ccade43409c9a5835203fdc355f26c
2023-07-18 18:47:35 -07:00
Maxime Desroches 6ba97408e9 Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f725834256d7b3429e2805739ccbed5
2023-07-18 16:40:36 -07:00
Kacper Rączy 4c6efa638c process_replay: support for replaying multiple processes simultaneously (#28829)
* first working ProcessContainer and _replay_multi_process implementation

* Setup controlsd config_callback

* Add vision ipc support

* Remove old code

* add todo

* Update estimated processing times

* Use deepcopy when getting configs

* Rework the API to support passing multiple names or configs

* Add get_custom_params_from_lr

* Add more typing

* Enable simulation for controlsd

* Fix typing issues

* Regen refactor

* Fix linter issues

* Make wideRoadCameraState optional

* Move DummySocket to helpers

* Improve typing in regen

* Minor improvements

* Maintain sort order of internal_pub_queue using heapq

* Move ProcessContainer elsewhere

* Fix internal heap

* Change comment

* Remove subtest_name from ProcessConfig

* Update cereal

* Add newline
old-commit-hash: b2d0f74ec3cc48faa6b54c26267d53ac554e140f
2023-07-18 14:56:24 -07:00
Adeeb Shihadeh 7a8ff5d59f mapsd: more reliable test (#28985)
* mapsd: more reliable test

* better wait

* should be good

* fix frame id

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd02ab6358efd66d2c1e7c71de3ed7f3d9ea221f
2023-07-17 10:58:39 -07:00
Adeeb Shihadeh 99945aded5 nav: always publish map and run model (#28924)
* always render

* more test

* test case

* update test

* vipc checks

* clear cache

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b86268635a595602d0b3eae5a22e95119c3d860
2023-07-16 15:37:13 -07:00
Kacper Rączy fe84dadaa5 controlsd: support for SIMULATION mode for process replay (#28895)
* Support for simulation flag while replay

* Update cereal

* Enable simulation for controlsd

* Update ref commit

* Update cereal
old-commit-hash: 72579a0e1081ecec5c414250831bedcecdc3bdc4
2023-07-12 10:32:02 -07:00
Mitchell Goff a0d705d113 nav model: fix flicker in nav enabled state (#28815)
* Fix flicker in nav enabled state

* Move all relevant information for validity checks into navModel packet

* Ignore locationMonoTime in replay tests

* Check route valid in navmodeld

* sm update

* check that

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e346839c68e7f86bf7bdd88966e33a64c0be5680
2023-07-09 15:10:02 -07:00
Adeeb Shihadeh dd977c30ad bump submodules, prep for python 3.11 (#28775)
* bump submodules, prep for python 3.11

* bump
old-commit-hash: 9529ee029fbd48a8ede7337a401e47c8e36e11e3
2023-07-01 18:39:44 -07:00
Adeeb Shihadeh 7dd965ae22 bump cereal
old-commit-hash: e090bd81f2b4c406e196829ff3059af3573357cd
2023-06-29 17:37:00 -07:00
Igor Biletskyy d1b891c419 CAN health packet v5 (#28534)
initial
old-commit-hash: 6a64d9fd5519cf894dab82a6558a24bffe3e0048
2023-06-28 15:18:11 -07:00
Dean Lee 9be7d252b8 camerad: remove unused frame_length from struct FrameMetadata (#28693)
* remove unused frame_length

* bump cereal

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9784f61f231ba1ba70c7e086014d6a385f078ae0
2023-06-25 12:51:10 -07:00
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