Commit Graph

1638 Commits

Author SHA1 Message Date
Maxime Desroches 319c2dc3e1 op.sh: fix python version check (#33163)
fix check
old-commit-hash: 7bf912f40740b4cca62ddc65bd82700615636550
2024-07-31 21:40:48 -07:00
Maxime Desroches ea71f07ea7 setup.sh: work in non interactive mode (#33162)
* work without terminal

* failure message

* no if
old-commit-hash: 3e66827a8501c792fde66f16c65e5297ab51fa2d
2024-07-31 20:32:41 -07:00
Maxime Desroches 0d9b5627f2 op.sh: call directly instead of sourcing (#33160)
no source
old-commit-hash: 16ea2ff270165e027370ddff67952b46404d01fb
2024-07-31 19:37:06 -07:00
Shane Smiskol 799fabd707 Reapply "update to new opendbc API (#32009)" (#33151)
This reverts commit f2f01e3afaeaa267af61c8d7ab918da04d3411f2.
old-commit-hash: 7c112341c358b57ee9d0209cb2b2c53383adcca9
2024-07-31 15:37:39 -07:00
Maxime Desroches 3e12f385d5 setup.sh: retry + timing (#33145)
* improve

* update readme

* stdin

* better

* allow non interactive

* specify dir
old-commit-hash: bf003f297239afd75889814da0aa9d53ab0101a1
2024-07-31 10:42:08 -07:00
Shane Smiskol 2c11e7b49a Revert "update to new opendbc API (#32009)"
This reverts commit d21755b2e216c3f547db0b55b7088357c4368801.

old-commit-hash: ac130001cc83734118524f59a83a96a2065dd56e
2024-07-31 02:38:44 -07:00
Dean Lee 2f1ee6e832 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>
old-commit-hash: 0dddc97dca8bf4e023b29c35cb92fd3dd0a9a3a2
2024-07-31 00:24:46 -07:00
Shane Smiskol 5cc7d1c36b deprecate busTime (#33146)
* deprecate busTime

* bump

* do car can + more

* forgot some

* bump opendbc

* fix that too

* bump
old-commit-hash: 42f2601416bcb53c25e24b899131e66ee00177b8
2024-07-30 21:26:58 -07:00
Andrei Radulescu 7f53342993 fix multiprocessing issue with can_replay.py on macOS (#33139)
fix multiprocessing issue with can_replay.py on mac
old-commit-hash: 4e73b76a12f867dc7a831e811c33a8458e705f4c
2024-07-30 10:34:46 -07:00
Shane Smiskol 7ce33fbe2b process replay: use zst (#33138)
* test

* update refs to zst

* update
old-commit-hash: dfd387520e88fa68f0485b6ce8dcf5befa82bafa
2024-07-30 01:46:03 -07:00
Dean Lee 55ccea2c52 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>
old-commit-hash: ade13722cd10261696c7b49e7a6e4f6d65f1b74e
2024-07-29 13:48:06 -07:00
Andrei Radulescu 0fe0c601b1 update mac_setup.sh brew install (#33131)
old-commit-hash: 7d6ff19dead7a9bee819a143eb4c8a929a9e28fd
2024-07-29 13:46:13 -07:00
Maxime Desroches 144e9e271c remove cv2 usage (#33101)
remove cv2
old-commit-hash: 583e89d3a4f912911df2f1350cb109baa16c9f22
2024-07-28 15:08:27 -07:00
Shane Smiskol 7b67994a05 use zstandard library (#33110)
* use zstandard

* run 10

* bye bye

* this was a little overzealous

* clean up
old-commit-hash: 1b3b5ab75857465f58ec8a687db04c8ee0470e05
2024-07-28 02:03:47 -07:00
Maxime Desroches f933404ce6 op.sh: misc improvements (#33096)
* check for install

* venv

* build
old-commit-hash: d7159cd3c77cbb8eba6c347090780f49e6104cb5
2024-07-26 16:10:00 -07:00
Maxime Desroches 3a7e9b2a92 op.sh: check submodules (#33095)
submodules
old-commit-hash: eab9cd751c99a0a5046cfb31711daab145f164b2
2024-07-26 15:28:13 -07:00
Adeeb Shihadeh 8f98c76b3d cleanup macOS dependencies (#33094)
old-commit-hash: 6b5f88a5332b42ceed96e2669208c690f4fde303
2024-07-26 15:17:14 -07:00
Adeeb Shihadeh 63f630a98a op.sh: parallel submodule update
old-commit-hash: 00d9748d9a4cead5c9e968fa9fb607fbf74955e4
2024-07-26 15:08:36 -07:00
Adeeb Shihadeh a2667533c9 remove body submodule (#33091)
* remove body submodule

* little more

* fix op
old-commit-hash: d24b80fca4e554325fe455ac2ea2cfbaafe570e8
2024-07-26 14:40:14 -07:00
Maxime Desroches 8af6320ddc op.sh: run pytest (#33090)
test
old-commit-hash: a1dce6ef475c69e446ab1ce13f1aadb26092804c
2024-07-26 11:34:36 -07:00
Shane Smiskol 539c828861 tools: keep re pattern file small (#33084)
remove bz2 from re file
old-commit-hash: e68bb26e14d4e85f61ab3f58ac9667ca9d6ea565
2024-07-25 22:05:10 -07:00
Adeeb Shihadeh 488e08507a remove opencv-python-headless (#33082)
old-commit-hash: f39c5c22e80740700aa3c9bd8cba2a684903e9d2
2024-07-25 19:30:40 -07:00
Adeeb Shihadeh b6f9ab20a0 setup.sh: fast git clone (#33081)
* setup.sh: filter clone

* no submodules
old-commit-hash: d128dbe27f9a4b87f6f37d68b22e0a385cf29d70
2024-07-25 18:59:29 -07:00
Adeeb Shihadeh 630f460442 op.sh: misc fixups (#33080)
* rm run

* little more

* lint

* one more lint

* cleanup
old-commit-hash: 8827067eaeba384722066caeeee4a35f30026d07
2024-07-25 18:21:42 -07:00
Maxime Desroches a7ea42c4ea Update setup.sh
old-commit-hash: 02e30ac14053212436ea5129030742a8c7dfe3fb
2024-07-25 16:59:42 -07:00
Maxime Desroches 5ca7e0bc30 op.sh: improvements (#33078)
improvements
old-commit-hash: 3c192cbf88f1272622dcf7428fbb8624edb02689
2024-07-25 16:57:43 -07:00
Adeeb Shihadeh 81ca279fb9 cleanup python dependencies (#33077)
* cleanup python dependencies

* fix ruff
old-commit-hash: e5b803f28eb3c63105c3560b2fe07b5fddffbee6
2024-07-25 16:07:59 -07:00
Maxime Desroches 3c0aac0315 Update setup.sh
old-commit-hash: 1989fbd4c4a40188fbb673d2f5e1dd467d255ad5
2024-07-25 14:38:47 -07:00
Maxime Desroches 8b1766caa0 curl pc installer (#33072)
* setup

* curl

* usable right now

* op sim

* cleanup

* show cmd
old-commit-hash: 173a633a75692ae104fa9c6e99501fec4df9ebb7
2024-07-25 14:28:41 -07:00
Adeeb Shihadeh fbdb5f3495 mac's getting there
old-commit-hash: c8622c9553d02486ddea43810e428bce6414ed5d
2024-07-25 14:27:29 -07:00
Maxime Desroches b6881ce161 Update op.sh
old-commit-hash: 6cdf2a1499885acec46d77498e96cad0f972592b
2024-07-24 23:11:23 -07:00
Maxime Desroches bc8e1101b3 op.sh: improvements (#33067)
* cabana

* pre-check

* cd

* change this

* fix

* fix install
old-commit-hash: 4ac938a578e68c88e39b73fa35024a4320557f64
2024-07-24 22:20:16 -07:00
Maxime Desroches 79b9f0b185 op.sh: general improvements (#33062)
* color

* format

* dry

* unset

* venv

* search for openpilot

* linter

* replay
old-commit-hash: 71ad5a8deef595d3e0cb01d3e8a4d8ced1ae5085
2024-07-24 14:49:35 -07:00
Shane Smiskol 309ccf6482 LogReader: support multiple log extensions in route (#33066)
* support rlog.zst

* TODO
old-commit-hash: e38a1428aa20aad134b4ad9fd1abab33a1de70b9
2024-07-24 14:47:33 -07:00
Adeeb Shihadeh f22ef8fc5a rerun: link to upstream issues
old-commit-hash: 31036771ee8ba71e3fbe7c7f08aad3b5be0127e6
2024-07-24 12:11:20 -07:00
Maxime Desroches d33651d662 Update op.sh
old-commit-hash: 18c310addf7e19688f6cfc4530026b281ac7e75f
2024-07-23 23:04:42 -07:00
Maxime Desroches 4dbf2cd002 Update op.sh
old-commit-hash: 3382002cd03604710f39d01f19a37f4bb66b7cdf
2024-07-23 22:34:21 -07:00
Maxime Desroches 870a213e6b op tool helper (#33053)
* op

* change this

* juggler

* options

* fix

* submodules

* typo

* venv

* clean + install
old-commit-hash: f60dfd4dbb5d33bb1ec36c550742d185e2c4bf78
2024-07-23 21:47:07 -07:00
Maxime Desroches e34c6db18c don't lock when installing python packages (#33051)
frozen
old-commit-hash: 1e9738131d7737cbc9af161cf829c83c67577970
2024-07-23 14:52:08 -07:00
Hoang Bui 41ee057acd 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
old-commit-hash: 5e0aff92ae24952bfb13271c7875e89487da5b31
2024-07-22 12:05:03 -07:00
Kacper Rączy 4efe8d8118 Fix msgq context overrides (#33014)
* Fix msgq context overrides

* Remove unneccesary changes

* add reset_context helper

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

This reverts commit c1e8ff2dbc47ccb07fb41a4e88bfb66af2669254.
old-commit-hash: 35a4a773f1ff6c7b171b7acdb2fd4a65279edebd
2024-07-15 11:14:04 -07:00
Dean Lee 58df39a2ba selfdrive/car: ban imports from external modules (#32973)
* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 83d4623590f87dcb7df2b458a8814d5ad6ea711b
2024-07-15 11:12:24 -07:00
commaci-public daf3d15d72 [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>
old-commit-hash: dd2787b7a1f2ebb6f71eb3a667848db6caa9963c
2024-07-15 17:29:57 +00:00
savojovic 6766df5f38 Replace ui.py with a Rerun visualizer (#32850)
* Replace ui.py with rerun

* Visualizing radarpoints

* Visualizing all points

* Code clean-up

* Merging matrices into one

* Removing pygame depndency

* Replacing ui.py with rp_visualization.py

* Minor fix, changing color names

* Update README.md
old-commit-hash: 75b07c042f09f39275452df84c5dfd46e2f4e7f0
2024-07-13 13:36:21 -07:00
Dean Lee 76b55d39d7 cabana: update README (#32965)
improve README
old-commit-hash: 32a5cfd84c804b671c54688120265b436610d7a9
2024-07-12 16:42:45 -07:00
Dean Lee cb80c49b5a replay: update README (#32966)
update README
old-commit-hash: f1416f337cbf40c11de88903e13177f9f54dc544
2024-07-12 16:42:10 -07:00
Andrei Radulescu 656b72ee2d start for curl openpilot.comma.ai | bash (#32967)
* initial setup.sh for curl|bash

* --single-branch for faster pull and some final instructions

* fix git lfs pull
old-commit-hash: 122a7f2f0f6b0db435118e7f3e997c1528c8d8aa
2024-07-12 16:32:04 -07:00
Dean Lee 283574f334 cabana: fix wrong file path handling for recent files menu (#32969)
fix lambda
old-commit-hash: e3e54fb28bad2e4848d9f3a510be8a45d9bd6ffa
2024-07-12 10:38:07 -07:00
Jason Young d7f77d0dc7 Improved PlotJuggler layout for lateral accel torque controller (#32949)
* improved PlotJuggler layout for lat accel controller

* help estimate steerActuatorDelay

* update Actuator Performance, add Vehicle Dynamics

* disable Y limits on actuator performance because sunny

* apply delay estimation feedback from harald

* gc extra custom series that PJ copied in

* label wordsmithing
old-commit-hash: e36ff90996ca55ae80530f9e6e436da58d0b7c89
2024-07-10 15:10:42 -07:00