Dean Lee
d02558c400
cabana: check if index is valid ( #30204 )
2 years ago
Dean Lee
29f10fd2aa
cabana: fix parsing multiple line comment ( #30178 )
...
fix parse error
2 years ago
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>
2 years ago
Dean Lee
21f4af4d6d
cabana: fix QCompleter leak ( #30097 )
...
fix QCompleter leak
2 years ago
Dean Lee
50cca99e45
cabana/chart: add contex menu ( #29957 )
2 years ago
Dean Lee
a450eff89f
cabana: fix QMenu leak ( #29956 )
...
fix qmenu leak
2 years ago
Dean Lee
6f9798745c
cabana: add button to skip to the end of stream ( #29953 )
2 years ago
Dean Lee
6a72d53296
cabana/chart: fix value overflow ( #29924 )
...
fix value overflow
2 years ago
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>
2 years ago
Dean Lee
82452ec66b
cabana: use QStaticText to boost rending performance ( #29900 )
...
use QStaticText to boost rending performance
2 years ago
Dean Lee
0bd9df3193
cabana: bug fixes ( #29902 )
...
* fix freq
* fix chart legend alignment issue
2 years ago
Dean Lee
34f5cad4e7
cabana/chart: use different colors to distinguish similar signals ( #29890 )
...
* Use different colors to distinguish similar signals
* check hueF value
* lighter
2 years ago
Dean Lee
587f6ce0dc
cabana: mark the undo stack as clean after save as ( #29898 )
...
Marks the undo stack as clean after save as
2 years ago
Dean Lee
d9f107a2c9
cabana: improve precision of timeline ( #29872 )
2 years ago
Dean Lee
f63dc51284
cabana: display warning if failed to write settings ( #29873 )
...
* display warning if failed to write_settings
* use Settings::filePath()
2 years ago
Dean Lee
11d157369b
cabana/chart: fix rubber band precision issue ( #29887 )
...
fix rubber band precision issue
2 years ago
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>
2 years ago
Dean Lee
5e1b5b36e4
cabana: use applicationPath for settings ( #29875 )
2 years ago
Dean Lee
ef4c963c60
cabana: add comparision operator for CanEvent ( #29864 )
2 years ago
Dean Lee
e9c1cf3b5a
cabana/Sconscript: add back dependency on #opendbc ( #29832 )
...
add dep on #opendbc
2 years ago
Dean Lee
74daab120d
cabana: speed up exit ( #29813 )
2 years ago
Dean Lee
0f942a228d
cabana: regenerate car_fingerprint_to_dbc when DBC files change ( #29815 )
2 years ago
Dean Lee
7f23e69cb1
cabana: fix stuck on exit ( #29796 )
...
fix ctrl+c can't exit when stream dialog displayed on startup
2 years ago
Dean Lee
60593660e6
cabana: add empty check before insert events ( #29798 )
2 years ago
Dean Lee
0afcf12368
cabana: fix crash when no can events in the log ( #29795 )
...
fix crash when no events
2 years ago
Dean Lee
4f915f4f1a
cabana/MessageListModel: replace `match |=` with `match = match ||` ( #29667 )
2 years ago
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
2 years ago
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>
2 years ago
Dean Lee
86386fd87f
scons: fix always generating car_fingerprint_to_dbc.json ( #29625 )
2 years ago
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2 years ago
Dean Lee
7bfd3dac81
cpplint: add filter `whitespace/comma` ( #29595 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
f203648de0
cpplint: add filter `whitespace/semicolon` ( #29568 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
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>
2 years ago
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
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
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
2 years ago
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 db5e13b991
.
* fix pm test
2 years ago
Dean Lee
9dac6b66f9
cabana: set border color for scatter series ( #29408 )
2 years ago
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>
2 years ago
Dean Lee
233e053842
scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX ( #29334 )
...
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
2 years ago
Justin Newberry
a90f6d9163
Cabana: Fix >1 hour route time displaying ( #29226 )
...
fix greater than 1 hour
2 years ago
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
2 years ago
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
2 years ago
Dean Lee
319ce562f2
cabana: cleanup `MessageViewHeader` & `MessageBytesDelegate` ( #29040 )
...
* cleanup
* remove double ;
2 years ago
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.
2 years ago
Dean Lee
940609956d
cabana: preserve msg transmitter & signal receiver when saving DBC ( #28825 )
...
preserve transmitter&receiver_name
2 years ago
Dean Lee
059529cae2
cabana: improve timeline ( #28801 )
2 years ago
Dean Lee
5f6d947e36
cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler ( #28702 )
2 years ago