Justin Newberry
86139fd98e
fix metadrive after bump ( #30967 )
...
* fix clip
* wip
* oop
* 1.22
* ... ugly
* fix tuning
old-commit-hash: f2c73039d7799da139ec4e55520f525db4fb95cc
2024-01-11 18:09:39 -08:00
Justin Newberry
20e9969f8e
move plotjuggler to segment range reader ( #30969 )
...
* pj
* limit test to 2 segs
* remove
* fix test
old-commit-hash: d7e7659852f14ca458605f13c2bdae90f5de5a45
2024-01-11 17:02:47 -08:00
Justin Newberry
1b65d5cd85
segmentrangereader: support direct parsing ( #30973 )
...
* use correct source
* revert
* cleanup imports
* clean
* direct parsing
* rename
* move up
* fixes
* fix that
* better error message
old-commit-hash: eb09294fc265ffc9cc2ed7f03acc5037d064de81
2024-01-11 16:56:48 -08:00
Justin Newberry
407d302106
car porting examples: add example of plotting the response of brake_pressure vs acceleration ( #30958 )
...
* another example
* add comment
* fix that
* oop
* fix link
old-commit-hash: 8d9e431f43d5974d7908aae4645d6fa6fb0e7324
2024-01-11 13:35:50 -08:00
Justin Newberry
3231738be9
move can replay to segmentrangereader ( #30971 )
...
can replay
old-commit-hash: 042ccb9244ac167a07d289864c99e0d169bb9e1a
2024-01-11 13:11:59 -08:00
Justin Newberry
11449845e7
segmentrangereader: support more sources ( #30970 )
...
* support more sources
* remove this
old-commit-hash: fb994ae782259e8ed4d9212edc3c9fb277f831f6
2024-01-11 12:55:19 -08:00
Justin Newberry
dd7921de3f
replace more tools with SegmentRangeReader ( #30968 )
...
* replace lrfros
* and those ones too
old-commit-hash: 7e9843b5e6d0756bc7c17ef7338c384b7b330df0
2024-01-11 11:46:31 -08:00
Justin Newberry
3b86243f1f
SegmentRangeReader: log type selector ( #30960 )
...
* log type selector
* test this too
* and this
* invalid selector
* use strenum
* don't hardcode size
* oneline
old-commit-hash: be814ed44747ab09f8db429ff0ee1e7f87180fec
2024-01-11 10:25:24 -08:00
Hoang Bui
c17fc021e9
Enable variable pass between test and metadrive processes ( #30961 )
...
pass started between processes
old-commit-hash: 1da08460cba9f3d67b7b84249ccd8ee9bd282bf7
2024-01-10 18:13:21 -08:00
Justin Newberry
9e6c6d92b0
segmentrangereader: support sort_by_time ( #30954 )
...
support sort-by-time
old-commit-hash: cfb23eb2d160639b870690a9bd6e7ba5350e3bc6
2024-01-10 13:36:55 -08:00
Justin Newberry
1f434b2714
SegmentRangeReader: new format for reading multiple segments ( #30940 )
...
* segment range reader
* rename that
* revert that
* cleanup
* revert this for now
* revert this for now
* Fix + test
* rm that
* rm that
* use for auto_fingerprint
* simpler
* for notebook too
* match numpy indexing
* just use numpy directly
* remove that
* spacing
* spacing
* use qlog for auto fingerprint
* add 'read mode'
* pass in read mode
* add test for modes
* numpy indexing
* fix that case
* more examples
* fix the notebook
* cleanup the notebook
* cleaner
* fix those
old-commit-hash: 0d126e1e9e60a3d995bc90454bee206b5d70024f
2024-01-10 11:55:19 -08:00
Hoang Bui
87cadf7262
Python camerad for webcam ( #30930 )
...
* webcamd
* remove destroy windows
* block
* shebang execute
* executaleeeee
* executableeeeeee
* she bang for camerad.py
* listener
* no signal?
* good
* ruff fix
* delete listener
* recover sim
* remove assert
* refactor
* fix shell
* fix namedtuple
* little change
* to tuple
* cleanup
* update readme
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7fdd5c4a7d72d16eb2246b4766a4da6c9aad0765
2024-01-08 19:22:21 -08:00
Shane Smiskol
fc23ab6c8d
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
old-commit-hash: d689a4e6537b6b48e0ad9948ac919065317258c1
2024-01-08 15:36:43 -08:00
Adeeb Shihadeh
7243b9b68e
Revert "UI: single-threaded CameraView ( #30397 )"
...
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.
old-commit-hash: 073fc89ad49461c01ea474125a89a505543d093d
2024-01-07 14:54:39 -08:00
Justin Newberry
090d3d2e41
move profiling tools to tools/profiling ( #30917 )
...
move profiling
old-commit-hash: 03d6233743dbf8913ca48b59dd54f111be2ab595
2024-01-05 16:22:45 -08:00
Adeeb Shihadeh
8d11c3b742
Update Python packages and pre-commit hooks ( #30597 )
...
* Update Python packages and pre-commit hooks
* fix
---------
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com >
old-commit-hash: 46f3fdc090cef3b4b1b8bb4938ad68e1ca7cb280
2024-01-05 15:17:49 -08:00
Justin Newberry
25374edffd
add the notebook example to car port docs ( #30920 )
...
* add the notebook example
* fix link
* add image
* no lfs
* no lfs
old-commit-hash: 239b228ca6987daa54c20090346d458c9bd4493d
2024-01-05 13:57:02 -08:00
Justin Newberry
040223e69f
move car porting tools to tools/car_porting ( #30916 )
...
just this for now
old-commit-hash: e86d74b347f60a3e575d45b4c99d94d23c8c7d84
2024-01-05 11:53:03 -08:00
Justin Newberry
278eef0c71
tools: add car porting example notebook ( #30918 )
...
* add car porting example notebooks
* not required
old-commit-hash: 15e0a906ad70f50594c58a38fb4d2cb1a6c9c89a
2024-01-05 11:52:24 -08:00
Dean Lee
2f8e66dbb8
UI: single-threaded CameraView ( #30397 )
...
* single-threaded CameraView
* updateFrame
* inherit from CameraWidget
* clear frame on offroadTransition
* check frame_id
* optional
* unique_ptr
* CameraView
* cleanup
* cleanup
* log skipping frame
* fix driverview
* disconnectVipc
* debug inconsistent frame
* skip frame if uiPlan is outdate
* cleanup
* set connected = false
* support camerad reboot&seeking in replay
* cleanup
* qDebug
* use deque
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 17ac1d3c7b3b481826d51eb82aaf9dbcc3f3bd81
2024-01-03 13:14:29 -08:00
Justin Newberry
7aecd2f91d
url_file: fix non-200 files being cached ( #30886 )
...
* fix + test
* fix unclosed
* easier to read
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* fix that
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: fba521ecc6d4c260de8f3e93dadbc3e157a9a9a6
2024-01-02 12:42:08 -08:00
Kacper Rączy
a97f55dadb
metadrive: Change camera position to reflect typical height of a vehicle ( #30831 )
...
old-commit-hash: 65ece2081a91b84c8b78de404aea2ec17fa81e7c
2024-01-01 14:36:37 -08:00
Sliicy
fc2e961f1b
Fixed joystickd.py incorrect steering control ( #30879 )
...
old-commit-hash: 6ccf2cbfde4e1f5aa67dc0072f9c0dfd080be064
2024-01-01 14:29:01 -08:00
Robbe Derks
8929336cc0
[Cabana] Fix segfault in sparkline ( #30870 )
...
old-commit-hash: eb805e889ef2f9c6e1345dc164533b44494576d0
2023-12-31 13:02:05 -08:00
pencilpusher
63608539b1
replay ui: fix typo in variable name ( #30851 )
...
fix typo in variable name
old-commit-hash: ee3544d283523044cc969065af1c4c16acba7bf0
2023-12-26 16:03:59 -08:00
Justin Newberry
c3551ea4ec
Simulator: fix keyboard ctrl messing with pytest ( #30827 )
...
fix
old-commit-hash: a6b17fb1f6063835f6e0065d9bf670fbf069de48
2023-12-20 15:10:11 -08:00
Dean Lee
8056fe5aff
cabana: add csv export ( #30800 )
...
export csv
old-commit-hash: 5f045176775c8c2cdd7f85e7229f78cf26f0c013
2023-12-19 11:50:16 -08:00
Justin Newberry
a3eafc8cd5
Simulator: only send camera frames at rate that they are generated ( #30802 )
...
only send frames at rate that they are generated
old-commit-hash: 8017c25f0b2960db13df22295c077fbbd6aa6a07
2023-12-19 10:45:07 -08:00
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
Adeeb Shihadeh
207073dc4c
fix unused
...
old-commit-hash: 51a93cf9aaa3c1bc07738a412a4e19cb3dc6dcba
2023-12-17 16:32:56 -08:00
royjr
d41f215df8
dependency: remove pycurl package ( #30771 )
...
* Update qcomgpsd.py
* Update url_file.py
* remove pycurl
* requests -> urllib3
* unused
* redundant
* fix import
* Revert "requests -> urllib3"
This reverts commit 7ca39e618917986f50356519d2795a432e3a5280.
* headless
* fix trail
* use requests.exceptions.RequestException
* use fp.tell
* fix indents
* reorder imports
* change timeout
* fix debug timing
* remove exception
* add timeout
* missing headers
* move to constructor
* move import
* unused import
* fix debug
* try
* no retries
old-commit-hash: 70624ffc819c29d842cb68fd86f42eac95421b10
2023-12-17 16:25:25 -08:00
Adeeb Shihadeh
9b40f9ab5f
move common.window to xx ( #30777 )
...
old-commit-hash: 2c30421b161de649e7e255b04b86b1eb88698a86
2023-12-17 10:50:45 -08:00
Justin Newberry
4627aca7a3
Metadrive: set near clip ( #30745 )
...
set near
old-commit-hash: da12a34ff66dbe70f532056ba43a6fdb228d41d3
2023-12-14 21:03:02 -08:00
Kacper Rączy
c8160d33fa
metadrive: fix dual_camera mode ( #30743 )
...
* Use wide cam in metadrive
* 120 fov
old-commit-hash: 5fe9f1459c73d338bf6277dafc8654f92ee8b00a
2023-12-14 20:51:06 -08:00
Justin Newberry
ba865f4580
Simulator: fix safety param ( #30738 )
...
fix param
old-commit-hash: 977dd033c4b2003c06978eed391e744ed06ea8f9
2023-12-14 19:34:06 -08:00
Justin Newberry
9d187f9f92
Docker: add xvfb ( #30727 )
...
add xvfb
old-commit-hash: 075e6ff3e62107073a489863769767552295be62
2023-12-14 12:46:24 -08:00
Adeeb Shihadeh
379989e863
fixup can replay for jungle v2 and tres
...
old-commit-hash: ae85ee093252720b749ac07b61933b51a609511c
2023-12-13 17:00:14 -08:00
Adeeb Shihadeh
37df8dbb72
Revert "compressed_vipc: fix issues with VisionIpcServer in ZMQ mode ( #30115 )"
...
This reverts commit 8cc4d294e436e0cda167e525b80c8ceed1e619ab.
old-commit-hash: 73db7e8e3a9daec01c7e7b7cfb404a1687544b21
2023-12-12 19:16:46 -08:00
Kacper Rączy
214b38bc69
controlsd: require joystick mode param for the body ( #30680 )
...
* Update joystick mode in step
* Stop putting the body in joystick mode by default
* Toggle JoystickDebugMode by default for notCars in process_replay
* Remove subsection about web joystick
* Update param only in non-cars
* Make joystickDebug non-static event, and add it in a loop
* Add comment
old-commit-hash: e62756596b82e4e40d02a30b34d3f3c9960bffe6
2023-12-12 14:14:51 -08:00
Kacper Rączy
f10d6d5738
metadrive: fix wasd steer signs ( #30623 )
...
* Swap AD signs
* Fix type annotation
* fix user torque
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: 43e1409fd2fa4a92350a54434602b71b1874fd60
2023-12-12 14:09:07 -08:00
Justin Newberry
fb84f6bed9
Simulator: --simulator is no longer an argument ( #30700 )
...
these are also gone
old-commit-hash: be33d29d7a437201386638570fbda9e085a9910c
2023-12-12 09:45:34 -08:00
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e82e53bbefa88643c81ab5b7581e913
2023-12-11 20:38:37 -08:00
royjr
3afdea7fbb
cabana: fix typo ( #30678 )
...
old-commit-hash: 84a3b10da94f6483caf94a52d76c674e62307e77
2023-12-10 16:46:41 -08:00
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Dean Lee
280bef4b0c
cabana: cleanp code ( #30666 )
...
old-commit-hash: aa744e84373ecacbbb45382e1a0e4cdd3d5c05fb
2023-12-09 08:12:11 -08:00
Justin Newberry
8c21642780
simulator: set valid flags ( #30656 )
...
sim set valid
old-commit-hash: bb9dda976405d62ceb9e366011dbf57c665bfc42
2023-12-08 16:31:30 -08:00
Greg Hogan
e91032efb3
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion ( #30618 )
...
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5353d9c009fcf5817e611125a6b0b8b
2023-12-06 09:55:29 -08:00
Kacper Rączy
8edafd97b5
bodyteleop: toggle joystick debug mode ( #30611 )
...
* Enable joystick debug mode in web
* Remove mutable vals
* Rename thread back to main
old-commit-hash: 7948a61b0eaf98b3ace03e26027d8493f749e74f
2023-12-05 15:00:05 -08:00
Kacper Rączy
6c9a87556d
joystickd: remove WEB ( #30612 )
...
Remove WEB option from joystickd
old-commit-hash: 6c62a3146607e87c1c4f796eb5a7c988f733d6c1
2023-12-05 14:42:44 -08:00
Dean Lee
091383e17c
cabana: add test case for parsing all opendbc files ( #30584 )
...
* test opendbc files
* bump opendbc
* bump opendbc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 33ee7530b39bf01051c11cb888695b0962c92f95
2023-12-04 17:12:22 -08:00