Commit Graph

1195 Commits

Author SHA1 Message Date
Dean Lee
b43ea8de7b cabana: bug fixes (#29902)
* fix freq

* fix chart legend alignment issue
old-commit-hash: 0bd9df3193
2023-09-13 12:52:56 -07:00
Dean Lee
fd355cc2f2 cabana/chart: use different colors to distinguish similar signals (#29890)
* Use different colors to distinguish similar signals

* check hueF value

* lighter
old-commit-hash: 34f5cad4e7
2023-09-13 03:03:16 -07:00
Dean Lee
55a55aac6b cabana: mark the undo stack as clean after save as (#29898)
Marks the undo stack as clean after save as
old-commit-hash: 587f6ce0dc
2023-09-13 01:14:12 -07:00
Dean Lee
916f083499 cabana: improve precision of timeline (#29872)
old-commit-hash: d9f107a2c9
2023-09-12 19:49:59 -07:00
Dean Lee
6c389dee7e cabana: display warning if failed to write settings (#29873)
* display warning if failed to write_settings

* use Settings::filePath()
old-commit-hash: f63dc51284
2023-09-12 13:13:59 -07:00
Greg Hogan
b5375cc82d importing auth_config.py should not have side effects (#29893)
import should not create directory
old-commit-hash: 140a4ba558
2023-09-12 18:00:18 +00:00
Dean Lee
0d7e17c995 cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
old-commit-hash: 11d157369b
2023-09-11 22:56:40 -07:00
Kacper Rączy
07f9e986cd macos: link qt5 during setup (#29879)
* link qt5 or prompt user to unlink existing qt installation if needed

* change condition

* version detection fixes

* fix wording
old-commit-hash: 57f0c3b8d5
2023-09-11 17:00:08 -07:00
Adeeb Shihadeh
1f8459d285 use pytest for cpp tests (#29833)
* add pytest-cpp package (#29828)

* add pytest-cpp package

* disable for now

* use in ci

* use pytest cpp

* use my branch

* add missing tests

* that doesn't make sense

* it was merged upstream

* replace TEST_RLOG_URL with a publicly accessible url

* PR Cleanup

* assert instead

* update poetry lock

* add comment about  pytest-cpp

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 2c1dfc2f34
2023-09-11 14:01:50 -07:00
Dean Lee
5bac1f771c cabana: use applicationPath for settings (#29875)
old-commit-hash: 5e1b5b36e4
2023-09-11 13:18:40 -07:00
Angus Gratton
0987987f33 replay: Include cstdarg from util (#29871)
Fix compilation errors "use of undeclared identifier" for va_start & va_end.
old-commit-hash: 43210ca0e2
2023-09-11 08:01:07 -07:00
royjr
ed79ecff3c macOS: install gcc@13 to match panda requirements (#29868)
old-commit-hash: ece433f18e
2023-09-10 16:26:27 -07:00
Dean Lee
c7efe08e08 cabana: add comparision operator for CanEvent (#29864)
old-commit-hash: ef4c963c60
2023-09-10 16:09:22 -07:00
Dean Lee
b445d5e9ac cabana/Sconscript: add back dependency on #opendbc (#29832)
add dep on #opendbc
old-commit-hash: e9c1cf3b5a
2023-09-07 23:59:02 -07:00
Justin Newberry
dc6078a6c3 System: use paths for download folders too (#29818)
* use paths for download folders too

* trailing slash

* reset that
old-commit-hash: 73eda51a11
2023-09-07 12:49:03 -07:00
Dean Lee
2716ef3a23 cabana: speed up exit (#29813)
old-commit-hash: 74daab120d
2023-09-07 11:30:53 -07:00
Dean Lee
12e1815720 cabana: regenerate car_fingerprint_to_dbc when DBC files change (#29815)
old-commit-hash: 0f942a228d
2023-09-07 11:22:03 -07:00
Dean Lee
8673038aa1 cabana: fix stuck on exit (#29796)
fix ctrl+c can't exit when stream dialog displayed on startup
old-commit-hash: 7f23e69cb1
2023-09-06 10:34:15 -07:00
Dean Lee
87c8ec0e5c replay: fix concurrency issues (#29797)
fix concurrency issues
old-commit-hash: bbf133a2e5
2023-09-06 10:34:01 -07:00
Dean Lee
64c3dc5ad6 cabana: add empty check before insert events (#29798)
old-commit-hash: 60593660e6
2023-09-06 10:24:58 -07:00
Dean Lee
6394bf09d3 cabana: fix crash when no can events in the log (#29795)
fix crash when no events
old-commit-hash: 0afcf12368
2023-09-06 02:36:07 -07:00
Shane Smiskol
76322812b0 PlotJuggler: add control gains to longitudinal layout (#29794)
* add longitudinal control gains to long layout

* needless changes

* needless changes

* needless changes
old-commit-hash: 2c87cd24ce
2023-09-06 01:33:52 -07:00
Justin Newberry
3b91610c0b Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
old-commit-hash: 4e69937d0d
2023-09-05 16:33:26 -07:00
Justin Newberry
bd78ec0bce Sim: fix openpilot directory (#29754)
fix simulator
old-commit-hash: a774809fdb
2023-09-01 16:02:57 -07:00
Kacper Rączy
1e7947e6f9 body: make mic optional (#29746)
Only request for media that is available
old-commit-hash: 92a4c2f741
2023-08-31 20:07:56 -07:00
Justin Newberry
1cc555c37b Tests: expand temporary directory helpers for more directories (#29735)
* create helpers for testing

* document it

* fix other tests
old-commit-hash: 405d09714c
2023-08-31 14:00:31 -07:00
Justin Newberry
302a450a14 bump submodules (#29705)
* bump submodules

* bump rednose

* fix dockerfiles
old-commit-hash: 7a4eaeaf9f
2023-08-29 17:02:38 -07:00
Kacper Rączy
41fd8b51e7 macOS: generate .pyenvrc during setup (#29698)
* Create .pyenvrc if it does not exist

* Replace source zshrc with pyenvrc

* Remove unnecessary variables if pyenv wasn't installed

* Add check fo PYENV_SHELL

* source instead of eval

* printf instead of echo

* leave previous pyenvrc path to source

* Add newline

* Change shebang

* Dont source the file after setup

* eval virtualenv-init too

* modify comment

* Just unset broken function on macos
old-commit-hash: 39d2517d3d
2023-08-29 16:01:04 -07:00
Justin Newberry
279bd020dc Tests: logmessaged reduce global state (#29680)
* reduce global state

* use a decorator here too

* use that one

* use base imports

* ipchandler in setup

* move to common dir

* move to helpers

* wip

* fix the decorator
old-commit-hash: 5dc7028f91
2023-08-29 13:36:26 -07:00
Justin Newberry
b08c5d7517 Tests: test_caching reduce global state (#29681)
old-commit-hash: dd9b0231c6
2023-08-29 10:06:32 -07:00
Adeeb Shihadeh
cc29c6640d pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
old-commit-hash: 72e2e2c9ec
2023-08-28 10:26:19 -07:00
Justin Newberry
ffddeace6e CI: fix sim/docs scons cache invalidation (#29639)
* fix sim and docs images

* fix that

* that's a weird issue

* exists should work fine

* as little diff as possible
old-commit-hash: 5716dfc9b5
2023-08-27 19:52:38 -07:00
Dean Lee
c99c0b51e3 cabana/MessageListModel: replace match |= with match = match || (#29667)
old-commit-hash: 4f915f4f1a
2023-08-27 17:56:49 +01:00
Dean Lee
3d04606233 cabana: use a monotonic buffer to allocate CanEvent (#29652)
* use a monotonic buffer to allocate CanEvent

* set the next buffer size to 6MB

* static

* cleanup

* use const iter

* rename to insert_pos
old-commit-hash: 57ad4f02f8
2023-08-26 08:42:50 -07:00
Justin Newberry
643a13f27e CI: use local scons cache instead of building a separate image (#29634)
* use local

* added ci_sim

* revert scons

* dont need these anymore

* same for sim

* fix dockerfiles
old-commit-hash: c46965fc27
2023-08-25 16:06:17 -07:00
Dean Lee
7a1b7d4206 cabana: improve frequency accuracy (#29631)
* improve frequency accuracy

* apply review

* 2 less lines!

* another!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2484548fdd
2023-08-25 15:15:16 -07:00
Dean Lee
dbf03eb2c2 scons: fix always generating car_fingerprint_to_dbc.json (#29625)
old-commit-hash: 86386fd87f
2023-08-25 10:39:55 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
61cf541322 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
old-commit-hash: 4917e22615
2023-08-24 14:58:30 -07:00
Dean Lee
de809632bf cpplint: add filter whitespace/comma (#29595)
old-commit-hash: 7bfd3dac81
2023-08-24 10:42:06 -07:00
Dean Lee
0984736972 cpplint: add filter build/include_subdir (#29585)
old-commit-hash: 21da5a216f
2023-08-24 15:42:17 +01:00
Dean Lee
0702e273cb replay: fix visionbuf alignment on device (#26913)
* align visionbuf

* update test case

* cleanup

* fix cpplint warning
old-commit-hash: 3c94d953ab
2023-08-24 00:03:16 -07:00
Dean Lee
5f4b422305 cpplint: add filter whitespace/semicolon (#29568)
old-commit-hash: f203648de0
2023-08-23 15:00:30 -07:00
Dean Lee
db211ce617 cpplint: add filter whitespace/parens (#29565)
old-commit-hash: 5480d32bb5
2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
6b2ffe9490 bump cereal (#29561)
old-commit-hash: e726505918
2023-08-23 13:42:37 -07:00
Dean Lee
97e9d55588 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2023-08-23 13:25:17 -07:00
Willem Melching
6b98b83ad4 cabana: socketcan support (#27952)
* empty socketcan class

* works on linux with vcan

* add open stream widget

* fix MacOS build

* update readme

* unused

* no socketcan on C3

* fix in cabana sconstruct

* serial -> device
old-commit-hash: 2b0e4d46bb
2023-08-23 10:50:11 -07:00
Dean Lee
004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497
2023-08-23 10:13:46 -07:00
Robbe Derks
a04cbced36 Devcontainer (#29259)
* mvp devcontainer. builds, runs and UI works

* fix indentation

* enable color and fix openpilot_env path

* separate dockerfile for devcontainer

* use prebuilt image

* Fix openpilot_env setup

* Add dev container section in readme

* Fix typo

* Fix typo again

* Move dev dockerfile to .devcontainer dir

* Update README

* Add note about x11 forwarding on macos

* Update dev container json

* Fix typo

* Override DISPLAY on macOS

* Mention XAUTHORITY for macOS setup in README

* fix typo

* Add devcontainer CI test

* Rename to devcontainer

* Fix git issues

* ripgrep

* Link instead of vscode manual

* Replace raw path with containerWorkspaceFolder

* Fix typo

* Remove dev tools workflow

* Link away X11 forwarding setup isntructions for mac

* Remove fork consrtaint, add test run of scons

* Add submodules as safe.directories in postStartCommand

* Remove openpilot_env references

* Add scons cache volume

---------

Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1
2023-08-22 11:47:09 -07:00
Adeeb Shihadeh
b38403f2ca Revert Qt MOC hacks (#29528)
* Revert "CI: prevent moc from running in cache population step (#29401)"

This reverts commit 34634b95aa15dc608315016c40857f3e16ca4ff9.

* Revert "SCons: respect cache read only (#29437)"

This reverts commit 77cb4da6381fdf94ea98c55d6fcc30db4d24dcf6.

* don't change moc path
old-commit-hash: 91dc8457ae
2023-08-22 11:16:58 -07:00