Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd660815
2024-08-13 21:22:13 -07:00
Shane Smiskol
b97ed10ea1
Car interface clean up ( #33290 )
...
* remove some defs
* now carstate
* remove carControl from CI update function
* almost merged that
* and that
old-commit-hash: 65fccbf756
2024-08-13 21:16:39 -07:00
Kacper Rączy
80bc61dc6c
controlsd: use livePose ( #33283 )
...
* Pose calibrator
* Fix static analysis
* Fix static
* Fix test_latcontrol
* Fix test_latcontrol
* Update services in process replay
* Fix static
* Matmul not mul
* Add assertion
* Move pose calibration to data_sample
* Update ref commit
* Remove llk from cycle alerts
* Deprecated nogps event
* Switch power_draw to lp
* Bring back noGps alert
* Add handling code back
* get_bool
* Bring inputsok back
old-commit-hash: 9734015bbb
2024-08-13 21:11:16 -07:00
Maxime Desroches
1b73a341e4
op.sh: remove python version check ( #33288 )
...
python check
old-commit-hash: 96a658648d
2024-08-13 20:43:02 -07:00
Shane Smiskol
e46d96bb11
Move events out of car interfaces ( #33280 )
...
* chrysler down
* honda and ford
* we can pass the class for this
* do the rest
* clean that up
* remove EventName
* fix CI
* move smallest bodies to top
* rm todo
* eps_timer_soft_disable_alert is too ingrained in carcontroller
* re-did everything w/ no diff (except just passing cereal instead of class)
old-commit-hash: cf39cc823a
2024-08-13 20:40:36 -07:00
Shane Smiskol
6a15aa3f8c
interfaces: assume CarState is instantiated ( #33284 )
...
test to make sure mock doesn't crash!
old-commit-hash: 3d2fbe9aa3
2024-08-13 19:36:21 -07:00
Maxime Desroches
1c2b830650
op.sh: separate op.sh output from the real command ( #33282 )
...
border
old-commit-hash: 37e4a32454
2024-08-13 15:15:19 -07:00
Maxime Desroches
74d5352cb4
metadrive: use main branch ( #33278 )
...
use main branch
old-commit-hash: 4cb1c665e0
2024-08-12 16:58:11 -07:00
Shane Smiskol
7b4a538eaa
fix fingerprint debug scripts ( #33277 )
...
* fix fp debugging
* fix these
old-commit-hash: 90ce7781f4
2024-08-12 15:41:08 -07:00
Shane Smiskol
7a4b2b5c44
[bot] Fingerprints: add missing FW versions from new users ( #33276 )
...
Export fingerprints
old-commit-hash: 4618e8c124
2024-08-12 12:41:14 -07:00
Maxime Desroches
7d0f683b1c
ci: merge python packages and python submodules bump ( #33274 )
...
merge packages and python submodules
old-commit-hash: 8515ac1764
2024-08-12 11:49:21 -07:00
commaci-public
81a2849d56
[bot] Bump submodules ( #33271 )
...
bump submodules
Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 5bc5b213a0
2024-08-12 11:40:50 -07:00
commaci-public
31c739389a
[bot] Update Python packages ( #33272 )
...
Update Python packages
Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 308000dd82
2024-08-12 10:19:30 -07:00
Shane Smiskol
11c9105a60
carState: add invalid sensors field ( #33266 )
...
* add to CS
* add vehicleSensorsInvalid to CarState
* fix ord
* clean up
old-commit-hash: 7ec9986340
2024-08-11 23:12:42 -07:00
Shane Smiskol
988d16a4c8
remove map from ui preview ( #33265 )
...
* rm map from ui preview
* fix
old-commit-hash: 4e122ed2d1
2024-08-11 21:54:40 -07:00
Shane Smiskol
ff1bb1a926
Update ui_preview.yaml
...
old-commit-hash: 96a4877e9f
2024-08-11 21:01:13 -07:00
Shane Smiskol
d18a0868c6
move the body events to card ( #33262 )
...
* move the body events to card
* rm import
old-commit-hash: 093c09a737
2024-08-11 20:25:08 -07:00
Shane Smiskol
e4cdccb7fd
Revert "spinner: fix missing colon in QProgressBar border style" ( #33263 )
...
Revert "spinner: fix missing colon in QProgressBar border style (#33258 )"
This reverts commit 3ba8a152cc8326306640c7acf307ceb385f7a4e8.
old-commit-hash: d330358728
2024-08-11 20:24:43 -07:00
Shane Smiskol
b014b1cc90
Fix some car typing ( #33256 )
...
* ??
* fix these
* more typing and some fixes
* fix
* rm this for now
* fix
old-commit-hash: 2dab8b31f2
2024-08-11 19:12:46 -07:00
Adeeb Shihadeh
ac9370addc
no more gh discussions
...
old-commit-hash: 82c2ec7208
2024-08-11 15:48:22 -07:00
Jimmy
937ed5f700
Add testing closet to LogReader source ( #33242 )
...
* add testing closet to logreader source
* check source availability
* use internal_source_available
old-commit-hash: 118932acd3
2024-08-11 15:10:14 -07:00
Dean Lee
056426a674
spinner: fix missing colon in QProgressBar border style ( #33258 )
...
fix border style
old-commit-hash: 85d8d0eddd
2024-08-11 10:22:52 -07:00
Shane Smiskol
162436088f
move capnp CarParams decoding out of car_helpers ( #33251 )
...
* move capnp byte decoding out of car_helpers
* always wanted to type this
* and process replay
* this does nothing
* might as well
old-commit-hash: ee62b9c88b
2024-08-10 00:06:56 -07:00
Maxime Desroches
17dfc2b45b
op.sh: consistent naming ( #33249 )
...
name
old-commit-hash: ea05474df2
2024-08-10 00:05:35 -07:00
Shane Smiskol
7dd22b9567
Honda: round minEnableSpeed correctly ( #33250 )
...
round to even
old-commit-hash: 4300f37cc4
2024-08-09 23:42:40 -07:00
Maxime Desroches
b53338bfd7
setup.sh: get full uname ( #33248 )
...
log
old-commit-hash: b9fe84f84d
2024-08-09 23:21:45 -07:00
Hoang Bui
025395ca43
tools/sim: resolve import error on MacOS running Metadrive ( #33244 )
...
fix dynamic lib linking on mac
old-commit-hash: c06d975ec4
2024-08-09 23:12:40 -07:00
Adeeb Shihadeh
ac6956a651
tici: new updater build ( #33246 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1b554b488e
2024-08-09 14:30:28 -07:00
Adeeb Shihadeh
ee777a7e75
Update CONTRIBUTING.md
...
old-commit-hash: 4d0b54e80b
2024-08-09 11:02:18 -07:00
Maxime Desroches
5e990d4186
linux: setup panda + jungle udev rules ( #33241 )
...
* add rules
* allow failure on docker
old-commit-hash: 2ff051ba53
2024-08-08 20:23:51 -07:00
Maxime Desroches
0cade54015
webcam: remove other cv2 usage ( #33236 )
...
av
old-commit-hash: a8c0c158ad
2024-08-08 16:35:30 -07:00
Maxime Desroches
b5a58ca715
op.sh: fix venv on zsh + bash 3.2 ( #33238 )
...
* i love zsh
* check
old-commit-hash: 80653bfb59
2024-08-08 16:32:02 -07:00
Hoang Bui
93e980b925
tools/rerun: Rerun 0.18 ( #33188 )
...
old-commit-hash: a604dcc524
2024-08-08 14:30:14 -07:00
Dean Lee
fcba77b59e
pandad: move getenv check to global scope ( #33235 )
...
move getenv check to global
old-commit-hash: ad33cae40e
2024-08-08 08:45:03 -07:00
Hoang Bui
6a2b4dedfc
tools/logreader: add desc arg to run_across_segments() ( #33226 )
...
old-commit-hash: 9e648e428d
2024-08-08 07:51:14 -07:00
Shane Smiskol
a7db075f08
selfdrive/car: generic CAN send/receive callbacks ( #33215 )
...
* start
* hmm API doesn't seem great
* better
* rm line
* sendcan -> can_send callable for best static type coverage, list -> tuple msg
TODO: logcan
* more sendcan -> can_send references
* remove pandad's capnp from selfdrive/car
* fix and remove cereal from test_can_fingerprint
* test_fw_fingerprint: remove pandad, less cereal
* comment done too
* better comment
* fix test_models test
* niceeee it works
* move to can_definitions
* can't come up with a better name :(
* I think we can remove SimpleNamespace soon
* fix test_can_fingerprint.py
* maintain previous behavior
* Revert "maintain previous behavior"
This reverts commit f848fd3213
.
* can test comment
* no need for get_one_can now!
* big clean up: no SimpleNamespace
* now self explanatory!
* not needed
* use empty can again since this is now real
* cmt
old-commit-hash: 9880b1393c
2024-08-07 23:49:25 -07:00
Shane Smiskol
8131716c9e
CAN fingerprinting: count empty CAN packets as frames ( #33232 )
...
* content of can packet won't affect can fingerprint time
* remove get_one_can
* fix comment
* actually we still want to be able to send empty can (xx fingerprint func does this if it runs out of msgs)
* fix process replay
old-commit-hash: 87f183f43c
2024-08-07 23:12:47 -07:00
Shane Smiskol
c1084b3df3
selfdrive/car: rm make_can_msg ( #33231 )
...
* rm make_can_msg
* fix
old-commit-hash: bd4f0cec18
2024-08-07 21:58:16 -07:00
Maxime Desroches
90451d86f7
op lint: specify tests to run ( #33229 )
...
args
old-commit-hash: 40e54a3b4f
2024-08-07 20:58:59 -07:00
Maxime Desroches
49ab9876fa
static_analysis: use 24.04 for everyone ( #33227 )
...
* noble
* test it
* Revert "test it"
This reverts commit 393868bf5f
.
old-commit-hash: eb50f5cae8
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: f8f6c39915
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 4deb38d4ed
.
* common
old-commit-hash: 51bd368214
2024-08-07 16:12:00 -07:00
Maxime Desroches
b63698c376
more codespell errors ( #33223 )
...
more spell
old-commit-hash: 184519834c
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: ba7a60c5a2
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: 3af774725f
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: 30467b44cd
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: 10f27a6a1b
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: 8d961a12e5
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: a4de8739e9
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: fb560e81ef
2024-08-06 17:27:02 -07:00