Commit Graph

1664 Commits

Author SHA1 Message Date
Jason Wen d35cdb510d
Sync: `commaai/msgq:master` into `sunnypilot/msgq:master`
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`

Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-08-03 21:22:09 -04:00
Adeeb Shihadeh 13511e383c
remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
2024-08-01 22:16:13 -07:00
Maxime Desroches d0671bda6d
op.sh: check for valid invocation (#33166)
no source
2024-08-01 13:44:57 -07:00
Shane Smiskol 7ee9d2d1b9
opendbc is a package (#33159)
* bump

* rename to opendbc_repo

add symlink

* bump

* fix cabana

fix cabana

* bump

* fix whitelist paths

bump

* bump to master

* remove trailing slash
2024-07-31 23:17:40 -07:00
Maxime Desroches 7bf912f407
op.sh: fix python version check (#33163)
fix check
2024-07-31 21:40:48 -07:00
Maxime Desroches 3e66827a85
setup.sh: work in non interactive mode (#33162)
* work without terminal

* failure message

* no if
2024-07-31 20:32:41 -07:00
Maxime Desroches 16ea2ff270
op.sh: call directly instead of sourcing (#33160)
no source
2024-07-31 19:37:06 -07:00
Shane Smiskol 7c112341c3
Reapply "update to new opendbc API (#32009)" (#33151)
This reverts commit ac130001cc.
2024-07-31 15:37:39 -07:00
Maxime Desroches bf003f2972
setup.sh: retry + timing (#33145)
* improve

* update readme

* stdin

* better

* allow non interactive

* specify dir
2024-07-31 10:42:08 -07:00
Shane Smiskol ac130001cc Revert "update to new opendbc API (#32009)"
This reverts commit 0dddc97dca.
2024-07-31 02:38:44 -07:00
Dean Lee 0dddc97dca
update to new opendbc API (#32009)
* use new opendbc api

* export pandad_python

* merge master

* merge master

* bump opendbc

* bump opendbc

* improve func

* keep interface unchanged

* fix test_car_interfaces

* bump opendbc

* bump opendbc

* fix test_models

* the interface now has to convert from can capnp to list, so we should include this time

* goes from ~210 to ~240 mean ms real time

* remoe busTime

* lowercase sendcan

* consistent msgtype

* bump

* bump

* not used in lat_mpc

* space

* bump to master

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-07-31 00:24:46 -07:00
Shane Smiskol 42f2601416
deprecate busTime (#33146)
* deprecate busTime

* bump

* do car can + more

* forgot some

* bump opendbc

* fix that too

* bump
2024-07-30 21:26:58 -07:00
Andrei Radulescu 4e73b76a12
fix multiprocessing issue with can_replay.py on macOS (#33139)
fix multiprocessing issue with can_replay.py on mac
2024-07-30 10:34:46 -07:00
Shane Smiskol dfd387520e
process replay: use zst (#33138)
* test

* update refs to zst

* update
2024-07-30 01:46:03 -07:00
Dean Lee ade13722cd
replay: add support for decompressing ZST log files (#32910)
* Add Support for Decompressing ZST Log Files

* 2 space and check magic number

* match BZ2

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-07-29 13:48:06 -07:00
Andrei Radulescu 7d6ff19dea
update mac_setup.sh brew install (#33131) 2024-07-29 13:46:13 -07:00
Jason Wen 447f76d9cf
ui: Split sunnypilot into its own classes 2024-07-29 06:40:35 -04:00
DevTekVE e24271aa2b
Processor definition check for __APPLE__ has a typo on replay (#32930)
(cherry picked from commit 3c74ad145e)
2024-07-29 06:20:37 -04:00
Maxime Desroches 583e89d3a4
remove cv2 usage (#33101)
remove cv2
2024-07-28 15:08:27 -07:00
Shane Smiskol 1b3b5ab758
use zstandard library (#33110)
* use zstandard

* run 10

* bye bye

* this was a little overzealous

* clean up
2024-07-28 02:03:47 -07:00
Maxime Desroches d7159cd3c7
op.sh: misc improvements (#33096)
* check for install

* venv

* build
2024-07-26 16:10:00 -07:00
Maxime Desroches eab9cd751c
op.sh: check submodules (#33095)
submodules
2024-07-26 15:28:13 -07:00
Adeeb Shihadeh 6b5f88a533
cleanup macOS dependencies (#33094) 2024-07-26 15:17:14 -07:00
Adeeb Shihadeh 00d9748d9a
op.sh: parallel submodule update 2024-07-26 15:08:36 -07:00
Adeeb Shihadeh d24b80fca4
remove body submodule (#33091)
* remove body submodule

* little more

* fix op
2024-07-26 14:40:14 -07:00
Maxime Desroches a1dce6ef47
op.sh: run pytest (#33090)
test
2024-07-26 11:34:36 -07:00
Shane Smiskol e68bb26e14
tools: keep re pattern file small (#33084)
remove bz2 from re file
2024-07-25 22:05:10 -07:00
Adeeb Shihadeh f39c5c22e8
remove opencv-python-headless (#33082) 2024-07-25 19:30:40 -07:00
Adeeb Shihadeh d128dbe27f
setup.sh: fast git clone (#33081)
* setup.sh: filter clone

* no submodules
2024-07-25 18:59:29 -07:00
Adeeb Shihadeh 8827067eae
op.sh: misc fixups (#33080)
* rm run

* little more

* lint

* one more lint

* cleanup
2024-07-25 18:21:42 -07:00
Maxime Desroches 02e30ac140
Update setup.sh 2024-07-25 16:59:42 -07:00
Maxime Desroches 3c192cbf88
op.sh: improvements (#33078)
improvements
2024-07-25 16:57:43 -07:00
Adeeb Shihadeh e5b803f28e
cleanup python dependencies (#33077)
* cleanup python dependencies

* fix ruff
2024-07-25 16:07:59 -07:00
Maxime Desroches 1989fbd4c4
Update setup.sh 2024-07-25 14:38:47 -07:00
Maxime Desroches 173a633a75
curl pc installer (#33072)
* setup

* curl

* usable right now

* op sim

* cleanup

* show cmd
2024-07-25 14:28:41 -07:00
Adeeb Shihadeh c8622c9553 mac's getting there 2024-07-25 14:27:29 -07:00
Maxime Desroches 6cdf2a1499
Update op.sh 2024-07-24 23:11:23 -07:00
Maxime Desroches 4ac938a578
op.sh: improvements (#33067)
* cabana

* pre-check

* cd

* change this

* fix

* fix install
2024-07-24 22:20:16 -07:00
Maxime Desroches 71ad5a8dee
op.sh: general improvements (#33062)
* color

* format

* dry

* unset

* venv

* search for openpilot

* linter

* replay
2024-07-24 14:49:35 -07:00
Shane Smiskol e38a1428aa
LogReader: support multiple log extensions in route (#33066)
* support rlog.zst

* TODO
2024-07-24 14:47:33 -07:00
Adeeb Shihadeh 31036771ee rerun: link to upstream issues 2024-07-24 12:11:20 -07:00
Maxime Desroches 18c310addf
Update op.sh 2024-07-23 23:04:42 -07:00
Maxime Desroches 3382002cd0
Update op.sh 2024-07-23 22:34:21 -07:00
Maxime Desroches f60dfd4dbb
op tool helper (#33053)
* op

* change this

* juggler

* options

* fix

* submodules

* typo

* venv

* clean + install
2024-07-23 21:47:07 -07:00
Maxime Desroches 1e9738131d
don't lock when installing python packages (#33051)
frozen
2024-07-23 14:52:08 -07:00
Hoang Bui 5e0aff92ae
tools/Rerun: Add video logging features (#32810)
* working

* multiprocessing

* fix that

* print services

* all services + fix

* less verbose

* start readme

* segment range

* cleanup

* update readme + fix bug in 'all'

* cleanup + update readme

* update readme

* cleanup

* cleanup

* rm frame_iter

* cleanup

* staticmethod

* proc kill

* split files

* fix range with hevc vids

* update reamde + add prompt

* readme

* readme

* readme
2024-07-22 12:05:03 -07:00
Kacper Rączy c96dbd5a0b
Fix msgq context overrides (#33014)
* Fix msgq context overrides

* Remove unneccesary changes

* add reset_context helper

* Remove redundant import
2024-07-18 20:19:39 -07:00
Shane Smiskol 35a4a773f1
Revert "selfdrive/car: ban imports from external modules" (#32993)
Revert "selfdrive/car: ban imports from external modules (#32973)"

This reverts commit 83d4623590.
2024-07-15 11:14:04 -07:00
Dean Lee 83d4623590
selfdrive/car: ban imports from external modules (#32973)
* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-07-15 11:12:24 -07:00
commaci-public dd2787b7a1
[bot] Update Python packages and pre-commit hooks (#32990)
* Update Python packages and pre-commit hooks

* fix ruff

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-07-15 17:29:57 +00:00