Commit Graph

51 Commits

Author SHA1 Message Date
Justin Newberry
42f292b3ce test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE (#31481)
* fix spelling

* test interactive

* remove that

* test taht

* move that
old-commit-hash: 8aee0d2af2
2024-02-15 11:24:27 -08:00
Justin Newberry
c5c522c984 plotjuggler: auto fallback to qlogs with prompt (#31110)
* qlog fallback

* show a warning for that

* qlog fallback

* fix

* wording
old-commit-hash: 65490bb3c5
2024-01-23 12:53:19 -08:00
Justin Newberry
5df01b3d22 LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
old-commit-hash: 61fe705160
2024-01-16 12:40:49 -08:00
Justin Newberry
c8cc30112d rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
old-commit-hash: 3d73512c07
2024-01-12 12:53:50 -08:00
Justin Newberry
20e9969f8e move plotjuggler to segment range reader (#30969)
* pj

* limit test to 2 segs

* remove

* fix test
old-commit-hash: d7e7659852
2024-01-11 17:02:47 -08:00
Adeeb Shihadeh
16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Justin Newberry
3ee0786de3 CI: Pylint to ruff (#29294)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad

* set line length

* pylint exclusions to ruff

* same excludes as old linter

* fix tools QA

* remove unrequired check

* revert linting third_party

* ignore e402
old-commit-hash: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Shane Smiskol
d78ebfdc45 replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
old-commit-hash: acc732efbb
2023-08-03 13:18:44 -07:00
Kacper Rączy
2edd65ad4e process_replay: helpers (#28367)
* process_replay helper

* Refactor

* refactor check_enabled uses

* fix __init__

* noqa in __init__ imports

* Move compare_logs outside of process_replay

* Move save_logs to tools.lib.helpers

* Remove save_log from compare_logs

* fix lint issues
old-commit-hash: 64377a88f9
2023-06-06 10:31:13 -07:00
Shane Smiskol
59a4ffbbae PJ: support internal cd:/ paths (#26302)
Update juggle.py
old-commit-hash: d07b7fd7a8
2022-10-31 18:37:43 -07:00
Adeeb Shihadeh
0325a33752 add pyside2 package (#25602)
old-commit-hash: c6b749fb96
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93
2022-08-30 11:20:55 -07:00
grekiki
9e577a7cb0 plotjuggler: Longer max stream buffer size (#25399)
* longer streams

* more consistent

* reduce diff
old-commit-hash: 7f6464d97d
2022-08-10 20:02:45 -07:00
Robbe Derks
99ef2b4d02 don't wait to install plotjuggler
old-commit-hash: 3575142071
2022-08-10 12:22:41 +02:00
grekiki
31260ce863 plotjuggler: route name in window title (#25370)
* Route titles

* minimum version check

* use tuples

* minor clean up

* use check_output

* space

* belongs here

* add prompt

* no f string

* Update juggle.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cac960cb54
2022-08-08 15:10:31 -07:00
Willem Melching
cd9aa86b8a plotjuggler: allow loading ci routes (#25294)
* plotjuggler: allow loading ci routes

* update readme
old-commit-hash: f3be47bc55
2022-07-27 16:19:19 +02:00
Willem Melching
f957c16a7b make normal logreader more robust (#24577)
old-commit-hash: 194e5fdf1c
2022-05-18 12:21:01 +02:00
ntegan1
0a3fde5334 Tools: allow using plotjuggler on local data (#24473)
local juggler
old-commit-hash: 07f7570840
2022-05-17 19:50:23 +02:00
Shane Smiskol
38c74c325b PlotJuggler: fix support for Cabana links (#24037)
* support Cabana links better

* not needed

* Update tools/plotjuggler/juggle.py
old-commit-hash: a953d8222d
2022-04-05 11:24:03 -07:00
Robbe Derks
6ad1d31896 Add --dbc argument to plotjuggler (#23919)
* add --dbc argument

* Update tools/plotjuggler/juggle.py

* update readme

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9facd366fb
2022-03-07 16:04:02 -08:00
Greg Hogan
8e9f3ae789 tools: fix segment end index in juggle.py (#23715)
old-commit-hash: a195603f6d
2022-02-06 13:55:41 -08:00
Adeeb Shihadeh
f8d4a599db tools: auto plotjuggler install
old-commit-hash: f295d51fe9
2022-01-24 15:32:27 -08:00
Greg Hogan
bb3402b54d plotjuggler: support segment names (#23263)
* plotjuggler: support segment names

* update docs

* generic parser

* convert segment number to int when parsing

* add SegmentName

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 71132edf17
2022-01-04 15:55:46 +01:00
Greg Hogan
e58562bcb6 plotjuggler: fix layout param (#23348)
old-commit-hash: 92b553be3e
2022-01-01 17:17:24 -08:00
Adeeb Shihadeh
3b0d5834bd plotjuggler: add mac support (#23344)
* plotjuggler: add mac support

* fix test?

* update readme

* oops

* fix

* cleanup

* typo

* works

* little more

* fix test

* little faster
old-commit-hash: c26f294218
2021-12-31 16:44:57 -08:00
Adeeb Shihadeh
807e84d900 juggle: add demo flag and improve README
old-commit-hash: 920b751888
2021-11-28 14:19:49 -08:00
Adeeb Shihadeh
2e40fdfb0f juggle: strip input
old-commit-hash: 80d0aaadf4
2021-11-18 14:56:01 -08:00
qadmus
229d987f10 PlotJuggler: Tuning layout (#22902)
* PlotJuggler layout for lateral and longitudinal tuning

* update README and tuning PR template
old-commit-hash: 65d1b51476
2021-11-13 23:16:42 -08:00
Willem Melching
c11eeb6c80 RobustLogReader that can recover corrupted bz2 files (#22835)
* LogReader with bzip2 recovery

* only rlogs

* add comment

* plotjuggler should also use robust logreader
old-commit-hash: 6d6f989b7f
2021-11-10 16:41:00 +01:00
qadmus
8aaf2fb168 Update plotjuggler readme for streaming, and cabana url input (#21938)
* Condense plotjuggler streaming instructions

* add cabana share link to help output

* update juggle.py -h output

* redundant idiom

* Update tools/plotjuggler/juggle.py

* Update tools/plotjuggler/README.md

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f52dcd468c
2021-08-16 22:23:42 -07:00
qadmus
87de705dc0 plotjuggler takes cabana shared links (#21899)
* plotjuggler cabana shared links

* extra newline
old-commit-hash: b9601dfe9d
2021-08-12 11:00:54 +02:00
grekiki
18421ab6d7 Tools: Plotjuggler reduce RAM usage (#21781)
old-commit-hash: 6048988c13
2021-07-30 09:04:31 +02:00
grekiki
addd1037bb plotjuggler: add segment_count arg (#21474)
old-commit-hash: b3a792305e
2021-07-06 13:57:03 -07:00
ShaneSmiskol
4748885813 Remove snap installed PlotJuggler (#20989)
* use our compiled plotjuggler

* update readme

* update readme
old-commit-hash: f3d41de9d8
2021-05-21 13:28:06 -07:00
ShaneSmiskol
a14fc7c5bd Support streaming in juggle.py (#20982)
* add --stream to juggle.py

* better

* rm old code

* for loopify

* clean up

* easier to pick out

* start by default

* don't exit

* Update tools/plotjuggler/juggle.py

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

* Revert "start by default"

This reverts commit 6cb481a6fdc2b401693a46be8d17553c1c00cc0f.

* Revert "don't exit"

This reverts commit 861b423eb8e259c8353586f3314ea8bad871f15a.

* rm

* move out of juggle_route

* Update PJ README.md

* Update tools/plotjuggler/README.md

* this is in the readme

* Updates

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63e521935e
2021-05-20 20:19:06 -07:00
George Hotz
8427b0081b support file in juggle.py
old-commit-hash: 636a89b48e
2021-05-05 12:15:48 -07:00
Willem Melching
c5c9fddd6e juggle.py: make CAN optional to speed up parsing
old-commit-hash: aebad0b5e2
2021-03-15 11:36:21 +01:00
Adeeb Shihadeh
fabba154c0 Revert "fix default plotjuggler path"
This reverts commit ef43028586fc331002cc4201aca5c4e2fc5b19c1.

old-commit-hash: 8456917a0e
2021-03-09 13:35:00 -08:00
Robbe Derks
77460b2b65 fix default plotjuggler path
old-commit-hash: 91ec0a2099
2021-03-09 12:08:00 +01:00
Willem Melching
66e22fe9b3 juggle.py: add exception
old-commit-hash: 91ee1cbfa0
2021-03-02 12:13:06 +01:00
iejMac
461046adcb PlotJuggler demo (#20172)
* initial demo with popup bug

* demo fixes

* demo fixes

* Update tools/plotjuggler/juggle.py

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 371272d94b
2021-02-26 19:11:59 -08:00
iejMac
36ecc144ff PlotJuggler CI with build from source (#20166)
* CI attempt

* fixing location

* fix

* fixes

* hardcode test_url for CI

* fixes

* cd fix

* Update tools/plotjuggler/juggle.py

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

* Update tools/plotjuggler/test_plotjuggler.py

* fixes

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9144dd7c2f
2021-02-26 17:14:37 -08:00
iejMac
985aa8c8bb working with snap (#20155)
* changes

* fixes

* Update tools/plotjuggler/juggle.py

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 90ba43676a
2021-02-24 22:50:27 -08:00
Willem Melching
f121e56fcf set DBC_NAME env when juggling (#20139)
* set dbc env when juggling

* small cleanup
old-commit-hash: 40ff66c518
2021-02-23 16:37:39 +01:00
Willem Melching
ba33ea935c juggle.py: don't remove CAN data
old-commit-hash: 330fc35095
2021-02-22 18:47:59 +01:00
Willem Melching
16f7cae050 add some error handling to juggle log loading
old-commit-hash: 5c51516839
2021-02-19 11:19:02 +01:00
Willem Melching
d7270e9463 juggle: add qlog argument
old-commit-hash: ce00f420ba
2021-02-18 11:24:31 +01:00
iejMac
b97a2a3dd3 plotjuggler falling back to qlog (#20105)
* fallback to qlogs

* minor fixes

* removed extra line

* help on no args

* Update tools/plotjuggler/juggle.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d4feecd803
2021-02-17 22:59:31 -08:00
iejMac
162814cdd9 argparser for plotjuggler (#20103)
* argparse

* import os

* need rest of env

* update readme

* style fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4d46c521d1
2021-02-17 20:07:37 -08:00
Willem Melching
48fe1c6d29 juggle a whole route (#20099)
* juggle a whole route

* use local juggler
old-commit-hash: 3538e2060a
2021-02-17 17:21:07 -08:00