Commit Graph

74 Commits

Author SHA1 Message Date
Adeeb Shihadeh
b324c42641 pj: update thermal debug layout
old-commit-hash: d081396102777ad7b573cbcb746f4a7026965347
2023-06-23 13:12:33 -07:00
Adeeb Shihadeh
2e2e4a8849 pj: fix camera timings layout default tab
old-commit-hash: f3299b19cf85031b93d3b53f4378e6dac444b723
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: 64377a88f94527f56ba8e9cd7c01c97100681455
2023-06-06 10:31:13 -07:00
Robbe Derks
7133d5b9cc can states plotjuggler layout
old-commit-hash: 5ca14c072f240d564f967f5e2c84b69387dc7b78
2023-05-11 13:38:07 +02:00
Adeeb Shihadeh
68e1b27a20 pj: add SOF/EOF camera timings to layout
old-commit-hash: 2bc761aceeed9b570951f1ce63e0f8d69ad58113
2023-04-21 19:34:13 -07:00
Adeeb Shihadeh
129ad5c8e0 plotjuggler: camera timings layout
old-commit-hash: 248cc46f4765c3a9c6a355567365e42198f48f1a
2023-04-06 12:42:44 -07:00
Adeeb Shihadeh
dd0b8205a7 plotjuggler: ublox debug layout
old-commit-hash: 8aedbad24f75941340cf6268655f87a9ff28f587
2023-04-05 11:06:32 -07:00
Adeeb Shihadeh
7e6079465e plotjuggler: update controls mismatch layout
old-commit-hash: 5e269b25c470b73cd4a413d10d89c1f74584b41f
2023-03-18 20:03:00 -07:00
Shane Smiskol
b3ac1c6fae PJ: add longitudinal layout (#26324)
longitudinal layout
old-commit-hash: e3188c0b1fb8bd02cf22a774fa70057424d3d8db
2022-11-02 02:10:11 -07:00
Shane Smiskol
59a4ffbbae PJ: support internal cd:/ paths (#26302)
Update juggle.py
old-commit-hash: d07b7fd7a832832b7f1f167b5dc60a16778d2502
2022-10-31 18:37:43 -07:00
Adeeb Shihadeh
e3ef65ab4a pj: update thermal layout + layout test (#26224)
old-commit-hash: bc7fc481d57cbdfb8c727a38ba5a32e856315df0
2022-10-25 11:33:02 -07:00
Adeeb Shihadeh
0325a33752 add pyside2 package (#25602)
old-commit-hash: c6b749fb96b3b6332fd850e733140357f84d53a4
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
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: ff3ebbb13b04efc44773cda75bc6a390f7764159
2022-08-30 02:40:23 -07:00
Adeeb Shihadeh
6c03a57b85 pj: update torque control layout
old-commit-hash: 76a4daefffe0462162b984aae7baba25866903bb
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: 7f6464d97d615d850dafd7a0856884b57ab4d0e0
2022-08-10 20:02:45 -07:00
Robbe Derks
99ef2b4d02 don't wait to install plotjuggler
old-commit-hash: 35751420711db541cc0392f8dd3a88eb255fb742
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: cac960cb548a44cd3f9f6ad711da2d5579319d3e
2022-08-08 15:10:31 -07:00
Adeeb Shihadeh
ee0f5386a1 plotjuggler: add max torque layout
old-commit-hash: 20c140b10eef52b6f6d6b9e142ed944264865bac
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: f3be47bc55b2ed50ebe803fb461a6d3002b1fc7c
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: 6a58dd808f3e168fe72129b09ca5f829a4c146db
2022-06-07 15:01:19 -07:00
Willem Melching
f957c16a7b make normal logreader more robust (#24577)
old-commit-hash: 194e5fdf1c9ba2e01e2ec7faa62432d2a3b1870b
2022-05-18 12:21:01 +02:00
ntegan1
0a3fde5334 Tools: allow using plotjuggler on local data (#24473)
local juggler
old-commit-hash: 07f7570840320aeb16803e9c93f1d8e648568dba
2022-05-17 19:50:23 +02:00
Adeeb Shihadeh
49cd879976 pj: add fan rpm to thermal layout
old-commit-hash: 4b063a02462f81e60e1fb7a2d7409639a6d00ba4
2022-05-10 19:51:22 -07:00
Jason Young
9de3eb63c1 Fix PlotJuggler saved tuning layout (#24347)
old-commit-hash: be0f27ac852fe41a904af1bb05b1438d43938896
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: c5378cf8b923446269b7c207451a9804b6f862b0
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: a953d8222d0267b6d53d476939e7426152a96543
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: f861854e256e67e3a79c9a7a7dbe9b6218174997
2022-04-05 10:30:09 -07:00
Adeeb Shihadeh
fd37ab2d97 plotjuggler: add lag debugging layout
old-commit-hash: b57c2f4a14248153e6a8bfa6044b05a8fb853a8f
2022-03-22 15:34:49 -07:00
Adeeb Shihadeh
fe6209bd8c plotjuggle: add blockedCnt to controls mismatch debug layout
old-commit-hash: 7eb9416f6b856c1379fe98e1f1a0bb12dfdc56db
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: 9facd366fb267a7a1269c40b9d303b5e3e83fc6e
2022-03-07 16:04:02 -08:00
Greg Hogan
8e9f3ae789 tools: fix segment end index in juggle.py (#23715)
old-commit-hash: a195603f6d4a2502afaa12ad1243780a02711a04
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: c8429f913e15934cf46564f23584cc454699ffdc
2022-01-30 11:17:51 -08:00
Adeeb Shihadeh
f8d4a599db tools: auto plotjuggler install
old-commit-hash: f295d51fe9c825150e46a1ba3244372258ba2877
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: 71132edf17a78b629e3fa244caa21bebdc488929
2022-01-04 15:55:46 +01:00
Greg Hogan
e58562bcb6 plotjuggler: fix layout param (#23348)
old-commit-hash: 92b553be3ea0c4309961647a796dbdde3da5fdf6
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: c26f294218a72e4a42d90b6560bde32e1a9cf5cb
2021-12-31 16:44:57 -08:00
Adeeb Shihadeh
807e84d900 juggle: add demo flag and improve README
old-commit-hash: 920b751888a09192f055241c7db6cfdfc5f1bf57
2021-11-28 14:19:49 -08:00
Adeeb Shihadeh
2e40fdfb0f juggle: strip input
old-commit-hash: 80d0aaadf448d9f47a7da4779791566323e5de22
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: 5f2c7ad69f68857c0a160032fc4308927e38302e
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: 65d1b5147694934385ec2943c0b67cf0f971c597
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: 6d6f989b7f4f084ff2a1124aa4de05b90d7fc534
2021-11-10 16:41:00 +01:00
Adeeb Shihadeh
4852437483 update demo route (#22381)
old-commit-hash: dd67dc6b34e4b70af6f7ef13b2a701aad2512174
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: f52dcd468c5eb9dfed0047a20a627604180002de
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: b9601dfe9d2e97be8b9aade11fa74c3772c30e26
2021-08-12 11:00:54 +02:00
grekiki
18421ab6d7 Tools: Plotjuggler reduce RAM usage (#21781)
old-commit-hash: 6048988c13a5b9fba39cb1fb0cc06ae243e002cd
2021-07-30 09:04:31 +02:00
grekiki
addd1037bb plotjuggler: add segment_count arg (#21474)
old-commit-hash: b3a792305e981c897f48837ae417a5f2b5dd14b3
2021-07-06 13:57:03 -07:00
Ross Fisher
40be12ab37 Clarify instructions in plotjuggler readme (#21158)
old-commit-hash: 4978a7fae43644017c1fef2525a7d569f45ba502
2021-06-06 16:16:32 -07:00
ShaneSmiskol
4748885813 Remove snap installed PlotJuggler (#20989)
* use our compiled plotjuggler

* update readme

* update readme
old-commit-hash: f3d41de9d84fb59a49731403d10b9dc4b77e3d4b
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: 63e521935e154d1a53a9a9f00da37202baee7829
2021-05-20 20:19:06 -07:00