Commit Graph

1219 Commits

Author SHA1 Message Date
Justin Newberry 00302ba898 Simulator: fix metadrive tick frequency (#30043)
sim rate fix
old-commit-hash: 98451611be260a0404069aa6c24e2a0cf032dbd7
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: 2cca0cbde814cba19b187447a76498d231b27ade
2023-09-25 15:16:41 -07:00
Justin Newberry ed1987dc34 Tests: speedup replay test (#30037)
speedup
old-commit-hash: dd3cdbf4ccbe473319ed1b0966463aff128de912
2023-09-25 14:26:01 -07:00
Justin Newberry 48e2871d42 Simulator: passthrough BLOCK on launch script (#30040)
sim block passthrough
old-commit-hash: 51674f61c17be3e4af4af28156eb6868655863b3
2023-09-25 13:44:26 -07:00
Adeeb Shihadeh 4d8bc1dfbf remove big gif file (#30029)
* remove big gif file

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

* carla improvments

* reset that
old-commit-hash: 2132e2358deb451bd7412fc4f9a5a7620ec09bfd
2023-09-21 10:38:06 -07:00
Justin Newberry 0673347b3e Simulator: add reset hotkey (#29995)
add sim reset
old-commit-hash: 0857f4bb85e166da5858820321d2e1e1caef7dff
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: 1f8ceb4ca15b2aa71d88e74c7df54519ed5968e9
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: e02519bb71beb4bf1f6b7f5def5a077886e00327
2023-09-20 10:35:57 -07:00
Shane Smiskol ff49167804 pj: fix CAN bus layout for test
old-commit-hash: 8b962479dc4fdf6b577af988a6270b6850161217
2023-09-20 00:19:34 -07:00
Adeeb Shihadeh 69a1a7190c can debug pj layout
old-commit-hash: 165157748caf61b9c8cef9a125bd8a0b442419ad
2023-09-19 21:25:20 -07:00
Justin Newberry 6d0672632b Simulator: fix controlsd mismatch (#29976)
fix controls mismatch
old-commit-hash: bee40de70312b892c50f7872e795977dec7f740f
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: 4b55d90af9d4c854168c7e1e3a6f834e8171405b
2023-09-18 19:01:32 -07:00
Dean Lee ae0332d3db cabana/chart: add contex menu (#29957)
old-commit-hash: 50cca99e45d1db095ccbf47aaa155019d7c6e4c2
2023-09-18 16:14:54 -07:00
Dean Lee dbc788a418 cabana: fix QMenu leak (#29956)
fix qmenu leak
old-commit-hash: a450eff89f87670aacf7702925a41eedc8b1a234
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: 6f9798745c73e82fa4ed396e697d44947b527e68
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: f0b8ecd14f7aed3d3ad46c770881e3028ed9781f
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: 7f6718a7cb87909305fd6f23a614db926d225915
2023-09-15 14:02:09 -07:00
Dean Lee 9700838c6c cabana/chart: fix value overflow (#29924)
fix value overflow
old-commit-hash: 6a72d532963498d7de601fa79aaccc1f3d4e6b31
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: c4df40a04a57478883609748c08d1abed539b017
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: 880157f5a614a4a524273a9833e0a066fdec371e
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: 6666413626d72b51759ce0330b9c02dc3ebf8fc9
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: 82452ec66b0dd4e48365e794ac70ce22003edaec
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: a95c896b5f04dcd59e38bf2e38ba8fc7033df58f
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: 0bd9df31930abb4f72cdef9908a6b3240426b659
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: 34f5cad4e7a115826167d44ee48446e7e157b79f
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: 587f6ce0dc4d33f050e4b922b7727b0c9b58230f
2023-09-13 01:14:12 -07:00
Dean Lee 916f083499 cabana: improve precision of timeline (#29872)
old-commit-hash: d9f107a2c980828657c709527568f2b121962e78
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: f63dc5128411c6dc39c5bda9f05144c5f0af5b30
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: 140a4ba5587b84fd234df04c23261f1e50dece08
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: 11d157369b2144f2cb73b141c7cfbf9929f923f8
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: 57f0c3b8d592a28be1ad81ee884150650e722e31
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: 2c1dfc2f341b09381af2cc7872c4092df28dc9d5
2023-09-11 14:01:50 -07:00
Dean Lee 5bac1f771c cabana: use applicationPath for settings (#29875)
old-commit-hash: 5e1b5b36e48f3b7c776b843993071e24a9d1466e
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: 43210ca0e21b15c1fcaff5517c71827b9fc21dab
2023-09-11 08:01:07 -07:00
royjr ed79ecff3c macOS: install gcc@13 to match panda requirements (#29868)
old-commit-hash: ece433f18ef4e132693ccabe6b225dab7c2ffbe3
2023-09-10 16:26:27 -07:00
Dean Lee c7efe08e08 cabana: add comparision operator for CanEvent (#29864)
old-commit-hash: ef4c963c60276a62d64a89c158a1a1ff1dbe8a10
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: e9c1cf3b5a86b7ef47fea67d60ae83337b8e9051
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: 73eda51a11955627f4d149fdf12c1c781983d52e
2023-09-07 12:49:03 -07:00
Dean Lee 2716ef3a23 cabana: speed up exit (#29813)
old-commit-hash: 74daab120d8528bc39c4cc74df5bf4ee46ccc9d9
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: 0f942a228d6d354bf32069a5167d0d8c9002c47b
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: 7f23e69cb126941ad736cf100e28fb67f5827f48
2023-09-06 10:34:15 -07:00
Dean Lee 87c8ec0e5c replay: fix concurrency issues (#29797)
fix concurrency issues
old-commit-hash: bbf133a2e505bee6dc502a3b636a59ae6b254798
2023-09-06 10:34:01 -07:00
Dean Lee 64c3dc5ad6 cabana: add empty check before insert events (#29798)
old-commit-hash: 60593660e61e3ede35ecb401ca0714eaac5edf52
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: 0afcf1236818f20e159cc2565e57814a08acd883
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: 2c87cd24cecf28da8cb5291c731a8c9e949b0c72
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: 4e69937d0d3fbdc7d1d42cbc18d7ccf8ddb115f1
2023-09-05 16:33:26 -07:00
Justin Newberry bd78ec0bce Sim: fix openpilot directory (#29754)
fix simulator
old-commit-hash: a774809fdb8adbf71546ff7a16206e7bb316691c
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: 92a4c2f7417a7f2f3808ec39a88d7c4a3acaf769
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: 405d09714c15956a6d220ff963d07b89c8e790ca
2023-08-31 14:00:31 -07:00