Commit Graph

1509 Commits

Author SHA1 Message Date
Greg Hogan
a17639bddb logreader: skip internal source if connection refused (#32418)
* logreader: skip internal source if connection refused

* fix indentation

* fix spacing

* explicit ipv4 and tcp
old-commit-hash: 2a46d71fc885201d88ca63bc52d26ef715545a23
2024-05-13 16:02:28 -07:00
Adeeb Shihadeh
6e0d84d829 rerun.io proof of concept (#32416)
* Adding demo version for acceleration only

* Adding, plot any event

* Adding dynamic blueprint creation and menu to choose what to plot

* Adding, pool of processes for faster data visualization

* Adding, install rerun if not present

* Adding. thumbnail support

* Refactoring, minor cleanup

* -Use rerun pre-release
-Remove json as a middle format
-Replace recursion with stack-based approach

* Refactoring, using services from cereal instead of hardcoding them

* Use of lr.run_across_segments instead of pool,
Use of python dict instead of capnp objs - better performance
Use LogReader syntax

* Enable logging of liveTracks, pandaStates

* Use of plotjuggler user experience

* Fixing bug in log_msg function

* cleanup

---------

Co-authored-by: savojovic <jovo.savic00@gmail.com>
Co-authored-by: savojovic <74861870+savojovic@users.noreply.github.com>
old-commit-hash: 1c481c5ad32bc6c643ff7bd193b39f207e2acdf7
2024-05-13 15:04:37 -07:00
Julio Salamanca
190fec65f4 Remove qlog param from demo example (#32406)
Remove qlog param from demo instructions

qlog param was removed in this commit

fae2400f40
old-commit-hash: 6aa17ab10a182fac671b9aaef3d4ac0aebb24af2
2024-05-12 17:00:17 -07:00
Shane Smiskol
bd843cc5e7 Cleanup auto_fingerprints.py (#32377)
* messyyy

* super clean car wash

* rm
old-commit-hash: b895095031918dd092061481a9212acda5368c8f
2024-05-08 15:58:27 -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
Shane Smiskol
43cac3cf24 PlatformConfig: clean up and print all flags (#32369)
* script to print flags

* don't need

* SAL

* back

* fix
old-commit-hash: f597d63bf6f2b8c8cf9a48934a059ef25ec69cd7
2024-05-07 15:00:02 -07:00
Adeeb Shihadeh
0020672bfa remove tools/zookeeper/
old-commit-hash: f93b1390983c3761a8dbf98d5d07949024ff2eef
2024-05-06 20:01:15 -07:00
Adeeb Shihadeh
124b4566db remove foxglove, rerun is the future
old-commit-hash: 1de64288965d457cd5827a4128103589831f72b4
2024-05-06 16:29:23 -07:00
Shane Smiskol
40fea75562 debug test_models script fixes (#32362)
* some things were renamed without checking

* fix that
old-commit-hash: e5107b1eabc3a04cb097f0f17d5cf587eb387453
2024-05-06 15:01:06 -07:00
Hoang Bui
29a1763d01 CI/Simulator: Add Metadrive test to CI (#32352)
* works consistently

* ci gha

* fix

* navd

* fix

* cleanup

* change button

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aca01365e6715c1c5c18242e81e27c6feed151c6
2024-05-05 16:32:08 -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
60387b191f replay: fix hang issue on system wake-up (#32341)
fix hang issue on system wake-up
old-commit-hash: c0a2ce31ee5c16545fbb3c9489f80abb9a2ae4a0
2024-05-03 10:46:39 -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
Adeeb Shihadeh
cec27f9db5 prep for ubuntu 24.04 (#32307)
* update to ubuntu 24.04

* latest

* revert those

* fix that

* vla

* try that

* fix uid

* keep 20.04 support

* just prep for now
old-commit-hash: a44add160e206aa87a2996372860846cc54ca29c
2024-04-28 16:24:04 -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
Mauricio Alvarez Leon
8c69ae5381 update pip/poetry versions (#32289)
old-commit-hash: bbbd510fcc37b507010c9499edbb3622574dcf4b
2024-04-24 19:47:22 -07:00
Dean Lee
e41bd18540 replay: shared decoder context (#32255)
share decoder context

cleanup includes
old-commit-hash: b13456f81fdd6b0e83ba79e71f1f67fe6d220af9
2024-04-24 19:44:18 -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
84f3b07d46 replay: use nanosleep on MacOS (#32263)
* use nanosleep on MacOS

* Update tools/replay/util.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

---------

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 618d73efd0bc282c2546776b47e7656af22efc69
2024-04-22 13:22:53 -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
7e5191422d replay/framereader: no longer cache all AVPacket instances in memory (#32236)
old-commit-hash: 8124ba5f63ff8275424a2b7aafe09768c5ed26a2
2024-04-17 10:05:32 -07:00
Shane Smiskol
accfaa29af Volkswagen: fingerprint on VIN chassis code (#32148)
* add function signature and behavior comment

* add test

* move chassis codes to platform config!

* add a shared chassis code test

* function

* test matching

* this commit isn't complete yet

* Revert "this commit isn't complete yet"

This reverts commit ae77d5cd54e1f43d390fb70c4da38a95ac34f8da.

* need to check WMI

* TODO: test WMI

* test wmi

* radar FW sanity check

* fix test

* fixes from merge

fixes from merge

* whoops

* fix static analysis!

* do match_fw_to_car

match_fw_to_car takes vin

* makes sense to keep it one function, and we can return exact or fuzzy!

* clean up

* kinda pointless

* fix more tests

* back to function being only fuzzy

* revert test_fw_fingerprint

* revert test_fw_fingerprint

* simplify

* clean up/fixes

* rename test

* less duplicatey WMI descriptions

* fix

* convert to enum

* I am confident about these WMIs

* these are also good

* we support 5N AUS/NZ and NAR (North American) AX Tiguans

fixes

* Tiguan also Mexico

* only one user for caddy

* got from the test route

* check that the gateway type matches the platform (each platform has 1 or 2 types)

* ~gateway~ -> exact FW match

* remove re

* ensure WMIs are set

* actually no reason to delete

* move comment up to the platform config

* proper wmis typing

* spacing

* flip
old-commit-hash: 6acf763db49944de7a7685b46d50a6c8228a5777
2024-04-12 22:00:03 -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
Justin Newberry
6cc3c1ee0f jenkins: publish casync releases from device (#32142)
* publish in ci

* overwrite

* publish in ci

* fix

* test it

* Revert "test it"

This reverts commit b3de51dc693df79b980d7dffc18bcc3c88d83375.

* use right token

* cleanup after uploading

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8364cd2f2cc4f4b753fc417333df4c707c11eb86
2024-04-09 11:38:18 -07:00
Dean Lee
620f74d3b9 replay: use clock_nanosleep for precise waiting on the scale of nanoseconds (#32125)
use clock_nanosleep
old-commit-hash: 354cbe5a26502bf08370d5386400c0efb72fc9e9
2024-04-08 11:59:17 -07:00
Shane Smiskol
972fa0b086 missing shebang
old-commit-hash: 1c6924ac675baaaceb8be0b7154be15c2c45c413
2024-04-05 15:10:14 -07:00
Shane Smiskol
76650793ad make fox.py executable
old-commit-hash: ab744b73447f2b50a09d734edfa16a6a9eb04073
2024-04-05 15:04:38 -07:00
savojovic
f2c6778548 Adding foxglove support (#31907)
* Adding foxglove support, demo version

* Adding image/thumbnail support

* Adding foxglove map support

* Adding foxglove map support

* Updating title in jsonschemas according to rlog attribute names

* Remove shemas folder, add dynamic schema creation

* Update identation to 2 spaces, code refactored

* Fix, jsonToSchema() recursion returns 0 when an empty arr found

* Update, empty arrays data type set to dummy value of type string

* Enable logs download

* Adding foxglove install functionality

* Adding, transform json lists into json obj

* Adding, pip install mcap library

* format it

* Refactoring msg adding to mcap writer by utilizing pool of worker processes
Disabling compression

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 8a138f9be8542ef83fd42cbb030b05551af4afdb
2024-04-05 11:03:00 -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
Michel Le Bihan
5620c5e4f7 simulator: Change car to Honda Civic 2022 (#32087)
* simulator: Change car to Honda Civic 2022

* simulator: Enable experimental longitudinal control
old-commit-hash: 44129ad0df5c31c03d78fe591183e9db50c8e6b3
2024-04-02 10:28:19 -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
Justin Newberry
35e77d1edc plotjuggler docs remove old options (#32078)
* these are no longer options

* and this one

* qlogs

* space
old-commit-hash: 3080aefa3d8395d4842749f629cab92db2e65f56
2024-04-01 15:24:23 -07:00
Justin Newberry
881ccd321e fix logreader after segment_numbers api removal (#32073)
fix
old-commit-hash: fc9f50c90d166ce8bef7a711b2e391071fb0fe02
2024-04-01 10:01:50 -07:00
Dean Lee
05d0243ff5 replay/route: adds retry on network failures (#31948)
old-commit-hash: b8f5f50d39881388fa4dcf3137693b948c2cf070
2024-03-30 17:37:14 -07:00
Shane Smiskol
4e32a90c5a juggle.py: migrate platform name (#32042)
* fix formatting!

* migrate plotjuggler platform for dbc

* test with can

* temp

* Revert "temp"

This reverts commit 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.

Revert "test with can"

This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.

* fix test
old-commit-hash: 903cc225ebac1742517068b787f7dff91f7f7823
2024-03-28 16:40:31 -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
Michel Le Bihan
78c88cfdd4 simulator: Remove comma pedal sensor (#32030)
old-commit-hash: 1637265ad3953cc2307b6f7422aeb5c64d9d9635
2024-03-27 09:47:29 -07:00
Dean Lee
ad70ec8e45 replay/cabana : support segment range (#32026)
* support segment range

* include <QRegularExpression>
old-commit-hash: 0a2a3dfab7106e40a3934e1e80bc6573223276d8
2024-03-27 09:47:18 -07:00
Shane Smiskol
1372dac6ab More fingerprint migration fixes (#32018)
* fix migration

* another
old-commit-hash: 81fae3d8077e7efd29c837a303421595b0e3d906
2024-03-26 16:43:09 -07:00
Andrei Radulescu
61da0fd009 third_party: build scripts for libyuv and maplibre-native-qt (#31988)
* updated maplibre build.sh

* refactored libyuv build.sh
old-commit-hash: 245cbe97c758f86c21e28d8edd6390b8c9da29db
2024-03-25 09:26:19 -07:00
Jason Young
612e1e4d63 PlotJuggler: Update controls mismatch layout (#31965)
* PlotJuggler: Update controls mismatch layout

* Revert "PlotJuggler: Update controls mismatch layout"

This reverts commit 665e6451f1f68bd300ad306a5bd7c8e6e2e61954.

* minimize diff
old-commit-hash: 108e033af32f37bfd78471a15584a051e666742e
2024-03-21 18:39:05 -07:00
Dean Lee
46384f94d3 ui.py: quit if the "X"(exit) button is clicked (#31949)
old-commit-hash: 028f6938b2e28d79054e9c11f1b95eba150bfcad
2024-03-21 10:58:48 -07:00
Cameron Clough
c401892058 tools: remove unused timestamp_to_datetime (#31950)
old-commit-hash: 27d2a6066d944255608d953c9a8fc7c8cb79f828
2024-03-21 10:58:35 -07:00
Justin Newberry
12d49a4ced Revert "and juggler"
This reverts commit a414a21aa11bd2de47fbd2664f5b03b2b93cfa80.

old-commit-hash: b489550b7ff8866bda726b97283efe7dfa00f0e3
2024-03-20 18:03:04 +00:00