Commit Graph

56 Commits

Author SHA1 Message Date
Adeeb Shihadeh
d5c951072b three way merge
old-commit-hash: 702c4392a448eff18eb64537fdf46e0741558b8b
2023-12-10 12:10:40 -08:00
Adeeb Shihadeh
7bbf0c072d helper script for fixing up repo size (#30028)
* small

* mv
old-commit-hash: f09ee083a24e9928f7b43c271bfb9bee1f07e7e4
2023-12-10 11:33:40 -08:00
Justin Newberry
12da944f1c jenkins: retry build_devel (#30628)
* will it work

* retry build devel

* correct p[ath

* try a failure

* Revert "try a failure"

This reverts commit ba4e6a0a2096b94887fcfbf7d011e34aa2a16c41.
old-commit-hash: 36bebb1aa064b4b40580aa48d35b21bd9ebe14c2
2023-12-06 17:22:32 -08:00
Logan Lasiter
4f1ed42285 adding --local-partial-types mypy opt (#30491)
old-commit-hash: 5b2bcf6bf220f88e11978e04a77226127b520efb
2023-11-18 22:47:11 -08:00
Adeeb Shihadeh
657d11b4a2 delete some old files
old-commit-hash: 1dd4ade1978fbf23ffc39da5fed19213e6b58b2a
2023-09-30 16:07:26 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Dean Lee
de809632bf cpplint: add filter whitespace/comma (#29595)
old-commit-hash: 7bfd3dac811ae95bfd09495e88377dfbaacda393
2023-08-24 10:42:06 -07:00
Adeeb Shihadeh
16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
51634f52dc replace custom clock helpers with time module (#29499)
* replace custom clock stuff wtih time module

* fix double

* fix release

* bump cereal

* update type

* fix one more
old-commit-hash: d61f86d3398900ef01423d24cfdf897392a8efbb
2023-08-20 18:50:58 -07:00
Justin Newberry
d487c0501f Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
old-commit-hash: 62c1e6592439119f360dd64b854e7047f35222ba
2023-08-11 15:33:49 -07:00
Justin Newberry
7d6d3dc9ea Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
old-commit-hash: af3ed37c5cd8823f793aec60e1c74760cf795bd9
2023-08-10 15:28:51 -07:00
Cameron Clough
db8cff7028 Partial revert "Update cell.sh (#27055)"
old-commit-hash: 0cbc996de8a460eafb1aac670ecf83572dc254f8
2023-07-03 08:04:18 -07:00
Michael G. Inso
cb2ae8ed62 Update cell.sh (#27055)
You can combine the two nmcli commands into a single command by specifying both ipv4 and ipv6 options at the same time.

You can use the nmcli command with the --wait option to wait for the connection to be fully established before exiting.

You can use nmcli command with the --ask option to prompt the user to confirm the action before proceeding.
old-commit-hash: f5d253764cc3219fae26361af07bf5de9bf94b0a
2023-01-23 09:49:48 -08:00
Shane Smiskol
984134be0e FPv2: fixed fingerprint overrides query result (#25990)
* query FW versions if fixed (override after)

* skip here

* also skip here

* and here
old-commit-hash: e7805eb5c54d336a93af730594ef1ccc725dad82
2022-10-06 15:24:52 -07:00
Adeeb Shihadeh
33508cd811 updated: clean untracked nested git repos (#25917)
* updated: clean untracked nested git repos

* ff all the cleans
old-commit-hash: 4e32387ce5b916df1a62ddb695c0cd10ba6f4f38
2022-09-28 16:33:42 -07:00
Adeeb Shihadeh
9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
Dylan Herman
2dfba97175 add mypy check for return-any (#24379)
* add mypy check for return-any

* remove unused import

* typing

* remove unnecessary variable typing

* cleanup

* cleanup

* bump submodules

* small fixes

* only a problem on mac

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c777ef6110c7a74d2a9ca9e4e1d958c
2022-05-12 14:59:00 +02:00
Shane Smiskol
10fb405bfa car info: function that sorts all car info into tiers (#24498)
* base function that returns all car info sorted by make model

* don't need to pass it in quite yet
old-commit-hash: dabcfd266e4e6e632064b592409fc63f543e5dbb
2022-05-11 15:59:08 -07:00
Adeeb Shihadeh
8bf3214ce3 cell testing script
old-commit-hash: 7bcecbfd0d1b3d5f47e263b86d64012f30944ab5
2022-05-06 11:20:04 -07:00
Adeeb Shihadeh
ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102558c6b94a0c1b7127596dab6f5b2d0
2022-05-05 19:42:18 -07:00
Comma Device
5a55e1bb79 launch corolla script for desk replay
old-commit-hash: aef61541e3f48d4713e528f849840b1104681c9b
2022-04-20 14:12:43 -07:00
Shane Smiskol
426a300c21 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 8375e717b563f7b4ecf009ffae00174de1a0b8e9.

* sort tier_car_info in place

* unused Tuple

* no type check

* fix script
old-commit-hash: 85d8997a8a66ef7652b1b186a72d9551292a24ad
2022-03-23 13:42:53 -07:00
Shane Smiskol
fbe4588771 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>
old-commit-hash: 99c02bdd29a7f9946b9ce3da69fa8f9daa6ad914
2022-03-18 17:47:43 -07:00
Adeeb Shihadeh
a6ed18a4f9 script to disable power save
old-commit-hash: d0060a9d9b56069eb53613f73abe6cfc6db33c12
2022-02-09 13:39:17 -08:00
grekiki
9e4cc1f7ff 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>
old-commit-hash: 6951b3271d1770297cb6bd53878463035ec0bf43
2021-12-03 22:57:19 -08:00
Adeeb Shihadeh
63f019e2ef script to apply patch from PR
old-commit-hash: 7237128a1d106ba1781cdcd33807ab155d875684
2021-11-28 13:33:57 -08:00
Adeeb Shihadeh
19c69ee0c2 nicer car count script
old-commit-hash: 1b800f4075e0e38bd3275c71833ab7ee5e331ec0
2021-11-18 20:56:20 -08:00
Willem Melching
0d035f6898 PyQt demo app (#21625)
* build python helpers lib

* call setMainWindow from python

* put in helper lib

* linter

* move to scripts
old-commit-hash: 25e4e94691d90f1a4496a2742c63ede108593e15
2021-10-29 12:37:17 +02:00
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