Commit Graph

32 Commits (master)

Author SHA1 Message Date
Shane Smiskol 85d8997a8a
docs: support for automatically generating website vehicles page (#24020)
* add vehicles.vue template

* add original vue file

* stash

* stash

* clean up a bit

* add template for now

* implement footnotes and tier copy

* no more generator

* convert to 2 spaces

* should work, now onto vue

* does GH handle this html well?

* fix

* auto-generate descriptions and make tiers' maps non-str

* remove old files

* move template specific variable into templates, should be a bit simpler

* js template is simplier too now

js template is simplier too now

js template is simplier too now

* add video links from the nice car_info

* make rows attributes

* clean up

* fix

* remove template

* experiment with video links in GH

add image

how does this look?

fix

* Revert "experiment with video links in GH"

This reverts commit 8375e717b5.

* sort tier_car_info in place

* unused Tuple

* no type check

* fix script
2022-03-23 13:42:53 -07:00
Shane Smiskol 99c02bdd29
Car ports: update PR template (#23996)
* update text for docs generator

* use docs.py

* Update .github/pull_request_template.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-18 17:47:43 -07:00
Adeeb Shihadeh d0060a9d9b script to disable power save 2022-02-09 13:39:17 -08:00
grekiki 6951b3271d
Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

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

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-03 22:57:19 -08:00
Adeeb Shihadeh 7237128a1d script to apply patch from PR 2021-11-28 13:33:57 -08:00
Adeeb Shihadeh 1b800f4075 nicer car count script 2021-11-18 20:56:20 -08:00
Willem Melching 25e4e94691
PyQt demo app (#21625)
* build python helpers lib

* call setMainWindow from python

* put in helper lib

* linter

* move to scripts
2021-10-29 12:37:17 +02:00
Adeeb Shihadeh 3ab2d29fb8 fix count cars script 2021-09-15 11:31:45 -07:00
Adeeb Shihadeh 082bbc9d27 add switch to master script 2021-09-14 16:27:11 -07:00
Adeeb Shihadeh 84b3c56925 remove old scripts 2021-08-17 17:07:45 -07:00
Adeeb Shihadeh 8fdbbdef73
remove oneplus camera params (#21047)
* remove oneplus camera params

* align
2021-05-26 17:46:43 -07:00
Adeeb Shihadeh f98049a0ef script for pushing to PRs 2021-04-11 16:31:04 -07:00
Adeeb Shihadeh 41a92b434f script to count cars in the readme 2021-03-30 14:01:58 -07:00
Adeeb Shihadeh 263d23ff3c fix up waste script 2020-12-18 16:12:58 -08:00
Adeeb Shihadeh 3b8ca39554 already prepped 2020-12-16 20:41:08 -08:00
George Hotz a14ce09018
More governance work, fix thneed (#2610)
* more governance work

* fix thneed on qcom2

* waste doesn't OOM

Co-authored-by: Comma Device <device@comma.ai>
2020-11-23 17:52:28 -08:00
George Hotz 917eff8c30
New settings for governors, +30% memory bandwidth (#2590)
* new settings for governors, +30% memory bandwidth

* CPU waste is better

* warm up frame_drop

* optional CORE arg for rtshield

* back off priorities of processes not critical to driving

* if it doesn't drive, it's not realtime

* err, resource. this should have been included

* reverse order to not spike

Co-authored-by: Comma Device <device@comma.ai>
2020-11-20 19:25:12 -08:00
Comma Device 98f891a259 do the average correctly in waste 2020-11-20 23:05:03 +00:00
Comma Device d341fe0240 waste prints memory bandwidth 2020-11-20 22:54:05 +00:00
Comma Device 7bfaf4cc4e waste can become memory bound 2020-11-20 22:26:32 +00:00
Comma Device 2a40e38b13 update waste for variable cores 2020-11-19 01:30:01 +00:00
Adeeb Shihadeh ebab660622
rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
2020-09-16 17:42:37 -07:00
George Hotz 8c4c8e6bbe update code stats script 2020-08-22 14:48:01 -07:00
Adeeb Shihadeh efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Adeeb d9bf9f0a40
Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
2020-05-30 20:14:58 -07:00
Willem Melching bd06434243
pre-commit pylint (#1580)
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
-  pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344

* add pylint to pre-commit and make everything pass

* Remove uncommented stuff

Co-authored-by: J <user@4800.lan>
2020-05-27 20:00:14 -07:00
Adeeb 008700a6b3
LGTM fixes (#1480) 2020-05-09 16:40:43 -07:00
William aef01f4bdf
Shebang Fix (#1477)
* Shebang Fix

Per George's "I'd merge a PR replacing the 4 python3.7 with python3" on Discord. George updated Python to 3.8.2 for webcam tools, which broke manager from launching. Instead of chasing the exact version, it seems more reasonable to fall back to 3.

* More Python3.7's
2020-05-08 18:08:11 -07:00
George Hotz 1295cfe06c
Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 12:07:34 -07:00
George Hotz 9ba20fa21a add code stats 2020-04-24 09:56:12 -07:00
George Hotz 8db0993663
tici: add (somewhat) broken camerad support (#1300)
* capnparm

* building in progress

* scons build works

* that script fixes opencl

* start new camera code

* includes and more camera scripts

* control c works now

* no device control yet

* phy too

* just one camera for now

* fix capnparm

* hmm, the inits are needed

* more cameras

* link stop start

* doesn't work yet

* fix ion on qcom2

* start poll ish

* 4 pictures and done

* no jpeg

* it works to picture

* destroy sync obj

* both work for now

* defined QCOM2

* fix fd leak

* run modeld

* 10 bit mode

* real frame stride

* needs digital gain

* dnew

* no color correcting on new

* that snpe doesn't work

* qcom2 gate

* cleanups

* oops, fix aarch64 detector

* update cereal

* modeld works with SNPE

* fix driver monitoring model

Co-authored-by: Tici <robbe@comma.ai>
2020-03-31 16:34:55 -07:00
George Hotz d4d57ed7fe bring over scripts 2020-01-17 10:41:41 -08:00