Commit Graph

1521 Commits

Author SHA1 Message Date
Justin Newberry
09325b01ff Simulator: Looping metadrive world (#30068) 2023-09-27 07:20:54 -07:00
Justin Newberry
f18d66fa3e Simulator: cleanup old common stuff (#30069)
cleanup
2023-09-26 17:05:46 -07:00
Justin Newberry
98451611be Simulator: fix metadrive tick frequency (#30043)
sim rate fix
2023-09-25 16:28:09 -07:00
Dean Lee
2cca0cbde8 replay: fix missing events before INIT_DATA (#30039)
fix missing events
2023-09-25 15:16:41 -07:00
Justin Newberry
dd3cdbf4cc Tests: speedup replay test (#30037)
speedup
2023-09-25 14:26:01 -07:00
Justin Newberry
51674f61c1 Simulator: passthrough BLOCK on launch script (#30040)
sim block passthrough
2023-09-25 13:44:26 -07:00
Adeeb Shihadeh
045ed8a91e remove big gif file (#30029)
* remove big gif file

* remove
2023-09-23 21:16:45 -07:00
Justin Newberry
2132e2358d Simulator: improve carla experience (#29996)
* wip

* carla improvments

* reset that
2023-09-21 10:38:06 -07:00
Justin Newberry
0857f4bb85 Simulator: add reset hotkey (#29995)
add sim reset
2023-09-20 17:28:41 -07:00
Justin Newberry
1f8ceb4ca1 Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
2023-09-20 16:34:29 -07:00
Justin Newberry
e02519bb71 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
2023-09-20 10:35:57 -07:00
Shane Smiskol
8b962479dc pj: fix CAN bus layout for test 2023-09-20 00:19:34 -07:00
Adeeb Shihadeh
165157748c can debug pj layout 2023-09-19 21:25:20 -07:00
Justin Newberry
bee40de703 Simulator: fix controlsd mismatch (#29976)
fix controls mismatch
2023-09-19 12:51:54 -07:00
Harald Schäfer
4b55d90af9 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>
2023-09-18 19:01:32 -07:00
Dean Lee
50cca99e45 cabana/chart: add contex menu (#29957) 2023-09-18 16:14:54 -07:00
Dean Lee
a450eff89f cabana: fix QMenu leak (#29956)
fix qmenu leak
2023-09-18 11:25:35 -07:00
Dean Lee
6f9798745c cabana: add button to skip to the end of stream (#29953) 2023-09-17 15:20:21 -07:00
Kacper Rączy
f0b8ecd14f 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>
2023-09-15 19:05:32 -07:00
Justin Newberry
7f6718a7cb 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
2023-09-15 14:02:09 -07:00
Dean Lee
6a72d53296 cabana/chart: fix value overflow (#29924)
fix value overflow
2023-09-15 03:20:27 -07:00
Dean Lee
c4df40a04a 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>
2023-09-15 00:27:44 -07:00
YassineYousfi
880157f5a6 framereader: add cache_dir argument (#29904)
* framereader: add cache_dir argument

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

* fix tests

* demo route download

* remove iostream
2023-09-13 19:19:06 -07:00
Dean Lee
82452ec66b cabana: use QStaticText to boost rending performance (#29900)
use QStaticText to boost rending performance
2023-09-13 19:00:00 -07:00
Justin Newberry
a95c896b5f Simulator: launch simulator from any directory (#29910)
launch sim from any directory
2023-09-13 18:47:39 -07:00
Dean Lee
0bd9df3193 cabana: bug fixes (#29902)
* fix freq

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

* check hueF value

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

* use Settings::filePath()
2023-09-12 13:13:59 -07:00
Greg Hogan
140a4ba558 importing auth_config.py should not have side effects (#29893)
import should not create directory
2023-09-12 18:00:18 +00:00
Dean Lee
11d157369b cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
2023-09-11 22:56:40 -07:00
Kacper Rączy
57f0c3b8d5 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
2023-09-11 17:00:08 -07:00
Adeeb Shihadeh
2c1dfc2f34 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>
2023-09-11 14:01:50 -07:00
Dean Lee
5e1b5b36e4 cabana: use applicationPath for settings (#29875) 2023-09-11 13:18:40 -07:00
Angus Gratton
43210ca0e2 replay: Include cstdarg from util (#29871)
Fix compilation errors "use of undeclared identifier" for va_start & va_end.
2023-09-11 08:01:07 -07:00
royjr
ece433f18e macOS: install gcc@13 to match panda requirements (#29868) 2023-09-10 16:26:27 -07:00
Dean Lee
ef4c963c60 cabana: add comparision operator for CanEvent (#29864) 2023-09-10 16:09:22 -07:00
Dean Lee
e9c1cf3b5a cabana/Sconscript: add back dependency on #opendbc (#29832)
add dep on #opendbc
2023-09-07 23:59:02 -07:00
Justin Newberry
73eda51a11 System: use paths for download folders too (#29818)
* use paths for download folders too

* trailing slash

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

* needless changes

* needless changes

* needless changes
2023-09-06 01:33:52 -07:00
Justin Newberry
4e69937d0d Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Justin Newberry
a774809fdb Sim: fix openpilot directory (#29754)
fix simulator
2023-09-01 16:02:57 -07:00