Commit Graph

606 Commits

Author SHA1 Message Date
Dean Lee c8048d85e9 cabana: update event Handling from CONTROLS_STATE to SELFDRIVE_STATE (#33426)
check selfdrive_state
old-commit-hash: fdf6c9009c
2024-09-01 09:50:42 -07:00
Adeeb Shihadeh 1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803ab
2024-08-31 18:48:17 -07:00
Shane Smiskol 4f019b5f60 move selfdrive/car to opendbc (#32630)
* move most of /car

* move some car tests

move some car tests

* fix selfdrive/car/tests

* fix selfdrive/controls tests

* fix the rest of the selfdrive tests

* bump opendbc

* fix all tests

* few more non-test references

* remove opcar and move docs to car

fix these debugging scripts

fix docs

* bump opendbc and panda

forgot panda
old-commit-hash: e735a7f379
2024-08-17 00:54:51 -07:00
Maxime Desroches 8c8a4b4961 replace python with python3 (#33303)
3
old-commit-hash: 406939b9c0
2024-08-14 15:14:31 -07:00
Adeeb Shihadeh ac9370addc no more gh discussions
old-commit-hash: 82c2ec7208
2024-08-11 15:48:22 -07:00
Shane Smiskol 6fc4328de4 fix build
old-commit-hash: 04b636e3f2
2024-08-05 23:08:41 -07:00
Maxime Desroches df13b36638 fix all codespell issues (#33194)
* bring back

* remove 2020 dictionary
old-commit-hash: 44c7144e1c
2024-08-05 15:25:02 -07:00
Shane Smiskol 54f912a1d5 opendbc is a package (#33159)
* bump

* rename to opendbc_repo

add symlink

* bump

* fix cabana

fix cabana

* bump

* fix whitelist paths

bump

* bump to master

* remove trailing slash
old-commit-hash: 7ee9d2d1b9
2024-07-31 23:17:40 -07:00
Shane Smiskol 5cc7d1c36b deprecate busTime (#33146)
* deprecate busTime

* bump

* do car can + more

* forgot some

* bump opendbc

* fix that too

* bump
old-commit-hash: 42f2601416
2024-07-30 21:26:58 -07:00
Dean Lee 55ccea2c52 replay: add support for decompressing ZST log files (#32910)
* Add Support for Decompressing ZST Log Files

* 2 space and check magic number

* match BZ2

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ade13722cd
2024-07-29 13:48:06 -07:00
Dean Lee 76b55d39d7 cabana: update README (#32965)
improve README
old-commit-hash: 32a5cfd84c
2024-07-12 16:42:45 -07:00
Dean Lee 283574f334 cabana: fix wrong file path handling for recent files menu (#32969)
fix lambda
old-commit-hash: e3e54fb28b
2024-07-12 10:38:07 -07:00
Dean Lee a18df70a3f cabana: simplify stream management and remove problematic autosave feature (#32945)
simplify code and remove problematic code
old-commit-hash: c17c34187b
2024-07-10 15:10:24 -07:00
Dean Lee dbf095522f cabana: bug fixes and improvements (#32934)
bug fixes and improvements
old-commit-hash: 36815cc6d5
2024-07-08 14:50:31 -07:00
Dean Lee 7ca7f55530 cabana: improve signal view (#32893)
improve signal view
old-commit-hash: a8299ef800
2024-07-03 15:32:15 -07:00
Dean Lee 6601133ad2 replay: handle route not found error with user warning message (#32895)
handle 404
old-commit-hash: 632c484dd5
2024-07-03 15:27:54 -07:00
Dean Lee 26b02b2ed4 cabana: fixed row height issue in multi-line hex display (#32816)
fix multile line bytes
old-commit-hash: 8b7ffc96b5
2024-06-24 08:54:17 -07:00
Dean Lee 43197fb8e8 cabana: fix chart value tip flickers when the mouse moves over it (#32796)
fix chart value tip flickers
old-commit-hash: 5aac2e5a89
2024-06-21 13:29:40 -07:00
Maxime Desroches 5658a6a9ea cabana: include optional (#32772)
optional
old-commit-hash: 3de6ee5ee3
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: 54da59c1fe
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: 865b98a5c4
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: 38529c5057
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: e70dc90a45
2024-06-09 17:44:34 -07:00
Dean Lee 40de8d615f replay: add stop() function (#32673)
add stop() func
old-commit-hash: 3f84fe3557
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: 6688d7b91c
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: e71ec4e8d7
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: 1d61f320a8
2024-06-05 08:49:58 -07:00
Adeeb Shihadeh 2c6829ed67 boardd is pandad (#32628)
* boardd is pandad

* rename tests
old-commit-hash: 34e329649d
2024-06-04 19:16:55 -07:00
Dean Lee cdea057d4b cabana: fix panda stream issues (#32537)
fix segfault
old-commit-hash: 6b3d2b5a80
2024-05-28 12:02:15 -07:00
Adeeb Shihadeh 72b6504595 Revert "ui: single-threaded CameraView (#32291)"
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.

old-commit-hash: c9531b463a
2024-05-18 16:34:03 -07:00
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b
2024-05-17 20:18:41 -07:00
Dean Lee a2226ad906 cabana: Implement Remote Route Browsing Feature (#32332)
browse remote routes
old-commit-hash: b551e7c1a2
2024-05-07 19:59:30 -07:00
Dean Lee aa7d828769 cabana: fix the panda serial selector disappeared after `buildConfigForm()` (#32342)
old-commit-hash: 5f8b53be33
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: d72f000d98
2024-05-03 02:42:29 -07:00
Dean Lee 65660350dd cabana: show enum string in chart tooltip (#32303)
old-commit-hash: 37877185f8
2024-04-27 16:31:48 -07:00
Dean Lee e7aab62050 cabana: increase cache limits (#32295)
old-commit-hash: 3efd0ff4fa
2024-04-25 10:35:49 -07:00
Dean Lee f372bf3a1b cabana: some improvements (#32161)
some improvements
old-commit-hash: 2d1078ee5b
2024-04-24 15:56:25 -07:00
Dean Lee e756325451 cabana: improve `DBCFile::parse()` (#32160)
improve parse()
old-commit-hash: a6396be53e
2024-04-24 15:55:58 -07:00
Dean Lee 9118013d9c cabana: refactor HistoryLog for simplification and enhancements (#32284)
old-commit-hash: 5e61775561
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: bbd1648f05
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: bab8cdfdef
2024-04-21 22:34:24 -07:00
Dean Lee 372bea14e2 replay: bug fixes and improvements (#32193)
old-commit-hash: 2c409e0980
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: a824bd75ef
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: bf61e92518
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: d09e77d1af
2024-04-03 19:19:55 -07:00
Justin Newberry f387b87f42 migrate lowercase mock (#32074)
* add mock migration

* fix

* this
old-commit-hash: 1c0161589b
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: d6d8e45931
2024-03-28 16:26:16 -07:00
Justin Newberry bce4276d06 cabana: migrate dbc map (#31920)
* fix cabana

* within platform map
old-commit-hash: 1f424bf7dc
2024-03-20 10:57:41 -07:00
Dean Lee 78877f970c cabana: horizontal scrolling with Shift+wheel (#31929)
old-commit-hash: 9ed5c78a80
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: d647361fae
2024-03-19 11:46:39 -07:00