Commit Graph

103 Commits

Author SHA1 Message Date
Shane Smiskol
e735a7f379 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
2024-08-17 00:54:51 -07:00
Shane Smiskol
e68bb26e14 tools: keep re pattern file small (#33084)
remove bz2 from re file
2024-07-25 22:05:10 -07:00
Jason Young
e36ff90996 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
2024-07-10 15:10:42 -07:00
Adeeb Shihadeh
c59887c810 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
2024-06-03 15:48:56 -07:00
Adeeb Shihadeh
cd21d64058 speedup pj demo test 2024-05-25 11:40:10 -07:00
cl0cks4fe
dd9d5d4528 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>
2024-05-17 11:01:44 -07:00
Julio Salamanca
6aa17ab10a Remove qlog param from demo example (#32406)
Remove qlog param from demo instructions

qlog param was removed in this commit

d7e7659852
2024-05-12 17:00:17 -07:00
Justin Newberry
3080aefa3d plotjuggler docs remove old options (#32078)
* these are no longer options

* and this one

* qlogs

* space
2024-04-01 15:24:23 -07:00
Shane Smiskol
903cc225eb juggle.py: migrate platform name (#32042)
* fix formatting!

* migrate plotjuggler platform for dbc

* test with can

* temp

* Revert "temp"

This reverts commit 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.

Revert "test with can"

This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.

* fix test
2024-03-28 16:40:31 -07:00
Jason Young
108e033af3 PlotJuggler: Update controls mismatch layout (#31965)
* PlotJuggler: Update controls mismatch layout

* Revert "PlotJuggler: Update controls mismatch layout"

This reverts commit 665e6451f1f68bd300ad306a5bd7c8e6e2e61954.

* minimize diff
2024-03-21 18:39:05 -07:00
Justin Newberry
b489550b7f Revert "and juggler"
This reverts commit d75c32eaaa.
2024-03-20 18:03:04 +00:00
Justin Newberry
d75c32eaaa and juggler 2024-03-20 17:59:31 +00:00
Justin Newberry
8ec0d87de0 card: prepare for separate process (#31660)
* Card

* update ref

* bump cpu

* sub to caroutput

* update ref
2024-03-04 09:53:42 -08:00
Harald Schäfer
85eb221e4c GpsLocation: Rename accuracy to horizontal accuracy (#31629)
* Rename accuracy to horizontal accuracy

* typo in cereal
2024-02-28 19:55:57 -08:00
Robbe Derks
854e78eaff linux-aarch64 also works for plotjuggler 2024-02-25 18:18:43 +00:00
Adeeb Shihadeh
c645feb1aa pj: gpu usage isn't real 2024-02-20 16:55:46 -08:00
Justin Newberry
8aee0d2af2 test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE (#31481)
* fix spelling

* test interactive

* remove that

* test taht

* move that
2024-02-15 11:24:27 -08:00
Justin Newberry
65490bb3c5 plotjuggler: auto fallback to qlogs with prompt (#31110)
* qlog fallback

* show a warning for that

* qlog fallback

* fix

* wording
2024-01-23 12:53:19 -08:00
Justin Newberry
61fe705160 LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
2024-01-16 12:40:49 -08:00
Justin Newberry
3d73512c07 rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
2024-01-12 12:53:50 -08:00
Justin Newberry
d7e7659852 move plotjuggler to segment range reader (#30969)
* pj

* limit test to 2 segs

* remove

* fix test
2024-01-11 17:02:47 -08:00
Tim Wilson
d3b91f266a C3: add gps_vs_llk plotjuggler layout (#30448)
add gps_vs_llk plotjuggler layout
2023-11-13 09:19:23 -08:00
Shane Smiskol
8b962479dc pj: fix CAN bus layout for test 2023-09-20 00:19:34 -07:00
Adeeb Shihadeh
165157748c can debug pj layout 2023-09-19 21:25:20 -07:00
Shane Smiskol
2c87cd24ce PlotJuggler: add control gains to longitudinal layout (#29794)
* add longitudinal control gains to long layout

* needless changes

* needless changes

* needless changes
2023-09-06 01:33:52 -07:00
Adeeb Shihadeh
72e2e2c9ec pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
2023-08-28 10:26:19 -07:00
Adeeb Shihadeh
a9626f95b6 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
2023-08-20 20:49:55 -07:00
Justin Newberry
7fdd9fc37c 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
2023-08-09 13:26:54 -07:00
Shane Smiskol
acc732efbb replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
2023-08-03 13:18:44 -07:00
Adeeb Shihadeh
d081396102 pj: update thermal debug layout 2023-06-23 13:12:33 -07:00
Adeeb Shihadeh
f3299b19cf pj: fix camera timings layout default tab 2023-06-08 16:08:20 -07:00
Kacper Rączy
64377a88f9 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
2023-06-06 10:31:13 -07:00
Robbe Derks
5ca14c072f can states plotjuggler layout 2023-05-11 13:38:07 +02:00
Adeeb Shihadeh
2bc761acee pj: add SOF/EOF camera timings to layout 2023-04-21 19:34:13 -07:00
Adeeb Shihadeh
248cc46f47 plotjuggler: camera timings layout 2023-04-06 12:42:44 -07:00
Adeeb Shihadeh
8aedbad24f plotjuggler: ublox debug layout 2023-04-05 11:06:32 -07:00
Adeeb Shihadeh
5e269b25c4 plotjuggler: update controls mismatch layout 2023-03-18 20:03:00 -07:00
Shane Smiskol
e3188c0b1f PJ: add longitudinal layout (#26324)
longitudinal layout
2022-11-02 02:10:11 -07:00
Shane Smiskol
d07b7fd7a8 PJ: support internal cd:/ paths (#26302)
Update juggle.py
2022-10-31 18:37:43 -07:00
Adeeb Shihadeh
bc7fc481d5 pj: update thermal layout + layout test (#26224) 2022-10-25 11:33:02 -07:00
Adeeb Shihadeh
c6b749fb96 add pyside2 package (#25602) 2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
qadmus
ff3ebbb13b 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>
2022-08-30 02:40:23 -07:00
Adeeb Shihadeh
76a4daefff pj: update torque control layout 2022-08-16 13:16:23 -07:00
grekiki
7f6464d97d plotjuggler: Longer max stream buffer size (#25399)
* longer streams

* more consistent

* reduce diff
2022-08-10 20:02:45 -07:00
Robbe Derks
3575142071 don't wait to install plotjuggler 2022-08-10 12:22:41 +02:00
grekiki
cac960cb54 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>
2022-08-08 15:10:31 -07:00
Adeeb Shihadeh
20c140b10e plotjuggler: add max torque layout 2022-07-31 15:36:37 -07:00
Willem Melching
f3be47bc55 plotjuggler: allow loading ci routes (#25294)
* plotjuggler: allow loading ci routes

* update readme
2022-07-27 16:19:19 +02:00
Shane Smiskol
6a58dd808f PlotJuggler: add torque control layout (#24726)
* add torque control PJ layout

* less custom transformation

* Use curvature, less noisy

* remove that
2022-06-07 15:01:19 -07:00