Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh
f60cbbb04b
modeld: prep for camera transform refactor ( #31820 )
...
* modeld: prep for camera transform refactor
* update refs
* add pub
* do setup
old-commit-hash: 7436aa8b05
2024-03-10 16:39:40 -07:00
YassineYousfi
063623602c
Recertified Herbalist Model ( #31616 )
...
* dfa8bce2-a445-45ea-a4b8-e63989b8df08/700
* update model replay ref
old-commit-hash: f1cd16e367
2024-03-01 16:56:33 -08:00
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
5b8eb7f9c7
modeld: add extra log for startup time debugging
...
old-commit-hash: 675eeb9d16
2024-02-19 22:33:30 -08:00
Harald Schäfer
a4d53d378d
Certified Herbalist Model ( #31425 )
...
* ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700
* 93532291-a562-4ab8-82d2-34d6e9fdcfbb/700
* Update ref
old-commit-hash: 26481d082f
2024-02-19 17:26:10 -08:00
Harald Schäfer
48bd8c2aaa
Modeld: cleanup unused variables ( #31516 )
...
Modeld: cleanup used variables
old-commit-hash: d371fb042c
2024-02-19 17:07:15 -08:00
Milan Medić
284450400e
add Cython static analysis ( #31491 )
...
* Adding pre-commit hook for cython static analysis
* Adding changes to cython files to pass static analysis
* Revert "Adding changes to cython files to pass static analysis"
This reverts commit 9a0eb733199abd9eef1eac3d024ef2760348d67c.
* Adding ignore rule for indentation of 4 spaces (E111)
* Fixes for cython-lint static analysis
* Revert "Fixes for cython-lint static analysis"
This reverts commit 972741735b2bdc73460d65a4d7ea167dfc0f4644.
* Adding two new rules into ignore list (2 new lines after difinition of class)
* Adding fixes for cython static analysis
old-commit-hash: 69fb3c2ed5
2024-02-19 12:11:56 -08:00
Adeeb Shihadeh
1afe1fed8a
more modeld logging ( #31510 )
...
old-commit-hash: 86184b76d5
2024-02-19 10:46:04 -08:00
Adeeb Shihadeh
79209662d6
thneed: printf -> cloudlog ( #31506 )
...
* thneed: printf -> cloudlog
* LOGI
* Revert "LOGI"
This reverts commit e6ab7e45fb7f3678727595f67c1f6c8e2cda734b.
old-commit-hash: 4ded4c53af
2024-02-18 23:04:24 -08:00
Harald Schäfer
8656ef12c5
Calibration Transform: border pad ( #31495 )
...
old-commit-hash: 900300a928
2024-02-16 15:18:26 -08:00
Adeeb Shihadeh
9ca2d61313
modeld: fix and cleanup getting carParams ( #31488 )
...
old-commit-hash: 5a441ec0c4
2024-02-15 22:20:00 -08:00
YassineYousfi
9a6ab74f07
Revert "Certified Herbalist Model" ( #31382 )
...
Revert "Certified Herbalist Model (#31294 )"
This reverts commit 545f5a22dd3fab8aba3299af9560dfe5de409c15.
old-commit-hash: c84e5e2402
2024-02-08 15:31:21 -08:00
Harald Schäfer
ff89f248d0
Certified Herbalist Model ( #31294 )
...
ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700
old-commit-hash: 06bdc69a02
2024-02-06 08:39:44 +08:00
ZwX1616
8cdd09be5a
DM: Quarter Pounder Deluxe model ( #31170 )
...
* 1
* pg
This reverts commit 71409ec84a3e04e5e7ec960271d4e278a2472462.
* ee new
* 60ab
* update replay
old-commit-hash: ba7f840a06
2024-01-29 16:52:30 -08:00
Harald Schäfer
f9d5fc7dd9
Los Angeles Model 2 ( #31135 )
...
* 7045fb53-6739-4338-8426-20cbd4ad7832/600
* Update constants
* Update parse
* Typos
* Update ref
* 26057144-130f-48e1-8a98-00fae53ae7db/700
* Update ref
old-commit-hash: f55e6a3b81
2024-01-24 15:26:22 -08:00
Adeeb Shihadeh
12d2d861f2
Revert "Switch from json11 to nlohmann/json ( #31093 )"
...
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.
old-commit-hash: 88757c12b3
2024-01-22 22:41:59 -08:00
mtribiere
cb3a834067
Switch from json11 to nlohmann/json ( #31093 )
...
* Initial commit
* fix release/file_common
* Update common/swaglog.cc
* Swtiched serialize cc
* move to lfs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8
2024-01-22 22:35:47 -08:00
Harald Schäfer
b2983029d9
Code for running legacy models ( #31111 )
...
* Code for running legacy models
* Optional outputs
old-commit-hash: 7c9530f743
2024-01-22 14:44:48 -08:00
Harald Schäfer
215b346dc0
Los Angeles Model ( #31037 )
...
* 1c888f5b-c213-4c1c-9eba-c587afd047fc/700
* Move to action
* Updates
* Add steer delay
* Update curvature grep
* clip speed
* No car params for now
* Add delay back
* Update
* fix lint
* fix lint
* update model regf
old-commit-hash: 0067cf3eb1
2024-01-22 00:58:06 -08:00
Bruce Wayne
4a03691a20
Revert "Refactor modeld ( #31099 )"
...
This reverts commit 7fc3acd8ac1c7139953bb96c827050120af6543b.
old-commit-hash: 3b01733900
2024-01-21 17:29:32 -08:00
Harald Schäfer
34bdee83e0
Refactor modeld ( #31099 )
...
* First commit
* Allow
* Just camerastream helper
old-commit-hash: 599325718e
2024-01-21 17:10:40 -08:00
Harald Schäfer
66dbadb029
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c3846
2024-01-21 12:09:48 -08:00
Mitchell Goff
c24bdc1503
new delhi model ( #30822 )
...
* 027a1efa-10fb-4291-ad58-90cf0ff150b5/700
* debug
* rm for now
* bump refs
* revert that
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7e71fd7bae
2024-01-02 13:27:15 -08:00
YassineYousfi
597529cd6c
blue diamond model 💎 ( #30504 )
...
* c53b1113-ca16-434f-a3e7-457a36ba98cc/700
* 672ee0a5-0466-420d-be18-0610c5d71b6d/700
* update model replay ref commit
old-commit-hash: dd54ec9aa8
2023-12-12 11:24:04 -08:00
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
2023-12-06 17:27:51 -08:00
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
2023-12-03 10:50:17 -08:00
YassineYousfi
66a17a17b8
modeld: handle division by zero ( #30411 )
...
* modeld: avoid division by zero
* undefined at 0
old-commit-hash: 84d2fa68f7
2023-11-08 10:06:30 -08:00
Justin Newberry
3027a428cb
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
old-commit-hash: aec7cea30d
2023-11-07 17:35:44 -08:00
Harald Schäfer
b91ecda350
Farmville model ( #30392 )
...
* slightly different
* Revert "slightly different"
This reverts commit 8a470ecab40c295f3b8c777b82cb7a22890d116e.
* d09c9c88-1797-4ed5-ab2d-9dca5b12340b/700
* Update power draw
* Revert "Update power draw"
This reverts commit 1c95b663ec9c507604dd8580ff6386497b5391a8.
* Update ref
old-commit-hash: 9118973ed0
2023-11-07 11:17:37 -08:00
Harald Schäfer
422a9289b6
Tinygrad: use compile2 ( #30400 )
...
* Tinygrad: use compile2
* unused
* compile2 file
* slightly different
* Revert "slightly different"
This reverts commit 8a470ecab40c295f3b8c777b82cb7a22890d116e.
* slightly different ref
* add release file
* rm default args
old-commit-hash: c9fae805bc
2023-11-07 09:54:48 -08:00
YassineYousfi
91751770a8
(New) Lemon Pie Model 🍋 ( #30209 )
...
* 6f6e3749-1b7c-42e8-a33b-03929b7fc476/700
* oops deleted too much
* 1b4308b7-a659-4ebd-b4c6-c81c1c3890f8/700
* 1be192f3-f407-4217-9757-78b9ad92750a/700
* remove some todos
* more cleanup in lat planner
* vego > min_speed
* regen and update process replay refs
* update model replay ref
* update model replay ref commit again
* Revert "update model replay ref commit again"
This reverts commit 922cb796b8dfe264b0cce7a18206bb898b18bcb3.
* update again
* bump cereal
old-commit-hash: 4c2bd853e4
2023-11-02 14:01:00 -07:00
mitchellgoffpc
e911cab412
Added sentry hooks for modeld
...
old-commit-hash: eecdaf9950
2023-10-25 21:37:54 -07:00
YassineYousfi
105a379a0c
modeld: fix prev brake probs shapes ( #30309 )
...
old-commit-hash: 1802de3f01
2023-10-23 15:22:32 -07:00
YassineYousfi
8ea8f8710c
modeld: send_raw_pred under a flag ( #30298 )
...
* modeld: SEND_RAW_PRED under a flag
* not twice
old-commit-hash: b7cc6983c3
2023-10-20 13:53:22 -07:00
YassineYousfi
d18f185115
modeld: parsing and publishing in python ( #30273 )
...
* WIP try modeld all in python
* fix plan
* add lane lines stds
* fix lane lines prob
* add lead prob
* add meta
* simplify plan parsing
* add hard brake pred
* add confidence
* fix desire state and desire pred
* check this file for now
* rm prints
* rm debug
* add todos
* add plan_t_idxs
* same as cpp
* removed cython
* add wfd width - rm cpp code
* add new files rm old files
* get metadata at compile time
* forgot this file
* now uses more CPU
* not used
* update readme
* lint
* copy this too
* simplify disengage probs
* update model replay ref commit
* update again
* confidence: remove if statemens
* use publish_state.enqueue
* Revert "use publish_state.enqueue"
This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.
* confidence: better shape defs
* use ModelConstants class
* fix confidence
* Parser
* slightly more power too
* no inline ifs :(
* confidence: just use if statements
old-commit-hash: cad17b1255
2023-10-19 14:23:51 -07:00
George Hotz
2b5ad3fe86
Bump tinygrad to master (0.7) ( #30254 )
...
* bump tinygrad to master
* ops_cpu is required now
* and that one too
* tinygrad is getting out of hand with all the files
* bump tinygrad
* update ref commit
* tinygrad master
* Revert "update ref commit"
This reverts commit e7284152899d6dd8a986d9570e6021addfbc6b0f.
* bump tinygrad repo
* bump master
* update ref commit
old-commit-hash: 50d720fc2e
2023-10-17 10:05:28 -07:00
Kacper Rączy
5d0e7e9373
modeld: don't attempt to connect extra vipc client if its not available ( #30154 )
...
Do not connect extra client if it's not available
old-commit-hash: 5cb9291de8
2023-10-03 15:54:21 -07:00
Harald Schäfer
dd8a904c5b
Night Strike Model ( #30148 )
...
* baab2a46-f0c3-46eb-8756-00c55354945b/700
* Update model replay ref
old-commit-hash: 3c0a7d6986
2023-10-03 14:25:30 -07:00
YassineYousfi
a3f3e0c122
onnxmodel: fp16_to_fp32 ( #30080 )
...
* onnxmodel: force fp32
* rename
* rename this too
old-commit-hash: 04e239f7ed
2023-09-27 22:37:03 -07:00
Adeeb Shihadeh
03c4bdc0be
Revert "modeld: remove extra cloudlog.bind, manager does this"
...
This reverts commit d99afd438be153166affb99ce366c537d977ba47.
old-commit-hash: 362c0bf2ca
2023-09-21 20:13:13 -07:00
Adeeb Shihadeh
f0a8853060
modeld: remove extra cloudlog.bind, manager does this
...
old-commit-hash: 754af893e9
2023-09-21 20:06:46 -07:00
Harald Schäfer
3f1086c410
Optimus Prime Model 🤖 ( #29752 )
...
* b449f295-7e40-4f97-96a6-d858815955e5/700
* make it compile b449f295-7e40-4f97-96a6-d858815955e5/700
* simpler - b449f295-7e40-4f97-96a6-d858815955e5/700
* feature_len changed
* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700
* Revert "0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700"
This reverts commit 41708b88447cfcf302b16f21f0caa69450bbd3df.
* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700 again
* Update ref
* update ref
---------
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 3799fe46b3
2023-09-21 13:51:12 -07:00
Harald Schäfer
5bb0112fdd
Test modeld: 3s enough for modeld startup ( #29936 )
...
* Test modeld: 3s enough for modeld startup
* Always fails when you send frames before modeld is ready
* Wait for modeld to read
old-commit-hash: ef50b4fdac
2023-09-15 14:59:46 -07:00
Mitchell Goff
3e1903a6cb
Converted onnx runner to python ( #29856 )
...
old-commit-hash: 9cc00c2101
2023-09-08 16:45:38 -07:00
Mitchell Goff
65fc9f14b3
Update model input names to match onnx inputs ( #29855 )
...
Updated model input names to match onnx inputs
old-commit-hash: 2d69f3d63e
2023-09-08 16:06:16 -07:00
Mitchell Goff
5732002296
Rewrite dmonitoringmodeld in python ( #29740 )
...
* Added dmonitoringmodeld.py
* Removed dmonitoringmodeld.cc
* Use ModelRunner helpers from runners/__init__.py
* Fixed DriverStateResult field ordering
* Some bug fixes
* Set calib input
* Look ma, no loop!
* Bump dmonitoringmodeld cpu usage in test_onroad
* Fixed memory leak caused by np.ctypes.data_as
* Formatting fixes
* chmod +x
* remove USE_ONNX_MODEL
* Realtime priority 1, formatting fixes
old-commit-hash: 503fa121ee
2023-09-07 19:46:43 -07:00
Mitchell Goff
f9daa1d1cc
Rewrite navmodeld in python ( #29579 )
...
* Added navmodeld.py
* Deleted navmodeld.cc
* Write SConscript config flags to config.py
* Remove deleted files from release/files_common
* Some more bug fixes
* Added config.py to gitignore
* Get rid of config.py
* Use set_realtime_priority
* A tiny bit more cleanup
* set realtime priority 1
* Use ModelRunner helper class from runners/__init__.py
* Formatting fixes
* mama mia that's a SPICY memory leak
old-commit-hash: 0c0af682a1
2023-09-07 14:39:37 -07:00
mitchellgoffpc
459e4fdb50
Added cython bindings for commonmodel sigmoid
...
old-commit-hash: 05993f50df
2023-08-31 19:40:53 -07:00
Mitchell Goff
cd7d73eaf8
Added ModelRunner helpers in modeld/runners/__init__.py ( #29737 )
...
* Added ModelRunner helper class
* import Runtime in __init__.py
old-commit-hash: d5a55136a1
2023-08-31 14:19:20 -07:00