Commit Graph

76 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
b324c42641 pj: update thermal debug layout
old-commit-hash: d081396102
2023-06-23 13:12:33 -07:00
Adeeb Shihadeh
2e2e4a8849 pj: fix camera timings layout default tab
old-commit-hash: f3299b19cf
2023-06-08 16:08:20 -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
Robbe Derks
7133d5b9cc can states plotjuggler layout
old-commit-hash: 5ca14c072f
2023-05-11 13:38:07 +02:00
Adeeb Shihadeh
68e1b27a20 pj: add SOF/EOF camera timings to layout
old-commit-hash: 2bc761acee
2023-04-21 19:34:13 -07:00
Adeeb Shihadeh
129ad5c8e0 plotjuggler: camera timings layout
old-commit-hash: 248cc46f47
2023-04-06 12:42:44 -07:00
Adeeb Shihadeh
dd0b8205a7 plotjuggler: ublox debug layout
old-commit-hash: 8aedbad24f
2023-04-05 11:06:32 -07:00
Adeeb Shihadeh
7e6079465e plotjuggler: update controls mismatch layout
old-commit-hash: 5e269b25c4
2023-03-18 20:03:00 -07:00
Shane Smiskol
b3ac1c6fae PJ: add longitudinal layout (#26324)
longitudinal layout
old-commit-hash: e3188c0b1f
2022-11-02 02:10:11 -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
e3ef65ab4a pj: update thermal layout + layout test (#26224)
old-commit-hash: bc7fc481d5
2022-10-25 11:33:02 -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
qadmus
8f468a01fa plotjuggler readme: refer to openpilot env setup (#25609)
* plotjuggler readme: refer to openpilot env setup

* Update tools/plotjuggler/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ff3ebbb13b
2022-08-30 02:40:23 -07:00
Adeeb Shihadeh
6c03a57b85 pj: update torque control layout
old-commit-hash: 76a4daefff
2022-08-16 13:16:23 -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
Adeeb Shihadeh
ee0f5386a1 plotjuggler: add max torque layout
old-commit-hash: 20c140b10e
2022-07-31 15:36:37 -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
Shane Smiskol
e3253d87fa PlotJuggler: add torque control layout (#24726)
* add torque control PJ layout

* less custom transformation

* Use curvature, less noisy

* remove that
old-commit-hash: 6a58dd808f
2022-06-07 15:01:19 -07: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
Adeeb Shihadeh
49cd879976 pj: add fan rpm to thermal layout
old-commit-hash: 4b063a0246
2022-05-10 19:51:22 -07:00
Jason Young
9de3eb63c1 Fix PlotJuggler saved tuning layout (#24347)
old-commit-hash: be0f27ac85
2022-04-27 21:57:37 -07:00
Adeeb Shihadeh
db252b457a improve tici thermal control (#24228)
* improve tici thermals

* more i

* always 70
old-commit-hash: c5378cf8b9
2022-04-19 11:07:54 -07: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
Erich Moraga
2b7ac102af Added embedded tuning wiki hyperlink (#24133)
https://github.com/commaai/openpilot/wiki/Tuning
old-commit-hash: f861854e25
2022-04-05 10:30:09 -07:00
Adeeb Shihadeh
fd37ab2d97 plotjuggler: add lag debugging layout
old-commit-hash: b57c2f4a14
2022-03-22 15:34:49 -07:00
Adeeb Shihadeh
fe6209bd8c plotjuggle: add blockedCnt to controls mismatch debug layout
old-commit-hash: 7eb9416f6b
2022-03-18 15:48:07 -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
12dcbe8617 test car models improvements (#23668)
* run on all routes

* min segment length

* invalid

* revert that
old-commit-hash: c8429f913e
2022-01-30 11:17:51 -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
2e3bf355a1 plotjuggler: plotjuggler: tuning layout w/ cruise setpoint, use carControl.enable not carControl.active (#22908)
old-commit-hash: 5f2c7ad69f
2021-11-15 13:20:53 -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
Adeeb Shihadeh
4852437483 update demo route (#22381)
old-commit-hash: dd67dc6b34
2021-09-29 18:51:30 -07: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
Ross Fisher
40be12ab37 Clarify instructions in plotjuggler readme (#21158)
old-commit-hash: 4978a7fae4
2021-06-06 16:16:32 -07:00