Commit Graph

550 Commits

Author SHA1 Message Date
Robbe Derks
eb805e889e [Cabana] Fix segfault in sparkline (#30870) 2023-12-31 13:02:05 -08:00
Adeeb Shihadeh
1f9970ba3d stricter file size limits (#30839)
* move all pics to lfs

* wav and rest of so

* more to lfs

* ignore a few

* push that up
2023-12-26 15:22:59 -08:00
Dean Lee
5f04517677 cabana: add csv export (#30800)
export csv
2023-12-19 11:50:16 -08:00
Dean Lee
ab0b26d2b8 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-12-17 22:42:52 -08:00
royjr
84a3b10da9 cabana: fix typo (#30678) 2023-12-10 16:46:41 -08:00
Dean Lee
aa744e8437 cabana: cleanp code (#30666) 2023-12-09 08:12:11 -08:00
Dean Lee
33ee7530b3 cabana: add test case for parsing all opendbc files (#30584)
* test opendbc files

* bump opendbc

* bump opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-12-04 17:12:22 -08:00
Dean Lee
d87191c1c1 cabana: fix missing opendbc files (#30555)
* fix missing dbc files

* remove suffix
2023-11-30 20:46:31 -08:00
DevTekVE
2a9986d948 [cabana] fix clang17 warning (#30490)
[cabana] Improve signal timing calculation in findsingal.cc

The variables `first_sec` and `last_sec` have been separately initialized first before being used in `std::minmax` for signal timings. This resolves compilation warnings and potential risks of using temporary values of these variables.
2023-11-18 23:05:10 -08:00
Dean Lee
3d9f394533 cabana: update message count after filtering (#30461)
update message count after filtering
2023-11-15 23:43:59 -08:00
Dean Lee
7ded7a0720 cabana: fix double comparisons (#30468)
compare double with epsilon
2023-11-14 21:44:22 -08:00
Dean Lee
86a5ac383e cabana: highlight dowloaded segments (#30459)
highlight dowloaded segments
2023-11-14 03:23:33 -08:00
Dean Lee
da95fd3019 replay: simplify the code for allow/block list (#30449)
simplify allow/block list
2023-11-13 09:19:39 -08:00
Dean Lee
86efd70fa9 cabana: allocate qt objects on the heap instead of stack (#30374)
allocate qobject in heap
2023-11-09 20:20:48 -08:00
Dean Lee
f5279284f5 cabana: fix QChart leak (#30369)
fix QChart leak
2023-11-03 11:16:58 -07:00
Dean Lee
a46544f708 cabana/sparkline: Fix "Painter not active" warning (#30370)
fix painter not active
2023-11-03 11:16:48 -07:00
Dean Lee
bf932c6277 cabana: remove dependence on opendbc (#30329)
* remove dependence on opendbc

* move into function
2023-11-02 22:37:56 -07:00
Justin Newberry
a73412b39d Cabana: fix wsl compilation (#30366)
fix wsl
2023-11-02 20:59:38 -07:00
Dean Lee
bf5a45ed98 cabana: fix messages not updated correctly after seekto() (#30351)
fix messages not updated correctly after seekto
2023-10-31 11:34:54 -07:00
Dean Lee
01610128bb cabana: support suppress highlighted bits (#30336)
* support suppress highlighted bits

d

* faster filtering and sorting

* improve livestream

* specify the context in the connections

* remove inline
2023-10-30 09:47:23 -07:00
Dean Lee
fe4ad96701 cabana: support multiple cameras (#30339)
support multiple cameras
2023-10-29 07:05:59 -10:00
Shane Smiskol
f62ee97cb0 cabana: rename signal node
More clear what this is

Receiver Nodes
2023-10-25 15:03:27 -07:00
Dean Lee
ae26280118 cabana: fix two ui bugs (#30327)
fix ui bugs
2023-10-25 14:39:52 -07:00
Dean Lee
b73329092c cabana: save settings to user-specific directory (#30328)
* save settings to user-specific directory

* include
2023-10-25 14:39:41 -07:00
Dean Lee
952838335d cabana: improve playback controller (#30325)
improve playback controller
2023-10-25 10:57:09 -07:00
Dean Lee
57621afcb0 cabana/chart: populate the points incrementally (#30326)
* populate the points incrementally

* less spacing
2023-10-25 10:56:49 -07:00
Dean Lee
691c7c2c66 cabana: add Node column to message table (#30317)
* add Node column

* add views menu to toolbar

* match NODE

* rename fetchData to filterAndSort

* simplify sortMessages
2023-10-25 10:56:07 -07:00
Dean Lee
f47723d1d1 cabana: fix sparkline glitch (#30320)
fix glitch
2023-10-24 11:25:50 -07:00
Dean Lee
e287a5f164 cabana: remove the qlog parsing thread (#30319)
remove the qlog thread
2023-10-24 10:38:50 -07:00
Dean Lee
0431bbaa8b cabana: set the COMMA_CACHE environment variable (#29849)
* set COMMA_CACHE enviroment

* use /tmp/comma_donwloand_cache
2023-10-23 20:51:39 -07:00
Dean Lee
ac19ecee6f cabana: remove the installed handlers on exit (#30297)
remove the installed handlers on exit
2023-10-20 23:48:48 -07:00
Dean Lee
818d29818f cabana: reduce minimum size (#30223)
reduce minimumsize
2023-10-12 11:09:32 -07:00
Dean Lee
47813ae8b5 cabana: fix crash when switching dbc file (#30227)
fix crash when switching dbc file
2023-10-12 11:09:17 -07:00
Dean Lee
d02558c400 cabana: check if index is valid (#30204) 2023-10-06 20:13:08 -07:00
Dean Lee
29f10fd2aa cabana: fix parsing multiple line comment (#30178)
fix parse error
2023-10-05 01:48:56 -07:00
Adeeb Shihadeh
377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

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

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Dean Lee
21f4af4d6d cabana: fix QCompleter leak (#30097)
fix QCompleter leak
2023-09-29 00:54:56 -07:00
Dean Lee
50cca99e45 cabana/chart: add contex menu (#29957) 2023-09-18 16:14:54 -07:00
Dean Lee
a450eff89f cabana: fix QMenu leak (#29956)
fix qmenu leak
2023-09-18 11:25:35 -07:00
Dean Lee
6f9798745c cabana: add button to skip to the end of stream (#29953) 2023-09-17 15:20:21 -07:00
Dean Lee
6a72d53296 cabana/chart: fix value overflow (#29924)
fix value overflow
2023-09-15 03:20:27 -07:00
Dean Lee
c4df40a04a cabana: support ECU node names (#29897)
* support display&edit node name

* cleanup

* set validator for Node name

* modify validator to support multiple receivers

* set default to XXX in updateMsg

* add DEFAULT_NODE_NAME

* Update tools/cabana/commands.h

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-09-15 00:27:44 -07:00
Dean Lee
82452ec66b cabana: use QStaticText to boost rending performance (#29900)
use QStaticText to boost rending performance
2023-09-13 19:00:00 -07:00
Dean Lee
0bd9df3193 cabana: bug fixes (#29902)
* fix freq

* fix chart legend alignment issue
2023-09-13 12:52:56 -07:00
Dean Lee
34f5cad4e7 cabana/chart: use different colors to distinguish similar signals (#29890)
* Use different colors to distinguish similar signals

* check hueF value

* lighter
2023-09-13 03:03:16 -07:00
Dean Lee
587f6ce0dc cabana: mark the undo stack as clean after save as (#29898)
Marks the undo stack as clean after save as
2023-09-13 01:14:12 -07:00
Dean Lee
d9f107a2c9 cabana: improve precision of timeline (#29872) 2023-09-12 19:49:59 -07:00
Dean Lee
f63dc51284 cabana: display warning if failed to write settings (#29873)
* display warning if failed to write_settings

* use Settings::filePath()
2023-09-12 13:13:59 -07:00
Dean Lee
11d157369b cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
2023-09-11 22:56:40 -07:00
Adeeb Shihadeh
2c1dfc2f34 use pytest for cpp tests (#29833)
* add pytest-cpp package (#29828)

* add pytest-cpp package

* disable for now

* use in ci

* use pytest cpp

* use my branch

* add missing tests

* that doesn't make sense

* it was merged upstream

* replace TEST_RLOG_URL with a publicly accessible url

* PR Cleanup

* assert instead

* update poetry lock

* add comment about  pytest-cpp

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
2023-09-11 14:01:50 -07:00