Commit Graph

1219 Commits

Author SHA1 Message Date
Justin Newberry
00302ba898 Simulator: fix metadrive tick frequency (#30043)
sim rate fix
old-commit-hash: 98451611be
2023-09-25 16:28:09 -07:00
Dean Lee
99f4592513 replay: fix missing events before INIT_DATA (#30039)
fix missing events
old-commit-hash: 2cca0cbde8
2023-09-25 15:16:41 -07:00
Justin Newberry
ed1987dc34 Tests: speedup replay test (#30037)
speedup
old-commit-hash: dd3cdbf4cc
2023-09-25 14:26:01 -07:00
Justin Newberry
48e2871d42 Simulator: passthrough BLOCK on launch script (#30040)
sim block passthrough
old-commit-hash: 51674f61c1
2023-09-25 13:44:26 -07:00
Adeeb Shihadeh
4d8bc1dfbf remove big gif file (#30029)
* remove big gif file

* remove
old-commit-hash: 045ed8a91e
2023-09-23 21:16:45 -07:00
Justin Newberry
a6c4108045 Simulator: improve carla experience (#29996)
* wip

* carla improvments

* reset that
old-commit-hash: 2132e2358d
2023-09-21 10:38:06 -07:00
Justin Newberry
0673347b3e Simulator: add reset hotkey (#29995)
add sim reset
old-commit-hash: 0857f4bb85
2023-09-20 17:28:41 -07:00
Justin Newberry
62d61e9b55 Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
old-commit-hash: 1f8ceb4ca1
2023-09-20 16:34:29 -07:00
Justin Newberry
a79bfe13bf Simulator: add metadrive as optional simulator (#29935)
* Add metadrive sim

* use monotonic

* don't use cuda if it's not available

* Cleanup metadrive patches

* PR suggestions

* fix typo
old-commit-hash: e02519bb71
2023-09-20 10:35:57 -07:00
Shane Smiskol
ff49167804 pj: fix CAN bus layout for test
old-commit-hash: 8b962479dc
2023-09-20 00:19:34 -07:00
Adeeb Shihadeh
69a1a7190c can debug pj layout
old-commit-hash: 165157748c
2023-09-19 21:25:20 -07:00
Justin Newberry
6d0672632b Simulator: fix controlsd mismatch (#29976)
fix controls mismatch
old-commit-hash: bee40de703
2023-09-19 12:51:54 -07:00
Harald Schäfer
e632d68888 setup README: Native on 20.04, WSL on windows, otherwise devcontainer (#29928)
* Main README: Webcam needs work, don't mention

* Update README.md

* Link to VSCode guide

* Update README.md

* Fix formatting

* Update README.md

* little more

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4b55d90af9
2023-09-18 19:01:32 -07:00
Dean Lee
ae0332d3db cabana/chart: add contex menu (#29957)
old-commit-hash: 50cca99e45
2023-09-18 16:14:54 -07:00
Dean Lee
dbc788a418 cabana: fix QMenu leak (#29956)
fix qmenu leak
old-commit-hash: a450eff89f
2023-09-18 11:25:35 -07:00
Dean Lee
e1df1cf15c cabana: add button to skip to the end of stream (#29953)
old-commit-hash: 6f9798745c
2023-09-17 15:20:21 -07:00
Kacper Rączy
4fd9b553be macOS: add prompt about support in setup script (#29939)
* Add prompt about the state of macos support in mac_setup

* Change words

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

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f0b8ecd14f
2023-09-15 19:05:32 -07:00
Justin Newberry
27cacb51d4 Simulator: cleanup in preparation for metadrive (#29903)
* sim bridge cleanup

* fix carla

* remove that exception

* pr cleanup

* update car in a thread

* more cleanup

* import sorting

* handle exits better
old-commit-hash: 7f6718a7cb
2023-09-15 14:02:09 -07:00
Dean Lee
9700838c6c cabana/chart: fix value overflow (#29924)
fix value overflow
old-commit-hash: 6a72d53296
2023-09-15 03:20:27 -07:00
Dean Lee
97aa8b0606 cabana: support ECU node names (#29897)
* support display&edit node name

* cleanup

* set validator for Node name

* modify validator to support multiple receivers

* set default to XXX in updateMsg

* add DEFAULT_NODE_NAME

* Update tools/cabana/commands.h

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c4df40a04a
2023-09-15 00:27:44 -07:00
YassineYousfi
eb7cad40dd framereader: add cache_dir argument (#29904)
* framereader: add cache_dir argument

* make it an env var
old-commit-hash: 880157f5a6
2023-09-14 14:36:32 -07:00
Justin Newberry
af2b9e744d test_replay: speedup by preventing multiple downloads (#29901)
* Demo route fixture

* fix tests

* demo route download

* remove iostream
old-commit-hash: 6666413626
2023-09-13 19:19:06 -07:00
Dean Lee
a1cb457f20 cabana: use QStaticText to boost rending performance (#29900)
use QStaticText to boost rending performance
old-commit-hash: 82452ec66b
2023-09-13 19:00:00 -07:00
Justin Newberry
e09216088e Simulator: launch simulator from any directory (#29910)
launch sim from any directory
old-commit-hash: a95c896b5f
2023-09-13 18:47:39 -07:00
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