Commit Graph

27 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2ded81d455 fix count cars script
old-commit-hash: 3ab2d29fb8d14b04567941c130e878ab1995b907
2021-09-15 11:31:45 -07:00
Adeeb Shihadeh
c3b925685c add switch to master script
old-commit-hash: 082bbc9d2733f125b7cea03f7be338eb9df6f353
2021-09-14 16:27:11 -07:00
Adeeb Shihadeh
f0d8b215bd remove old scripts
old-commit-hash: 84b3c56925f5637a46e4e59c644bdb3032033598
2021-08-17 17:07:45 -07:00
Adeeb Shihadeh
39d83ba32c remove oneplus camera params (#21047)
* remove oneplus camera params

* align
old-commit-hash: 8fdbbdef73809d69622a1046c693c144167e5b9a
2021-05-26 17:46:43 -07:00
Adeeb Shihadeh
a2cd7bfdeb script for pushing to PRs
old-commit-hash: f98049a0ef21a3196a5c0e520517bf8d799debe1
2021-04-11 16:31:04 -07:00
Adeeb Shihadeh
b1bdd26d2a script to count cars in the readme
old-commit-hash: 41a92b434f6bd5d14c4e6d79a4c83211faf299de
2021-03-30 14:01:58 -07:00
Adeeb Shihadeh
0ed4f89d06 fix up waste script
old-commit-hash: 263d23ff3ccc827af9e11797f81600ddcadbf3c6
2020-12-18 16:12:58 -08:00
Adeeb Shihadeh
84e8eb4191 already prepped
old-commit-hash: 3b8ca395543e7ab04691e8f695bdb8b283aa9187
2020-12-16 20:41:08 -08:00
George Hotz
55df5b0ddf 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>
old-commit-hash: a14ce090184af790d7e677b1f0a1107c7ade8a34
2020-11-23 17:52:28 -08:00
George Hotz
6b32f79ae6 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>
old-commit-hash: 917eff8c30895e85943ec0a8c735e91088dbda85
2020-11-20 19:25:12 -08:00
Comma Device
fc8b7c6c6c do the average correctly in waste
old-commit-hash: 98f891a259db0fbf12a5df86917d30e62e5f8219
2020-11-20 23:05:03 +00:00
Comma Device
5aa898ef30 waste prints memory bandwidth
old-commit-hash: d341fe0240f3acae2904a922a092790c767dd78b
2020-11-20 22:54:05 +00:00
Comma Device
cdb2650b18 waste can become memory bound
old-commit-hash: 7bfaf4cc4e64e7e24119ac6c2ef457c173f967be
2020-11-20 22:26:32 +00:00
Comma Device
5d2946ce92 update waste for variable cores
old-commit-hash: 2a40e38b13b0ada94dcc516bd11b3a107e3f1729
2020-11-19 01:30:01 +00:00
Adeeb Shihadeh
2f8213f997 rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ebab66062248012fe6c1a25a6d789297849cb868
2020-09-16 17:42:37 -07:00
George Hotz
d3b9aff4e2 update code stats script
old-commit-hash: 8c4c8e6bbee7cc73a94a566e2a89829e737ddc52
2020-08-22 14:48:01 -07:00
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
5e857427ba 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
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
Willem Melching
c0866d9edb 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>
old-commit-hash: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Adeeb
64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
2020-05-09 16:40:43 -07:00
William
798e1a8908 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
old-commit-hash: aef01f4bdfc03929a7ad046e867ef975f81b7b59
2020-05-08 18:08:11 -07:00
George Hotz
6fbcde48e5 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>
old-commit-hash: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
George Hotz
024ab45c18 add code stats
old-commit-hash: 9ba20fa21a9b966695199ae4e822d2421dbb4300
2020-04-24 09:56:12 -07:00
George Hotz
f5078e87bc 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>
old-commit-hash: 8db0993663d7f16cddde00a2dfac8347a152b34e
2020-03-31 16:34:55 -07:00
George Hotz
2abfa3b321 bring over scripts
old-commit-hash: d4d57ed7feec9e6c0bc797d66be7a5b303e79831
2020-01-17 10:41:41 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98
2020-01-15 14:05:04 -08:00