openpilot/selfdrive/modeld/thneed
YassineYousfi cad17b1255
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
2023-10-19 14:23:51 -07:00
..
README
__init__.py
serialize.cc cpplint: add filter `build/include_subdir` (#29585) 2023-08-24 15:42:17 +01:00
thneed.h cpplint: add filter `build/include_subdir` (#29585) 2023-08-24 15:42:17 +01:00
thneed_common.cc
thneed_pc.cc
thneed_qcom2.cc Disable error message in thneed ioctl interceptor to fix pyenv issues 2023-08-24 14:41:04 -07:00

README

thneed is an SNPE accelerator. I know SNPE is already an accelerator, but sometimes things need to go even faster..

It runs on the local device, and caches a single model run. Then it replays it, but fast.

thneed slices through abstraction layers like a fish.

You need a thneed.