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
Dean Lee
5e1b5b36e4
cabana: use applicationPath for settings ( #29875 )
2023-09-11 13:18:40 -07:00
Dean Lee
ef4c963c60
cabana: add comparision operator for CanEvent ( #29864 )
2023-09-10 16:09:22 -07:00
Dean Lee
e9c1cf3b5a
cabana/Sconscript: add back dependency on #opendbc ( #29832 )
...
add dep on #opendbc
2023-09-07 23:59:02 -07:00
Dean Lee
74daab120d
cabana: speed up exit ( #29813 )
2023-09-07 11:30:53 -07:00
Dean Lee
0f942a228d
cabana: regenerate car_fingerprint_to_dbc when DBC files change ( #29815 )
2023-09-07 11:22:03 -07:00
Dean Lee
7f23e69cb1
cabana: fix stuck on exit ( #29796 )
...
fix ctrl+c can't exit when stream dialog displayed on startup
2023-09-06 10:34:15 -07:00
Dean Lee
60593660e6
cabana: add empty check before insert events ( #29798 )
2023-09-06 10:24:58 -07:00
Dean Lee
0afcf12368
cabana: fix crash when no can events in the log ( #29795 )
...
fix crash when no events
2023-09-06 02:36:07 -07:00
Dean Lee
4f915f4f1a
cabana/MessageListModel: replace match |= with match = match || ( #29667 )
2023-08-27 17:56:49 +01:00
Dean Lee
57ad4f02f8
cabana: use a monotonic buffer to allocate CanEvent ( #29652 )
...
* use a monotonic buffer to allocate CanEvent
* set the next buffer size to 6MB
* static
* cleanup
* use const iter
* rename to insert_pos
2023-08-26 08:42:50 -07:00
Dean Lee
2484548fdd
cabana: improve frequency accuracy ( #29631 )
...
* improve frequency accuracy
* apply review
* 2 less lines!
* another!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-08-25 15:15:16 -07:00
Dean Lee
86386fd87f
scons: fix always generating car_fingerprint_to_dbc.json ( #29625 )
2023-08-25 10:39:55 -07:00
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2023-08-24 14:58:30 -07:00
Dean Lee
7bfd3dac81
cpplint: add filter whitespace/comma ( #29595 )
2023-08-24 10:42:06 -07:00
Dean Lee
21da5a216f
cpplint: add filter build/include_subdir ( #29585 )
2023-08-24 15:42:17 +01:00
Dean Lee
f203648de0
cpplint: add filter whitespace/semicolon ( #29568 )
2023-08-23 15:00:30 -07:00
Dean Lee
5480d32bb5
cpplint: add filter whitespace/parens ( #29565 )
2023-08-23 14:25:05 -07:00
Dean Lee
2d99521e75
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-08-23 13:25:17 -07:00
Willem Melching
2b0e4d46bb
cabana: socketcan support ( #27952 )
...
* empty socketcan class
* works on linux with vcan
* add open stream widget
* fix MacOS build
* update readme
* unused
* no socketcan on C3
* fix in cabana sconstruct
* serial -> device
2023-08-23 10:50:11 -07:00
Dean Lee
363740a497
cpplint: add readability/braces filter ( #29554 )
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
91dc8457ae
Revert Qt MOC hacks ( #29528 )
...
* Revert "CI: prevent moc from running in cache population step (#29401 )"
This reverts commit d1aedccfbe .
* Revert "SCons: respect cache read only (#29437 )"
This reverts commit 59abb469ea .
* don't change moc path
2023-08-22 11:16:58 -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
Dean Lee
9dac6b66f9
cabana: set border color for scatter series ( #29408 )
2023-08-15 10:28:48 -07:00
Dean Lee
fd8a9c8520
ui/networking: remove call to clearLayout ( #29037 )
...
* build list inplace
* move clearLayout to cabana
* cleanup include
* polish style
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-08-13 11:57:40 -07:00
Dean Lee
233e053842
scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX ( #29334 )
...
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
2023-08-11 10:38:34 -07:00
Justin Newberry
a90f6d9163
Cabana: Fix >1 hour route time displaying ( #29226 )
...
fix greater than 1 hour
2023-08-03 13:27:17 -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
Maxime Desroches
97eec45d42
Test scons multithreaded random build ( #29082 )
...
* random build
* name
* 2 pass
* clean after
* fail on this
* fix deps
* format
* var
* try without lfs
2023-07-21 21:57:27 -07:00
Dean Lee
319ce562f2
cabana: cleanup MessageViewHeader & MessageBytesDelegate ( #29040 )
...
* cleanup
* remove double ;
2023-07-19 18:39:55 -07:00
Dean Lee
1301e2d640
cabana: fix segfault when editing signal while filtering ( #28836 )
...
Fix the issue that editing signal will segfault when there is a filter string.
2023-07-07 15:39:03 -07:00
Dean Lee
940609956d
cabana: preserve msg transmitter & signal receiver when saving DBC ( #28825 )
...
preserve transmitter&receiver_name
2023-07-06 12:39:58 -07:00
Dean Lee
059529cae2
cabana: improve timeline ( #28801 )
2023-07-04 12:03:08 -07:00
Dean Lee
5f6d947e36
cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler ( #28702 )
2023-06-26 13:08:30 -07:00
Dean Lee
fe91ea1139
cabana: properly handle unix signals ( #28657 )
2023-06-23 15:27:51 -07:00