Commit Graph

105 Commits

Author SHA1 Message Date
Shane Smiskol 61508e48a1
PlotJuggler: add actuatorsOutput to longitudinal layout (#33912)
* add actuators output

* clean up
2024-11-01 13:44:57 -07:00
Adeeb Shihadeh 13d947375a
plotjuggler: add bin/ to LD_LIBRARY_PATH (#33538) 2024-09-11 14:02:00 -07:00
Shane Smiskol 4f019b5f60 move selfdrive/car to opendbc (#32630)
* move most of /car

* move some car tests

move some car tests

* fix selfdrive/car/tests

* fix selfdrive/controls tests

* fix the rest of the selfdrive tests

* bump opendbc

* fix all tests

* few more non-test references

* remove opcar and move docs to car

fix these debugging scripts

fix docs

* bump opendbc and panda

forgot panda
old-commit-hash: e735a7f379
2024-08-17 00:54:51 -07:00
Shane Smiskol 539c828861 tools: keep re pattern file small (#33084)
remove bz2 from re file
old-commit-hash: e68bb26e14
2024-07-25 22:05:10 -07:00
Jason Young d7f77d0dc7 Improved PlotJuggler layout for lateral accel torque controller (#32949)
* improved PlotJuggler layout for lat accel controller

* help estimate steerActuatorDelay

* update Actuator Performance, add Vehicle Dynamics

* disable Y limits on actuator performance because sunny

* apply delay estimation feedback from harald

* gc extra custom series that PJ copied in

* label wordsmithing
old-commit-hash: e36ff90996
2024-07-10 15:10:42 -07:00
Adeeb Shihadeh 86b6103657 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
old-commit-hash: c59887c810
2024-06-03 15:48:56 -07:00
Adeeb Shihadeh f1c241361c speedup pj demo test
old-commit-hash: cd21d64058
2024-05-25 11:40:10 -07:00
cl0cks4fe 639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
2024-05-17 11:01:44 -07:00
Julio Salamanca 190fec65f4 Remove qlog param from demo example (#32406)
Remove qlog param from demo instructions

qlog param was removed in this commit

fae2400f40
old-commit-hash: 6aa17ab10a
2024-05-12 17:00:17 -07:00
Justin Newberry 35e77d1edc plotjuggler docs remove old options (#32078)
* these are no longer options

* and this one

* qlogs

* space
old-commit-hash: 3080aefa3d
2024-04-01 15:24:23 -07:00
Shane Smiskol 4e32a90c5a juggle.py: migrate platform name (#32042)
* fix formatting!

* migrate plotjuggler platform for dbc

* test with can

* temp

* Revert "temp"

This reverts commit 9d740bf3bd.

Revert "test with can"

This reverts commit d6cf230489.

* fix test
old-commit-hash: 903cc225eb
2024-03-28 16:40:31 -07:00
Jason Young 612e1e4d63 PlotJuggler: Update controls mismatch layout (#31965)
* PlotJuggler: Update controls mismatch layout

* Revert "PlotJuggler: Update controls mismatch layout"

This reverts commit 665e6451f1.

* minimize diff
old-commit-hash: 108e033af3
2024-03-21 18:39:05 -07:00
Justin Newberry 12d49a4ced Revert "and juggler"
This reverts commit a414a21aa11bd2de47fbd2664f5b03b2b93cfa80.

old-commit-hash: b489550b7f
2024-03-20 18:03:04 +00:00
Justin Newberry 12b67b0c83 and juggler
old-commit-hash: d75c32eaaa
2024-03-20 17:59:31 +00:00
Justin Newberry 891b9a1ab4 card: prepare for separate process (#31660)
* Card

* update ref

* bump cpu

* sub to caroutput

* update ref
old-commit-hash: 8ec0d87de0
2024-03-04 09:53:42 -08:00
Harald Schäfer add26a5d1f GpsLocation: Rename accuracy to horizontal accuracy (#31629)
* Rename accuracy to horizontal accuracy

* typo in cereal
old-commit-hash: 85eb221e4c
2024-02-28 19:55:57 -08:00
Robbe Derks 08bb6d822e linux-aarch64 also works for plotjuggler
old-commit-hash: 854e78eaff
2024-02-25 18:18:43 +00:00
Adeeb Shihadeh 3dbb5d03a0 pj: gpu usage isn't real
old-commit-hash: c645feb1aa
2024-02-20 16:55:46 -08:00
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
Tim Wilson c668054d6f C3: add gps_vs_llk plotjuggler layout (#30448)
add gps_vs_llk plotjuggler layout
old-commit-hash: d3b91f266a
2023-11-13 09:19:23 -08:00
Shane Smiskol ff49167804 pj: fix CAN bus layout for test
old-commit-hash: 8b962479dc
2023-09-20 00:19:34 -07:00
Adeeb Shihadeh 69a1a7190c can debug pj layout
old-commit-hash: 165157748c
2023-09-19 21:25:20 -07:00
Shane Smiskol 76322812b0 PlotJuggler: add control gains to longitudinal layout (#29794)
* add longitudinal control gains to long layout

* needless changes

* needless changes

* needless changes
old-commit-hash: 2c87cd24ce
2023-09-06 01:33:52 -07:00
Adeeb Shihadeh cc29c6640d pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
old-commit-hash: 72e2e2c9ec
2023-08-28 10:26:19 -07: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 db5e13b991.

* 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
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