Commit Graph

131 Commits

Author SHA1 Message Date
DevTekVE
25a152cd8b Merge remote-tracking branch 'origin/master' into hkg-angle-steering-2025
# Conflicts:
#	opendbc_repo
2025-09-14 12:44:23 +02:00
DevTekVE
7029455706 better juggle 2025-09-13 08:32:27 +02:00
Jason Young
2bfdd0d61d PlotJuggler: Updated layout for torque controller (#36123)
* PlotJuggler: Updated layout for torque controller

* yeah, no
2025-09-09 18:02:31 -04:00
DevTekVE
32321c01cc A bit more helpful safety block investigation help 2025-08-26 10:09:11 +02:00
DevTekVE
17204a46e4 Add HkgAngleDebug structure and enhance angle debugging in car controller 2025-08-20 18:39:53 +02:00
DevTekVE
c669473f88 Refine torque reduction parameters and update UI for angle error analysis 2025-08-19 19:35:34 +02:00
DevTekVE
e8a40d6b85 Merge branch 'master' into hkg-angle-steering-2025
# Conflicts:
#	opendbc_repo
#	system/manager/process_config.py
2025-08-10 14:24:10 +02:00
Brett Sanderson
ed0346980c Update plotjuggler README.md (#35946)
Update README.md

Real example using segment range.  Remove segment count as its not a parameter.
2025-08-07 11:47:50 -07:00
DevTekVE
f563b7eb71 Refactor steering angle limit application for improved safety and model compliance 2025-07-25 12:12:42 +02:00
DevTekVE
acb109c290 adding plotjuggler stuff 2025-06-08 10:02:44 +02:00
DevTekVE
3e03275f28 Add PlotJuggler layout for analyzing torque and angle data
This new layout visualizes actuator data, CAN steering messages, and car state variables. It provides multiple time-series plots to aid in debugging and analysis. Plugin configurations are also included for extended functionality.
2025-05-25 17:31:22 +02:00
Kacper Rączy
7b5468b2e8 plotjuggler: support relative paths (#35054)
* Support relative paths

* Abspath for rlog too
2025-04-22 21:50:03 +00:00
Adeeb Shihadeh
45de2f7f19 fix codespell 2025-03-26 10:46:16 -07:00
Adeeb Shihadeh
531893d1c5 simple gps layout 2025-03-26 10:27:57 -07:00
Shane Smiskol
2b9bd8dc36 Fix colors on torque-controller.xml 2025-03-20 15:31:42 -07:00
Shane Smiskol
08fea7fa27 Fix torque control layout 2025-03-06 13:20:56 -08:00
Shane Smiskol
bc422a0738 juggle: use DBC dict generator (#34772)
* juggle: support tesla DBC

* better

* fix

* sort
2025-03-04 13:54:43 -08:00
Adeeb Shihadeh
5067ee1e94 plotjuggler: fix for fork routes 2025-03-02 09:45:05 -08:00
Shane Smiskol
c8e598e647 Revert "Speed up juggle.py loading"
This reverts commit 87fc6d177b.
2025-02-26 23:07:58 -08:00
Shane Smiskol
51598a7580 add platform to PJ title 2025-02-26 20:13:22 -08:00
Shane Smiskol
87fc6d177b Speed up juggle.py loading 2025-02-26 20:09:56 -08:00
Kacper Rączy
032f3688a2 plotjuggler: opt-out log migration (#34587)
* Option to migrate logs if needed

* Opt-out migration

* Remove late import
2025-02-15 02:41:39 +00:00
Shane Smiskol
1d86afdf83 carName -> brand (#34474)
* bump

* brand

* body is lower
2025-01-25 01:39:06 -06:00
Jason Young
f771ddac88 PlotJuggler: Layout for debugging locationdTemporaryError (#34381)
* PlotJuggler: layout for debugging locationd

* not needed, and codespell doesn't like it
2025-01-14 11:12:05 -08:00
Adeeb Shihadeh
420d6f0d5e Quick GC pass heading into 2025 (#34330)
* first pass

* bye bye snpe
2025-01-05 15:10:24 -08:00
Patrick Bassut
a923f25225 Using carControl/enabled on PJ template (#34100)
using carControl/enabled
2024-11-25 09:14:58 -08:00
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 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.

Revert "test with can"

This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.

* 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 665e6451f1f68bd300ad306a5bd7c8e6e2e61954.

* 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