Maxime Desroches
5658a6a9ea
cabana: include optional ( #32772 )
...
optional
old-commit-hash: 3de6ee5ee316980f2dfea5e59c7369ac1f0a83df
2024-06-17 20:24:04 +00:00
Dean Lee
d1cd5f7ad6
cabana: improved error messaging ( #32768 )
...
* check user authenrication
* Update tools/cabana/streams/replaystream.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 54da59c1feb917896538ce8aa22bf4f12af20824
2024-06-17 12:44:31 -07:00
Dean Lee
06aed0617a
cabana: avoid dead locks and improve responsiveness ( #32740 )
...
avoid dead locks and improve responsive
old-commit-hash: 865b98a5c45335dcdf736ab38e89b5a1dcde2d59
2024-06-16 12:32:45 -07:00
Dean Lee
a854878499
cabana: Fix visibility issue for a single data point in series ( #32749 )
...
Fix visibility issue for a single data point in series
old-commit-hash: 38529c5057a6146768a71654a05e5c552695d805
2024-06-13 23:38:02 -07:00
Harald Schäfer
05ed3d8c15
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Dean Lee
40de8d615f
replay: add stop() function ( #32673 )
...
add stop() func
old-commit-hash: 3f84fe3557099ba74895241e8f4059b1001cd6ec
2024-06-09 11:04:21 -07:00
Dean Lee
8bdeb04e72
cabana: fix potential dangling pointer Issue ( #32672 )
...
Fix Potential Dangling Pointer Issue
old-commit-hash: 6688d7b91c2ee6fad93d292edc0661a4522e9b10
2024-06-09 11:04:10 -07:00
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Dean Lee
958bdeda8a
cabana: stop stream thread before exiting main event loop ( #32634 )
...
stop stream thread before exiting main event loop
old-commit-hash: 1d61f320a8dafc067efdf3dcc68653c8fc5dee60
2024-06-05 08:49:58 -07:00
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d7a388d4cd1f25dac9dda9d5409bf4a
2024-06-04 19:16:55 -07:00
Dean Lee
cdea057d4b
cabana: fix panda stream issues ( #32537 )
...
fix segfault
old-commit-hash: 6b3d2b5a80c61e83a925ff28cc2394f9a9c0a996
2024-05-28 12:02:15 -07:00
Adeeb Shihadeh
72b6504595
Revert "ui: single-threaded CameraView ( #32291 )"
...
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.
old-commit-hash: c9531b463a6cb4a2a56792046fd69f9041006d81
2024-05-18 16:34:03 -07:00
Dean Lee
4bade99d62
ui: single-threaded CameraView ( #32291 )
...
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -07:00
Dean Lee
a2226ad906
cabana: Implement Remote Route Browsing Feature ( #32332 )
...
browse remote routes
old-commit-hash: b551e7c1a2d913b18752a45857c4675191eb4419
2024-05-07 19:59:30 -07:00
Dean Lee
aa7d828769
cabana: fix the panda serial selector disappeared after buildConfigForm() ( #32342 )
...
old-commit-hash: 5f8b53be332bb1d5027605ea3fc69036855a41e9
2024-05-04 09:40:54 -07:00
Dean Lee
8df37a97d3
cabana: Improve seeking and zooming ( #32334 )
...
* Improve seeking and zooming
* No repeated calculation of freq
* set min zoom seconds to 10ms
old-commit-hash: d72f000d98fc63f1ff7da44acedf95251c89faef
2024-05-03 02:42:29 -07:00
Dean Lee
65660350dd
cabana: show enum string in chart tooltip ( #32303 )
...
old-commit-hash: 37877185f812321ecf3c8b5e787838d9b9204b75
2024-04-27 16:31:48 -07:00
Dean Lee
e7aab62050
cabana: increase cache limits ( #32295 )
...
old-commit-hash: 3efd0ff4fa504b699171ec967dce6bef9f78baa4
2024-04-25 10:35:49 -07:00
Dean Lee
f372bf3a1b
cabana: some improvements ( #32161 )
...
some improvements
old-commit-hash: 2d1078ee5bcddc12122a06ffaefef31f9656ef65
2024-04-24 15:56:25 -07:00
Dean Lee
e756325451
cabana: improve DBCFile::parse() ( #32160 )
...
improve parse()
old-commit-hash: a6396be53e54aa81644a10c2936706d0f1a2d6e8
2024-04-24 15:55:58 -07:00
Dean Lee
9118013d9c
cabana: refactor HistoryLog for simplification and enhancements ( #32284 )
...
old-commit-hash: 5e61775561b6f7cfee9867a8a2a14f73a7b3b78f
2024-04-23 09:53:50 -07:00
Dean Lee
df13fe2ead
replay: optimize memory usage with MonotonicBuffer ( #32278 )
...
Optimize Memory Usage with MonotonicBuffe
old-commit-hash: bbd1648f0561b7b3270a2bc7b416841ac10fd9db
2024-04-22 19:21:42 -07:00
Dean Lee
437dcc4258
Cabana: bug fixes ( #32272 )
...
* Fix SIGSEGV due to thread race conditions after seeking
* adding ID as a secondary sorting factor
* fix gaps
old-commit-hash: bab8cdfdef025b242150fb855e210ffcadc83a30
2024-04-21 22:34:24 -07:00
Dean Lee
372bea14e2
replay: bug fixes and improvements ( #32193 )
...
old-commit-hash: 2c409e0980e6145d375eb73f2d21cd03b01a5354
2024-04-21 17:09:17 -07:00
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