Commit Graph

1587 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1490a714a0 mvp of new docs.comma.ai (#32926)
* ssh docs

* strict

* need an index

* push to prod
old-commit-hash: f6189568eab0244ed792ef299fb781cc4c92fb9b
2024-07-08 16:55:16 -07:00
Hoang Bui
856e536aa8 CI: Compile openpilot on macOS (#32909)
* working

* cache

* bring back
old-commit-hash: 15d3397ec6d32bb4e3319ff615526b175b267949
2024-07-08 23:42:26 +00:00
Dean Lee
dbf095522f cabana: bug fixes and improvements (#32934)
bug fixes and improvements
old-commit-hash: 36815cc6d536ab8926f6335574ea587947c4e222
2024-07-08 14:50:31 -07:00
DevTekVE
a981c26ed7 Processor definition check for __APPLE__ has a typo on replay (#32930)
old-commit-hash: 3c74ad145e0145429d782219ac255a26aa2f6135
2024-07-08 17:10:26 +00:00
Dean Lee
7ca7f55530 cabana: improve signal view (#32893)
improve signal view
old-commit-hash: a8299ef800a569e22abab9eac68af70618311ea7
2024-07-03 15:32:15 -07:00
Dean Lee
6601133ad2 replay: handle route not found error with user warning message (#32895)
handle 404
old-commit-hash: 632c484dd5e1f18a6c63b7505bd773d448b86661
2024-07-03 15:27:54 -07:00
Shane Smiskol
5333e8ba20 LogReader: show total segment count in missing rlog prompt
old-commit-hash: 3e41b1b287c956ed17ab065cf4391aae05333e52
2024-07-01 22:43:48 -07:00
Maxime Desroches
8adfc992e3 fix pytest tests (#32867)
* fix tests

* no dot
old-commit-hash: 6f10b8a20989031d4cc04e8b8ce38eaea4a4824e
2024-06-28 23:58:19 +00:00
Maxime Desroches
bf892f6bcc uv: don't exit if update fails (#32859)
dont exit if fails
old-commit-hash: 66e1810c0de88f4b927b7a46d12ba96304052ace
2024-06-28 03:55:15 +00:00
Maxime Desroches
bc046a3074 retry uv update (#32858)
retry
old-commit-hash: 579b131a6efe67463d5b2d06abe743302c9cdc08
2024-06-28 03:29:11 +00:00
Maxime Desroches
43895b3098 uv: don't use cache (#32854)
* no cache

* update
old-commit-hash: a74f79421360b62840624bb84215981b51c6858d
2024-06-28 00:47:13 +00:00
Maxime Desroches
a1a0e9e8a0 switch to uv (#32853)
* switch to uv

* pin back numpy

* remove lock

* try without cache

* test with no cache

* no cache for all

* debug

* remove debug

* remove pygame dep

* Update README.md

* remove lower bound

* update repo maintenance job

* upgradable

* repo maintenance

* copy poetry api

* build system

* unpin pygame

* readd cache

* readd cache

* basic command

* lower delay

* macos

* fix authors

* macos fix

* use uv

* preview

* other way

* new metadrive

* uv sync

* cp lock in docker

* fix docker

* use hatchling

* fix devcontainer

* fix container

* path

* uv run

* cleanup

* pre-commit

* format

* release_file
old-commit-hash: 12d5afba731b193b6992304c9e31b87603602ae6
2024-06-28 00:04:05 +00:00
StefanLekanic-SYRMIA
5887093eed LogReader: print number of missing rlogs (#32830)
* count rlogs

* minimization changes

* cache to avoid duplicate checks

* no real point in checking qlogs to just show the warning

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 504dd4543dd7fd6c466817faa82cda42b6b55542
2024-06-26 22:15:13 -07:00
Maxime Desroches
42163dde76 ui: add missing qt package on 24.04 (#32827)
fix qml
old-commit-hash: 0922ab2b8ddbb38a8664bdb53bff063e3f018547
2024-06-25 02:11:35 +00:00
Dean Lee
26b02b2ed4 cabana: fixed row height issue in multi-line hex display (#32816)
fix multile line bytes
old-commit-hash: 8b7ffc96b5598327848e53d1a22400b0baed343f
2024-06-24 08:54:17 -07:00
Dean Lee
43197fb8e8 cabana: fix chart value tip flickers when the mouse moves over it (#32796)
fix chart value tip flickers
old-commit-hash: 5aac2e5a8973e6ed07005c5fe822df657def58ff
2024-06-21 13:29:40 -07:00
Dean Lee
1133898f68 replay: fix hangs on exit (#32795)
fix hang on exit
old-commit-hash: 776b08d561ebdfa9bd12e92b57ab0770f4a4b4a3
2024-06-20 00:16:14 -07:00
Adeeb Shihadeh
d152f7c0f1 remove nav apt dependencies (#32792)
old-commit-hash: 9a084a73c5c3e6386bc5f21c46062d46878f6ca2
2024-06-19 19:59:48 -07:00
Adeeb Shihadeh
80c83532e8 macOS: remove pyenv
old-commit-hash: 5341512fce3ed597498f51ee096a610e3fce0b8c
2024-06-19 19:49:49 -07:00
Adeeb Shihadeh
3b8ed67aa3 remove navigation (#32773)
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
old-commit-hash: e491c9d964a2aef07eeaa7b47f4aa9f992130482
2024-06-19 19:14:13 -07:00
Maxime Desroches
4558fbd824 Remove pyenv (#32786)
* no pyenv

* better

* check poetry

* docker

* syntax

* manual env

* pre-commit

* revert

* format
old-commit-hash: de75372880cb354df2bcb2e0f36e769213bf7072
2024-06-19 16:55:23 +00:00
royjr
5f0c5f5616 Ubuntu 24.04 fix setup (#32783)
* fix tk-dev

* fix missing pip

* Update tools/install_python_dependencies.sh

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 987b0d9e030ec2191e422e7ca8d059b8a02ef08a
2024-06-18 11:27:28 -07:00
Maxime Desroches
1b836bdb86 Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Maxime Desroches
5658a6a9ea cabana: include optional (#32772)
optional
old-commit-hash: 3de6ee5ee316980f2dfea5e59c7369ac1f0a83df
2024-06-17 20:24:04 +00:00
Dean Lee
d1cd5f7ad6 cabana: improved error messaging (#32768)
* check user authenrication

* Update tools/cabana/streams/replaystream.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 54da59c1feb917896538ce8aa22bf4f12af20824
2024-06-17 12:44:31 -07:00
Dean Lee
06aed0617a cabana: avoid dead locks and improve responsiveness (#32740)
avoid dead locks and improve responsive
old-commit-hash: 865b98a5c45335dcdf736ab38e89b5a1dcde2d59
2024-06-16 12:32:45 -07:00
Adeeb Shihadeh
c390a678e7 sim: remove docker script
old-commit-hash: 02ed9c584c7d04d53d3c0f0955e95ab2a58de5de
2024-06-16 12:20:15 -07:00
Shane Smiskol
9f50db15c0 LogReader: try zst on internal source (#32751)
* internal source list files like azure api

* messy but works

* no limit

* simpler

* clean up

* clean up

* clean up

* that's obvious

* better

* we need to unfortunately return a url, so best to take a naive approach for now

* todo

* fix

* clean up
old-commit-hash: b45caf403366ed4161516e49b9e433805d9de6c4
2024-06-14 01:12:19 -07:00
Shane Smiskol
644156420b LogReader: revert broken check
it returns files OR None

old-commit-hash: 68e22faa296d335f2d497c52339f536f761602c3
2024-06-14 00:30:14 -07:00
Harald Schäfer
47d5601d8a long control: new API (#32706)
* Simplify long control

* Seperate

* Rename

* Try new api for toyota

* rm v_pid everywhere

* No speed in reset

* 0 is better default

* unassigned variable

* Update other cars

* Update gm

* SIMPLIFY

* simplify more

* fix API boundry

* Fix stopping bug

* Small fixes

* Update ref
old-commit-hash: bc303df6a0a4a9d52a2e92e5976b6c7aa5138b95
2024-06-14 00:08:58 -07:00
Dean Lee
a854878499 cabana: Fix visibility issue for a single data point in series (#32749)
Fix visibility issue for a single data point in series
old-commit-hash: 38529c5057a6146768a71654a05e5c552695d805
2024-06-13 23:38:02 -07:00
Shane Smiskol
8f402f29a3 SegmentRange: remove timestamp (#32750)
* add deprecation warning

* remove timestamp

* Update logreader.py
old-commit-hash: d5ce4b308588f2bd4eee300110ddcd66e787a110
2024-06-13 23:19:32 -07:00
Shane Smiskol
cd8d440c86 LogReader: support reading zst logs from Azure (#32745)
* staging api

* other stuff

* ugh this should really not be duplicated, we already check the max segnum in Route class

* better error message!!

* more better

* clean up

* clean up

* breaks again
old-commit-hash: a0bbc005b62f1e6183ce4fd167e78b4fedb06df0
2024-06-13 22:43:24 -07:00
Shane Smiskol
ed80e9357a LogReader: improve error messages (#32747)
* better error messages

* clean up
old-commit-hash: 3ede1e2a7c850622beef2549315f320aa018105a
2024-06-13 22:37:00 -07:00
Shane Smiskol
e88cbb0162 add zstd Python library (#32731)
* add zstd

* fix

* uploader

* logreader: zst support

* caps

* only logreader
old-commit-hash: 04a93dd849461df7a3496706c6172d95e83149c9
2024-06-12 21:14:23 -07:00
Dean Lee
450d012166 logreader.py: optimize event loading and sorting in _LogFileReader (#32729)
* improve logfilereader

* less changes
old-commit-hash: c64bca97bac68462a63b47d33aedf869d21ac97e
2024-06-12 14:20:06 -07:00
Adeeb Shihadeh
632060c0dc remove .python-version (#32714)
* remove .python-version

* no cp
old-commit-hash: ddfb31f1bfa241aee1c250f5da5f2d364c51f610
2024-06-11 16:25:24 -07:00
Mauricio Alvarez Leon
008008b03a Update to Python 3.12 (#32548)
* 3.12

* pprofile is broken

* use modified metadrivepy3-12

* 0.3.0 metadrive

* add metadrive/commaai git dependency

* metadrive git set

* pin sounddevice 0.4.6

* datetime.utcnow() deprecation

* poetry lock

* make datetime not aware

* poetry lock

* pin pytools

* google_crc32c wheel

* unpin sounddevice

* clean metadrive

* use python crc

* mypy

* 3.12.4

* allow python3.11

* test

* no pip

* poetry

* better

* better

* merge

* remove

* try

* test

* try  this

* snok

* python

* simpler

* setuptools

* lower

* try

* try

* work?

* ubuntu deps

* ubuntu

* try

* remove

* move

* remove this

* names

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* python<4

* <3.13

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6c9b23cdd346e926f58fad61f79ff1d
2024-06-11 20:45:15 +00:00
Andrei Radulescu
5ef789daf5 compressed_vipc.py fixes (#32699)
* Restored VISION_STREAM_* to original index order

* Register exit handler
old-commit-hash: 4581f6c36812c535b3e63b258296ed920fb486e6
2024-06-11 07:57:56 -07:00
commaci-public
0ee93c6a90 [bot] Update Python packages and pre-commit hooks (#32682)
* Update Python packages and pre-commit hooks

* fix linter

* poetry lock

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 71063d66cd526bf1e498618e1aec3440736ab5b7
2024-06-10 17:19:01 -07:00
Hoang Bui
c34f76bc1a tools/rerun: correct reset to defined default blueprint (#32692)
old-commit-hash: 1e3d62c88a9805de6799f742ca4998b36b5e51e8
2024-06-10 16:58:51 -07:00
Harald Schäfer
7e4edcc8d5 MSGQ refactor: cleanup outstanding issues (#32685)
* Rm sim dockerfile from bad merge

* Add watch back

* Fix watch3 compilation
old-commit-hash: 1b2bd205b81bb473bbe176b58250fe038963d1f6
2024-06-10 13:18:47 -07:00
Harald Schäfer
05ed3d8c15 Restructure msgq (#32652)
* Update ref

* Compiles

* compiles

* Refactor rest of libs

* import all

* small fiex

* cleanup import

* Need msgq simlink too

* Add to openpilot docker too

* try repo

* Updates

* Fix lint

* fix docs

* Try blank slate

* Revert "Try blank slate"

This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.

* Maybe scons needs this to clear cache

* fix tests

* Disable test for now

* Update SConstruct

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Fix whitespace

* Write skip normal

* small fixes

* add test path

* Revert repo

* linting

* whitespace

* Bump msgq

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Harald Schäfer
eb2e5e335d Sim: don't need nvidia docker anymore (#32676)
Dont need nvidia docker anymore
old-commit-hash: b573a4cc48e4508a37f01a800b09b1fa8895d367
2024-06-09 14:49:20 -07:00
Dean Lee
40de8d615f replay: add stop() function (#32673)
add stop() func
old-commit-hash: 3f84fe3557099ba74895241e8f4059b1001cd6ec
2024-06-09 11:04:21 -07:00
Dean Lee
8bdeb04e72 cabana: fix potential dangling pointer Issue (#32672)
Fix Potential Dangling Pointer Issue
old-commit-hash: 6688d7b91c2ee6fad93d292edc0661a4522e9b10
2024-06-09 11:04:10 -07:00
Adeeb Shihadeh
8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf1387df07e76da55d3e332170d9e756f0
2024-06-08 09:18:28 -07:00
Harald Schäfer
f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Dean Lee
958bdeda8a cabana: stop stream thread before exiting main event loop (#32634)
stop stream thread before exiting main event loop
old-commit-hash: 1d61f320a8dafc067efdf3dcc68653c8fc5dee60
2024-06-05 08:49:58 -07:00
Adeeb Shihadeh
2c6829ed67 boardd is pandad (#32628)
* boardd is pandad

* rename tests
old-commit-hash: 34e329649d7a388d4cd1f25dac9dda9d5409bf4a
2024-06-04 19:16:55 -07:00