Commit Graph

13606 Commits

Author SHA1 Message Date
Maxime Desroches
49ab9876fa static_analysis: use 24.04 for everyone (#33227)
* noble

* test it

* Revert "test it"

This reverts commit 393868bf5fd14a0afaa6d2b05f632c76f9b52213.
old-commit-hash: eb50f5cae82f9501bb15cfcc1ccb81656de20991
2024-08-07 20:22:22 -07:00
Maxime Desroches
5b82b7c65e op.sh: lint (#33217)
* redo

* better

* fix this

* clean everything

* all files

* test

* debug

* get info

* revert

* only good files

* allow skip

* also this

* help section
old-commit-hash: f8f6c399158651f72fa78b0a2dc518f5bd5fbc23
2024-08-07 17:23:33 -07:00
Shane Smiskol
7f4f1d4c5f make_can_msg: returns tuple (#33222)
* bump

* make_man_msg returns tuple

* fix CI.update typing

* bump

* better name

* Revert "better name"

This reverts commit 4deb38d4ed99e43721960f69da1dd46a1069eb42.

* common
old-commit-hash: 51bd3682148ce7a00ac76281d76c278716a1c24a
2024-08-07 16:12:00 -07:00
Maxime Desroches
b63698c376 more codespell errors (#33223)
more spell
old-commit-hash: 184519834c99291ddbaa0f92842bda3ab89d797d
2024-08-07 16:02:09 -07:00
Shane Smiskol
54d10c2aa3 remove CAN capnp conversion from car interfaces (#33218)
remove pandad from interfaces
old-commit-hash: ba7a60c5a20c5f252bc89ba3e2559edf5ab65c59
2024-08-07 00:05:32 -07:00
Maxime Desroches
dbccf5c922 Revert "pre-commit: bring back some checks (#33196)" (#33216)
This reverts commit 4b356147185aa1d772947e4ec7b54a3e6e523f9d.
old-commit-hash: 3af774725f568ab2289fed92b820e89929950136
2024-08-06 21:48:56 -07:00
Maxime Desroches
5baf136b11 pre-commit: bring back some checks (#33196)
* add this

* add this

* nice ...

* 120

* remove

* no remote

* 0

* this

* no submodules

* like this

* try this

* validate

* like this

* split

* pass files

* no par

* check exist

* no build

* fix

* 24.04

* default

* test failure

* continue

* actually fail

* clean

* import

* fix

* line

* mypy

* clean

* simpler

* final

* better

* final clean

* not true
old-commit-hash: 30467b44cd82973576c8073136dede6aa2fa60f0
2024-08-06 21:39:18 -07:00
Shane Smiskol
3a3e57bc94 selfdrive/car: ban the rest of the external imports (#33214)
more bans
old-commit-hash: 10f27a6a1b70f9012fbf71b92e47ae06801afc98
2024-08-06 20:59:59 -07:00
Shane Smiskol
d8f56b30b5 selfdrive/car: ban common (#33210)
* ban all of common & copy numpy_fast

* add numpy_fast

* these are okay

* and ban controls

* better name

* Conversions

* do utils, kalman

* clean up

* sorting

* don't forget
old-commit-hash: 8d961a12e5b033855f2abf5d8bd9c51374f74c6e
2024-08-06 20:45:11 -07:00
Dean Lee
04b0871c45 pandad: refactor to consolidate threads, keep only one can_send thread (#32680)
* single thread

improve comment

* Keep can_send() running in a separate thread

* send send_peripheral_state in pandad_run

* new PandaSafety class
old-commit-hash: a4de8739e97b4d5d4b1f2fe2f6739ed90338dead
2024-08-06 20:04:17 -07:00
Dean Lee
7003776265 pandad: assemble capnp message using separate functions (#33189)
Assemble capnp message using separate functions
old-commit-hash: fb560e81ef8c0de16234f96831164d8b987eaf18
2024-08-06 17:27:02 -07:00
Adeeb Shihadeh
7b5d3dbbca sensord: error -> warning for expected failures
old-commit-hash: 16c36b0d8b26d5589ac2378fabf8620a58fa4f9c
2024-08-06 17:25:03 -07:00
Adeeb Shihadeh
caaddfa7b2 docs: add #current-projects link
old-commit-hash: ec9149c20e98adac0312331d7c71b9f091a370a1
2024-08-06 16:43:57 -07:00
Shane Smiskol
6376e4d6a6 add exception for body
old-commit-hash: 1c770c4ed7c9d752aadb032a25b150f104b0b404
2024-08-06 16:37:44 -07:00
Shane Smiskol
2c49f6b20d selfdrive/car: ban selfdrive/controls (#33211)
ban controls (VM isn't used anymore)
old-commit-hash: 6c837332ea9ae854caf4f7747d3ef84101cd93c6
2024-08-06 16:36:38 -07:00
Hoang Bui
83cbd93d3b tools/rerun: new image API for rerun 0.18 (#33186)
* change api for video

* install prerelease 0.18
old-commit-hash: 5909bcde62d0a007669098ad9f650cf67c09f174
2024-08-06 14:22:25 -07:00
Shane Smiskol
ce7c2488b5 add back lint-imports (#33202)
add back
old-commit-hash: 3d02c0300145c956b7bde31af7eb5ef6654fff8c
2024-08-06 13:43:04 -07:00
Adeeb Shihadeh
e9fdb9490d macOS: remove devcontainer recommendation
old-commit-hash: e9e2e97831e4281c34189574525aa99720936446
2024-08-06 12:58:17 -07:00
Comma Device
41c9dd38eb tici: update spinner and text
old-commit-hash: 33bf4bbb13ee7fbaebe8a4efe500b75ebdcf86f7
2024-08-06 11:51:17 -07:00
Shane Smiskol
c0f721180f get_car: returns just CI (#33204)
just return CI
old-commit-hash: d00a53983089be6bed0e037474abfea823f2fc3e
2024-08-06 00:30:25 -07:00
Shane Smiskol
1a74993ee2 selfdrive/car: ban params (#33198)
* ban params too with a callback

* all sorts of messed up

* use cloudlog

* consistent order

* order

* better type hint

* format

* this is a bit nicer

* hmm

* fix PLR1704

* no carvin

* fix process replay
old-commit-hash: 5a1596a32299d6f78d89c89469ab6893b8d5e083
2024-08-06 00:10:53 -07:00
Shane Smiskol
59b2f1f511 fingerprinted: log platform string
This does get safely converted to a string in the logs, but in the console it's the repr
old-commit-hash: d1140cc6440c9dba795743dd0f0b82915879fbb7
2024-08-06 00:08:39 -07:00
Shane Smiskol
a1c2971f13 selfdrive/car: OBD callback (#33200)
* finish

* pass empty cb

* last fix!

* i keep messing this up

* even more coverage!

* not needed
old-commit-hash: 86aeb123bcdac9544db046a2db7e2974b5a687e1
2024-08-05 23:30:52 -07:00
Shane Smiskol
6fc4328de4 fix build
old-commit-hash: 04b636e3f224b9572eca1fcc0fe080c4545c74ab
2024-08-05 23:08:41 -07:00
Shane Smiskol
3df0a1ebbf remove CarVin parameter
old-commit-hash: 87c6afccf71788ba58685f43d967290816d4dfbf
2024-08-05 22:31:04 -07:00
Shane Smiskol
9e4a7484be remove unnecessary debugging function from car_helpers.py (#33199)
* format

* better better

* huh
old-commit-hash: 5c1e111d8a8476a2bddaeee29fcaca1c2c38f609
2024-08-05 21:27:43 -07:00
Shane Smiskol
c45e72dd2f remove more car import exceptions (#33193)
* remove another exception (remove mention of events from car stack)

* guess this should've been here all along

* reorganize exceptions

* fix
old-commit-hash: 06216d43bbd0926cfd89c91c43cfc0cf9247c324
2024-08-05 17:27:28 -07:00
Adeeb Shihadeh
fc469e5f80 Revert "Remove setproctitle (#32716)" (#33195)
* Revert "Remove `setproctitle` (#32716)"

This reverts commit 9020d1931f4cd72f8162e4402278bdf76e3746f2.

* uv lock

* old name
old-commit-hash: 29b58d4f2fcc982d5c06ed8391e368b1b293a96c
2024-08-05 16:42:22 -07:00
Maxime Desroches
df13b36638 fix all codespell issues (#33194)
* bring back

* remove 2020 dictionary
old-commit-hash: 44c7144e1c5f5aa66596c8d240b64827148b960d
2024-08-05 15:25:02 -07:00
Maxime Desroches
10af4af68f setup.sh: metrics (#33175)
* save

* add sentry

* clean

* real sentry

* default

* true

* remote this
old-commit-hash: c7cf6f6568b3cf163fc0ffa9b1e01a5aaf87a913
2024-08-05 14:07:57 -07:00
Shane Smiskol
550178261a [bot] Fingerprints: add missing FW versions from new users (#33191)
Export fingerprints
old-commit-hash: 7a7200cbdadba2c33d9c561a90259e7f458bfc1b
2024-08-05 13:29:14 -07:00
Shane Smiskol
cfc2cda37c separate car logger forwarded to cloudlog (#33170)
* car logger

* try this

* fix double printing!

* clean up

* need to import where we actually use it (card won't be in submodule)

* NullHandler does not forward everything properly, need propagate=False to stop root logger from printing

* card is staying

* set up

* forward
old-commit-hash: 12a7b7f7fb1d3a275314b0232795942a7ff3b955
2024-08-05 12:31:31 -07:00
commaci-public
8bf177ece0 [bot] Bump submodules (#33184)
bump submodules

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 4706d9e2d1fbd458b88aa0103bbd8dc4a4e31125
2024-08-05 12:18:28 -07:00
commaci-public
0907814b1b [bot] Update Python packages (#33185)
pin numpy :(

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 3b3ffb7b2b783dcdc23bcbae20b155378a96417a
2024-08-05 10:35:58 -07:00
Adeeb Shihadeh
f2299dfcb2 back to pypi casadi (#33182)
old-commit-hash: 8e0a4f2faf9db787affe2bcd053d81119018cd73
2024-08-04 16:13:18 -07:00
Adeeb Shihadeh
fe4ab0a22d bounties.md moved to the project README
old-commit-hash: c8d8db5947375483ec60a773daff234a9777e4e8
2024-08-04 15:51:12 -07:00
Adeeb Shihadeh
f46fc7d7e4 op: simpler examples
old-commit-hash: 3fd4b2f67666ced6e2fab4843e438135558de942
2024-08-04 11:07:08 -07:00
ugtthis
b6ddc8d6cc Docs: curl command updated (#33180)
old-commit-hash: e1a493e13b389315b442ce8455f6212164103222
2024-08-04 06:57:42 -07:00
Adeeb Shihadeh
ca0cc203d4 rerun: misc fixups
old-commit-hash: 54cd2a6ed2a07d6bb1065180a93ebc8bf2726a8e
2024-08-03 21:14:48 -07:00
Dean Lee
ad42551437 camerad: encapsulate cl_command_queue in ImgProc (#33178)
move cl queue to imgproc
old-commit-hash: 8f9b165de8be31b8c68dfa31e7f6a036107aa2e4
2024-08-03 14:57:26 -07:00
Adeeb Shihadeh
139f4034a8 Revert "uploader.py: simplify clear_locks by using rglob (#32974)"
This reverts commit 870f5cbeb39fa63829e6f3a64fa8df57e82d52c3.

old-commit-hash: 9474523addb78d3b16a72949c6d85c4059fffa92
2024-08-03 12:12:42 -07:00
Dean Lee
7fcba71725 uploader.py: simplify clear_locks by using rglob (#32974)
simplify clear_locks
old-commit-hash: cafca4f89176855585835ff7c67dea5a9b08ca23
2024-08-02 13:40:57 -07:00
Dean Lee
74a9e64c2c modeld: remove redundant pred_mu assignment (#33152)
remove redundant pred_mu assignment
old-commit-hash: 2cd9975e4fe31bf89cdbf41d3d5db02f519a2718
2024-08-02 13:40:33 -07:00
Dean Lee
7adc4219f0 camerad: update frame msg related variable types to uint64_t for consistency (#33113)
Update frame_msg related variable types to uint64_t for  type safety
old-commit-hash: c40d129f70338674302116cfdde129ba6511a920
2024-08-02 12:57:29 -07:00
Adeeb Shihadeh
e2e271950f Update stale.yaml
old-commit-hash: 19dec54f65459b619f9a726c7ca6ecb96f6067ea
2024-08-02 12:55:04 -07:00
Dean Lee
2a16a305b3 camerad: move do_exit to camera_qcom2.cc (#33086)
move do_exit to camera_qcom2.cc
old-commit-hash: 8ab587d30b461cf52844a351b912e3560b9dcbcd
2024-08-02 12:18:10 -07:00
Dean Lee
c92010d0ac params: wrap fsync and close in HANDLE_EINTR for robustness (#33154)
Wrap fsync and close in HANDLE_EINTR for Robustness
old-commit-hash: ea5ee29ebddf0a17bd884f23de6b6a5a288ebd10
2024-08-02 12:16:24 -07:00
Dean Lee
b12b30c328 camerad: encapsulating event management within the ImgProc Class (#33119)
Encapsulating Event Management Within the ImgProc Class
old-commit-hash: 2189164d455aba0c72192881bef43a1cee8f3d3b
2024-08-02 12:16:04 -07:00
Dean Lee
d802a423a6 loggerd: Initialize atomic variables to zero (#33130)
Initialize atomic variables in LoggerdState to zero
old-commit-hash: 8f3fc699d4e06811fd29fbf64fe89032cce563b9
2024-08-02 12:01:56 -07:00
Adeeb Shihadeh
1feb6d671a remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
old-commit-hash: 13511e383c1679d17843e8cbf1bcb0a926f74c35
2024-08-01 22:16:13 -07:00