Dean Lee
4b2a00ef73
replay: refactor Event to remove the readers ( #32252 )
...
Refactor struct Event to remove the MessageReader from it
old-commit-hash: a824bd75ef38d3e40341151dd8bf5fb1eac02f3c
2024-04-19 11:15:34 -07:00
Dean Lee
2c14e8d540
cabana: gray out inactive messages ( #32121 )
...
* improve message list
remove TODO
* improve sort
* remove translate
* fix seeking issue
old-commit-hash: bf61e92518775f251a1ec4004889cdb8cd27b47e
2024-04-09 19:39:24 -07:00
Cameron Clough
5dbd836091
cabana(DBCFile): handle escaped quotes ( #31889 )
...
* cabana(DBCFile): VAL_ allow empty description
Even though this doesn't make much sense, we should still be able to
parse it.
* cabana(DBCFile): allow escaped quotemarks in signal comment
* also message comments
* escape/unescape quotes
* test empty val desc
* test generating DBC with escaped quotes in comment
* seperate test case
* fix trailing space
* remove empty val
* trailing whitespace again
old-commit-hash: d09e77d1aff2a9df096fb519345337379379d9cf
2024-04-03 19:19:55 -07:00
Justin Newberry
f387b87f42
migrate lowercase mock ( #32074 )
...
* add mock migration
* fix
* this
old-commit-hash: 1c0161589b5fa183d7fc87a30692c92865d61065
2024-04-01 15:27:29 -07:00
Shane Smiskol
5508759124
Simplify cabana dbc dict ( #32041 )
...
* so needlessly complex!
* inside generate_dbc_json
* this is good
* clean up!
* spaces
* so much clean up
old-commit-hash: d6d8e459319bfc2ce10d8dabf82b44c5401fbf2f
2024-03-28 16:26:16 -07:00
Justin Newberry
bce4276d06
cabana: migrate dbc map ( #31920 )
...
* fix cabana
* within platform map
old-commit-hash: 1f424bf7dcbe13a6a60212816cfd3057da6f5a1f
2024-03-20 10:57:41 -07:00
Dean Lee
78877f970c
cabana: horizontal scrolling with Shift+wheel ( #31929 )
...
old-commit-hash: 9ed5c78a805263908df030d7037efdfecb9323d2
2024-03-19 19:03:23 -07:00
Dean Lee
eba689d638
replay: get route datetime from INIT_DATA ( #31913 )
...
get datetime from INIT_DATA
old-commit-hash: d647361fae99b94c31e5071cbb6d81410b68c32e
2024-03-19 11:46:39 -07:00
thenhnn
77d6d1a8f1
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: justin newberry <justin@comma.ai >
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
old-commit-hash: 489528dcae3888311f92075ba9e0f68626725121
2024-03-19 11:16:02 -07:00
Cameron Clough
0ca2fdb545
cabana(DBCFile): preserve original header ( #31900 )
...
* cabana(DBCFile): preserve original header
* add trailing space
old-commit-hash: 5a805df3402c8a0661a9b663d88378313b19784e
2024-03-18 22:37:45 -07:00
Dean Lee
234338ad55
cabana: fix the suppress highlight breaks after seeking ( #31912 )
...
old-commit-hash: 9e1639c3f18e399ece90c0f795933b5c62e043c7
2024-03-18 22:37:17 -07:00
Cameron Clough
764c5cdae4
cabana(DBCFile): interleave msg and signal comments ( #31899 )
...
This matches the behaviour of CANdb++
old-commit-hash: 3e816e7df89eccb6375f87c8ae4276312116e5ad
2024-03-17 11:17:29 -07:00
Justin Newberry
e6dbf6d614
cars: remove CAR_INFO map ( #31739 )
...
* no carinfo map
* smaller diff
* not on mock
old-commit-hash: 25ccb2426c0b54dbf823b9e7e6d63607b37d9c5a
2024-03-06 11:22:12 -08:00
Adeeb Shihadeh
7243b9b68e
Revert "UI: single-threaded CameraView ( #30397 )"
...
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.
old-commit-hash: 073fc89ad49461c01ea474125a89a505543d093d
2024-01-07 14:54:39 -08:00
Dean Lee
2f8e66dbb8
UI: single-threaded CameraView ( #30397 )
...
* single-threaded CameraView
* updateFrame
* inherit from CameraWidget
* clear frame on offroadTransition
* check frame_id
* optional
* unique_ptr
* CameraView
* cleanup
* cleanup
* log skipping frame
* fix driverview
* disconnectVipc
* debug inconsistent frame
* skip frame if uiPlan is outdate
* cleanup
* set connected = false
* support camerad reboot&seeking in replay
* cleanup
* qDebug
* use deque
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 17ac1d3c7b3b481826d51eb82aaf9dbcc3f3bd81
2024-01-03 13:14:29 -08:00
Robbe Derks
8929336cc0
[Cabana] Fix segfault in sparkline ( #30870 )
...
old-commit-hash: eb805e889ef2f9c6e1345dc164533b44494576d0
2023-12-31 13:02:05 -08:00
Dean Lee
8056fe5aff
cabana: add csv export ( #30800 )
...
export csv
old-commit-hash: 5f045176775c8c2cdd7f85e7229f78cf26f0c013
2023-12-19 11:50:16 -08:00
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
royjr
3afdea7fbb
cabana: fix typo ( #30678 )
...
old-commit-hash: 84a3b10da94f6483caf94a52d76c674e62307e77
2023-12-10 16:46:41 -08:00
Dean Lee
280bef4b0c
cabana: cleanp code ( #30666 )
...
old-commit-hash: aa744e84373ecacbbb45382e1a0e4cdd3d5c05fb
2023-12-09 08:12:11 -08:00
Dean Lee
091383e17c
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 >
old-commit-hash: 33ee7530b39bf01051c11cb888695b0962c92f95
2023-12-04 17:12:22 -08:00
Dean Lee
b01e3fe986
cabana: fix missing opendbc files ( #30555 )
...
* fix missing dbc files
* remove suffix
old-commit-hash: d87191c1c1982e5c044e5654d7a69c5cc222986c
2023-11-30 20:46:31 -08:00
DevTekVE
0f985f5d13
[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.
old-commit-hash: 2a9986d9480063bb9b53d69a0cca47692c52b6ac
2023-11-18 23:05:10 -08:00
Dean Lee
6e991ea052
cabana: update message count after filtering ( #30461 )
...
update message count after filtering
old-commit-hash: 3d9f394533c3d82fc1fb5493f07fe90b366e5d88
2023-11-15 23:43:59 -08:00
Dean Lee
2a2988f180
cabana: fix double comparisons ( #30468 )
...
compare double with epsilon
old-commit-hash: 7ded7a072027ce235b5166e50f695dd184585481
2023-11-14 21:44:22 -08:00
Dean Lee
13d0f243ff
cabana: highlight dowloaded segments ( #30459 )
...
highlight dowloaded segments
old-commit-hash: 86a5ac383e938d16b19b69bb43e507abe8cdd63b
2023-11-14 03:23:33 -08:00
Dean Lee
543ea2bf57
replay: simplify the code for allow/block list ( #30449 )
...
simplify allow/block list
old-commit-hash: da95fd3019473b1f0dd8d671c22c1e618092cdb2
2023-11-13 09:19:39 -08:00
Dean Lee
efa9cce3de
cabana: allocate qt objects on the heap instead of stack ( #30374 )
...
allocate qobject in heap
old-commit-hash: 86efd70fa9e1ec2d125cc713e58c76740bc6eee5
2023-11-09 20:20:48 -08:00
Dean Lee
9b5e02d668
cabana: fix QChart leak ( #30369 )
...
fix QChart leak
old-commit-hash: f5279284f5b4d993a181e8ba2d9a6ec7985130d5
2023-11-03 11:16:58 -07:00
Dean Lee
76bddbd23d
cabana/sparkline: Fix "Painter not active" warning ( #30370 )
...
fix painter not active
old-commit-hash: a46544f7084593d028ab0c202783125fa833cc79
2023-11-03 11:16:48 -07:00
Dean Lee
18f8bc79e6
cabana: remove dependence on opendbc ( #30329 )
...
* remove dependence on opendbc
* move into function
old-commit-hash: bf932c6277c25294857d68cf1a333ce9d151140c
2023-11-02 22:37:56 -07:00
Justin Newberry
3ee7b45c94
Cabana: fix wsl compilation ( #30366 )
...
fix wsl
old-commit-hash: a73412b39d1f3593c312c37b07cff6e842052433
2023-11-02 20:59:38 -07:00
Dean Lee
0f9c1bb2a7
cabana: fix messages not updated correctly after seekto() ( #30351 )
...
fix messages not updated correctly after seekto
old-commit-hash: bf5a45ed9826af7dbf9e1db82413e1340bbfa074
2023-10-31 11:34:54 -07:00
Dean Lee
be9d291dad
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
old-commit-hash: 01610128bb340f83ebf08b344404330806178825
2023-10-30 09:47:23 -07:00
Dean Lee
897a62dcfc
cabana: support multiple cameras ( #30339 )
...
support multiple cameras
old-commit-hash: fe4ad9670179b6f823b7332d5a903a7049a3ac03
2023-10-29 07:05:59 -10:00
Shane Smiskol
78c15b7ea2
cabana: rename signal node
...
More clear what this is
Receiver Nodes
old-commit-hash: f62ee97cb0d05f71873f768145ccc122c1c82884
2023-10-25 15:03:27 -07:00
Dean Lee
ae8cd280fb
cabana: fix two ui bugs ( #30327 )
...
fix ui bugs
old-commit-hash: ae2628011818d3bb4277890e33e2a3917ba97f40
2023-10-25 14:39:52 -07:00
Dean Lee
03ba671b96
cabana: save settings to user-specific directory ( #30328 )
...
* save settings to user-specific directory
* include
old-commit-hash: b73329092c1eeb9b7472db97fcdf5544ee848156
2023-10-25 14:39:41 -07:00
Dean Lee
920bc9acea
cabana: improve playback controller ( #30325 )
...
improve playback controller
old-commit-hash: 952838335d318ab3ecc2365d4f466800ad87aac4
2023-10-25 10:57:09 -07:00
Dean Lee
83678f7a87
cabana/chart: populate the points incrementally ( #30326 )
...
* populate the points incrementally
* less spacing
old-commit-hash: 57621afcb0f4a95f5fd36cc47a7801a776383af5
2023-10-25 10:56:49 -07:00
Dean Lee
8123daceaf
cabana: add Node column to message table ( #30317 )
...
* add Node column
* add views menu to toolbar
* match NODE
* rename fetchData to filterAndSort
* simplify sortMessages
old-commit-hash: 691c7c2c66785e9b06aae02bf278e343b8c9397b
2023-10-25 10:56:07 -07:00
Dean Lee
b39bf7c20b
cabana: fix sparkline glitch ( #30320 )
...
fix glitch
old-commit-hash: f47723d1d16c50c28c19cd79df1af000e93e9dad
2023-10-24 11:25:50 -07:00
Dean Lee
3fb329773e
cabana: remove the qlog parsing thread ( #30319 )
...
remove the qlog thread
old-commit-hash: e287a5f1641ae93a31deaeb3c03c5fd27ed80759
2023-10-24 10:38:50 -07:00
Dean Lee
47b9097674
cabana: set the COMMA_CACHE environment variable ( #29849 )
...
* set COMMA_CACHE enviroment
* use /tmp/comma_donwloand_cache
old-commit-hash: 0431bbaa8b5df4dbde27f91808064d3887512faf
2023-10-23 20:51:39 -07:00
Dean Lee
c096776b31
cabana: remove the installed handlers on exit ( #30297 )
...
remove the installed handlers on exit
old-commit-hash: ac19ecee6f323f81607f4e70789be175c184da68
2023-10-20 23:48:48 -07:00
Dean Lee
e785de4166
cabana: reduce minimum size ( #30223 )
...
reduce minimumsize
old-commit-hash: 818d29818fcb54f84e8fbb366fbe6913c70be2b9
2023-10-12 11:09:32 -07:00
Dean Lee
4ec199f1c1
cabana: fix crash when switching dbc file ( #30227 )
...
fix crash when switching dbc file
old-commit-hash: 47813ae8b52050237e6c39314bc0c7338daf7b56
2023-10-12 11:09:17 -07:00
Dean Lee
5de3198888
cabana: check if index is valid ( #30204 )
...
old-commit-hash: d02558c4008af9e4efc4fc36561bb5120cd47304
2023-10-06 20:13:08 -07:00
Dean Lee
0396152d98
cabana: fix parsing multiple line comment ( #30178 )
...
fix parse error
old-commit-hash: 29f10fd2aa0730681986631838f866462eb9af55
2023-10-05 01:48:56 -07:00
Adeeb Shihadeh
a9153a39cc
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 >
old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
2023-10-03 15:31:26 -07:00