Commit Graph

1696 Commits

Author SHA1 Message Date
Dean Lee
47409ab4d4 ui: refactor CameraView to serve as a generic vision stream display class (#33457)
refactor transform
2024-09-10 11:53:10 -07:00
Shane Smiskol
606943010e Reapply "joystickd is a real process (#33490)" (#33514)
* Reapply "joystickd is a real process (#33490)"

This reverts commit c8465e3a21.

* catch this

* reset to 0 when unplugged

* catch this too

* pytest capturing breaks stdin (pytest -s) fixes
2024-09-07 17:03:22 -07:00
Adeeb Shihadeh
c8465e3a21 Revert "joystickd is a real process (#33490)"
This reverts commit 374246845c.
2024-09-07 09:28:16 -07:00
Shane Smiskol
374246845c joystickd is a real process (#33490)
* true joystickd

* temp params hack, manager clears all on start

* implement main, assume js

* works

* fix enable

* clean up

* like a real controlsd

* clean up

* fix mypy

* clean up

* update refs

* clean up
2024-09-06 21:58:45 -07:00
Shane Smiskol
eecac1069e joystickd: mapping for PC (#33500)
work on PC
2024-09-06 21:06:34 -07:00
Shane Smiskol
5521ab6d53 Joystick: utilize left/right trigger for gas/brakes (#33474)
* try

* clean up

* flip

* Update tools/joystick/joystickd.py
2024-09-04 14:29:52 -07:00
commaci-public
1e92af9b3c [bot] Update Python packages (#33436)
* Update Python packages

* bump

* specify any list of sources

ooh this is pretty nice

* update

* y

* fix

* fix that

* bump

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 239cc69a20b7d3c2f285bd1907cecad9c9604d50
2024-09-03 18:57:28 -07:00
Shane Smiskol
9da055853f LogReader clean ups (#33446)
* buggin me

* no caps

* remove at least one level of indirection

* no recursion, remove a bunch of junk

* default is now allfault ??

* back

* fix tests
old-commit-hash: 5796bf12b6dac4f3fc8e55ecd9785c73044d8a08
2024-09-03 18:34:18 -07:00
Shane Smiskol
730924e7f2 LogReader: formatting and remove unnecessary type alias
old-commit-hash: 34305bec091c1088249fe6fe8df8de64a7ce1f86
2024-09-03 17:58:50 -07:00
Adeeb Shihadeh
bd2b09c7b6 Deprecate controlsState state fields (#33437)
* Deprecate controlsState state fields

* sim works

* update refs

* one more

* these too

* update sim
old-commit-hash: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
Dean Lee
c8048d85e9 cabana: update event Handling from CONTROLS_STATE to SELFDRIVE_STATE (#33426)
check selfdrive_state
old-commit-hash: fdf6c9009cdc70bb1ce36fba461509a59e1be68b
2024-09-01 09:50:42 -07:00
Dean Lee
9fb50bd1c6 replay: migrate old ControlState event to new format during log file parsing (#33425)
Migrate Old ControlState Event to New Format During Log File Parsing
old-commit-hash: 6741877fbdfa638f392c488e82de001bbd6eafb7
2024-09-01 00:37:40 -07:00
Adeeb Shihadeh
1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803abc2a35f0260eec8976c487b877c694b
2024-08-31 18:48:17 -07:00
Shane Smiskol
aec6547cf1 joystickd: works with game controller on device (#33414)
* state what we support

* more

* wording
old-commit-hash: dae88e1ffb3e10170d8dcc3eed2683155ce597a2
2024-08-30 22:54:42 -07:00
Shane Smiskol
ae96713070 joystick: perform deadzone first
old-commit-hash: fc425042ab7d13939bf7aa053ddb7477d7ab8bd5
2024-08-30 22:30:49 -07:00
Maxime Desroches
6a36e1d05f reduce metadrive size (#33391)
* minimal

* uv.lock

* remove anisotropic filtering

* new wheel
old-commit-hash: 629dcdcfca5a408b3812b23198797a13367961b0
2024-08-30 20:08:03 -07:00
Shane Smiskol
b96b60fa6c joystickd: lower deadzone
old-commit-hash: 0a737d9a2e703b79a9fff83eb3847496323216b7
2024-08-30 18:42:28 -07:00
Shane Smiskol
13acd5c84f joystickd: non-linear response function
old-commit-hash: f037d2216aa343d4573cd56b32300c378bc61a60
2024-08-30 18:40:32 -07:00
Kacper Rączy
786aff27da azure_container: pass the filename explicitely when using get_url (#33407)
* Pass filename explicitely when using azure container

* Do not update segments in test_processes

* openpilotci_source_zst

* Fix static analysisc
old-commit-hash: b5958ebb600f503f585a1080236a0f26b4f5c6a0
2024-08-29 21:51:55 -07:00
Adeeb Shihadeh
4c8547cfe4 cleanup duplicate serial docs
old-commit-hash: d7f4fbc1c26a5fb23e2303b4fbf5ddb22fe852d6
2024-08-28 11:53:59 -07:00
Adeeb Shihadeh
11f2d56f5e ubuntu: remove extra packages
old-commit-hash: 5d3f8bb04b7cd7f83d1c20e6b579361b6e303615
2024-08-27 19:22:09 -07:00
Adeeb Shihadeh
55bae8feef openpilot isn't required for a car port PR (#33383)
* disable car docs diff

* mv routes.py

* bump opendbc
old-commit-hash: 48bceb2bbfcb8c096c6bf170114f2da0cd00b3bb
2024-08-26 17:12:01 -07:00
Hoang Bui
696d4c8450 sim: fix code formatting (#33381)
sim: fix code
old-commit-hash: f37ee559fa802a1178aa71057cbb2d9609b4ad45
2024-08-26 14:09:40 -07:00
Adeeb Shihadeh
9abd041b53 these have nothing to do with openpilot (#33369)
old-commit-hash: 73d9f6e05e354986b3fd225546e8aa1dbc58cf04
2024-08-23 21:24:04 -07:00
Maxime Desroches
8ff2785fb9 add back pre-commit hook (#33366)
* add pre-commit

* space

* post

* e
old-commit-hash: b87414c74971082a8af73d913441a00f90037798
2024-08-23 15:19:21 -07:00
Dean Lee
7098ddcd19 ui: remove QtQml and related dependencies (#33357)
* remove QtQml

* remove qtdeclarative5-dev
old-commit-hash: 4d9ee68d165fe47bd6c0f10851273cbf09ae1ac7
2024-08-23 10:56:31 -07:00
Dean Lee
d105d8b3fa scons: remove QtMultimedia lib and include path from build configuration (#33358)
remove multimedia
old-commit-hash: 61abc05c8b178436513f29fbffa19dd44091b44d
2024-08-22 19:44:59 -07:00
Hoang Bui
c2fbe69e9f rerun: adapt to the change in release of 0.18 (#33359)
old-commit-hash: 63992fd164a669ebc7bb71b64e0d2531e712c8a0
2024-08-22 14:01:43 -07:00
Sameh Mohamed
725a6fa998 Cleaning up README for tools directory (#33322)
cleaning up readme

Co-authored-by: Sameh <Sameh Mohamed>
old-commit-hash: 542f3d1b441d6373943289cd9505c4d59e050cb1
2024-08-17 15:37:06 -07:00
Shane Smiskol
4f019b5f60 move selfdrive/car to opendbc (#32630)
* move most of /car

* move some car tests

move some car tests

* fix selfdrive/car/tests

* fix selfdrive/controls tests

* fix the rest of the selfdrive tests

* bump opendbc

* fix all tests

* few more non-test references

* remove opcar and move docs to car

fix these debugging scripts

fix docs

* bump opendbc and panda

forgot panda
old-commit-hash: e735a7f3796e208cdc1ecc651ace09e1daf6009a
2024-08-17 00:54:51 -07:00
Adeeb Shihadeh
11986ddc7f rerun: update to 0.18 (#33316)
old-commit-hash: 4baf6c1be9b4e53ea0a6373d2ddfca4ba853f9f1
2024-08-16 10:46:26 -07:00
Maxime Desroches
d2f4135521 setup.sh: fix macOS path specification (#33311)
realpath and mac
old-commit-hash: 3e9b91a2acea31f025b3025720068bc9d7a0bb41
2024-08-14 21:49:32 -07:00
Maxime Desroches
f3cb2a3b66 op.sh: categorize commands (#33305)
names
old-commit-hash: f118d17659cfd57727a7bb48510b0a60c71b1237
2024-08-14 16:51:14 -07:00
Maxime Desroches
8c8a4b4961 replace python with python3 (#33303)
3
old-commit-hash: 406939b9c09c9f29526c18fe2f106c2059decf1e
2024-08-14 15:14:31 -07:00
Maxime Desroches
4ece8b6bb1 retry uv with cache (#33297)
try uv with cache
old-commit-hash: 2bc5d2b6351d82e3cb44379c7592e65bdd56c209
2024-08-14 12:11:39 -07:00
Maxime Desroches
786820953b lint.sh: check shebang format for bash + python3 (#33286)
lint shebang
old-commit-hash: 63a38dcd4d463bdee788baa10c15e25cdf726ef4
2024-08-13 21:47:20 -07:00
Maxime Desroches
c551f1d239 fix bash + python3 shebangs (#33287)
fix shebangs
old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
2024-08-13 21:22:13 -07:00
Maxime Desroches
1b73a341e4 op.sh: remove python version check (#33288)
python check
old-commit-hash: 96a658648de3f227dea7eba1d495ac1333d7b89e
2024-08-13 20:43:02 -07:00
Maxime Desroches
1c2b830650 op.sh: separate op.sh output from the real command (#33282)
border
old-commit-hash: 37e4a324541406bc6e006b8f3dc0eac2b05690c0
2024-08-13 15:15:19 -07:00
Adeeb Shihadeh
ac9370addc no more gh discussions
old-commit-hash: 82c2ec7208af2083c2a9f91eef3edf7682bc06e0
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: 118932acd3ba74cabcfeebd7993f94e5dcbbcda5
2024-08-11 15:10:14 -07:00
Maxime Desroches
17dfc2b45b op.sh: consistent naming (#33249)
name
old-commit-hash: ea05474df25b91fb2568c83ee18ea27d67327edd
2024-08-10 00:05:35 -07:00
Maxime Desroches
b53338bfd7 setup.sh: get full uname (#33248)
log
old-commit-hash: b9fe84f84d65c72c71a2223d4d3f07902187d95d
2024-08-09 23:21:45 -07:00
Maxime Desroches
5e990d4186 linux: setup panda + jungle udev rules (#33241)
* add rules

* allow failure on docker
old-commit-hash: 2ff051ba5321ba75096ef21be93c807679ab703f
2024-08-08 20:23:51 -07:00
Maxime Desroches
0cade54015 webcam: remove other cv2 usage (#33236)
av
old-commit-hash: a8c0c158adcc6c08dd83cbb1b8499ed468d3184f
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: 80653bfb591a3897f4bb3e59ed82e046812751cf
2024-08-08 16:32:02 -07:00
Hoang Bui
93e980b925 tools/rerun: Rerun 0.18 (#33188)
old-commit-hash: a604dcc524116047bce4fab9ea688030aa9f40cb
2024-08-08 14:30:14 -07:00
Hoang Bui
6a2b4dedfc tools/logreader: add desc arg to run_across_segments() (#33226)
old-commit-hash: 9e648e428da38eeb4b096e291129841bdb7d40e8
2024-08-08 07:51:14 -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
Adeeb Shihadeh
e9fdb9490d macOS: remove devcontainer recommendation
old-commit-hash: e9e2e97831e4281c34189574525aa99720936446
2024-08-06 12:58:17 -07:00