Commit Graph

1516 Commits

Author SHA1 Message Date
Jason Wen 250afef443 Merge branch 'master' into SP-59-sync-priv-20240507
# Conflicts:
#	panda
#	release/build_release.sh
#	selfdrive/car/volkswagen/interface.py
2024-05-15 16:04:19 -04:00
Jason Wen 9e3f57d53e Merge branch 'master' into SP-59-sync-priv-20240507 2024-05-09 15:48:29 -04:00
Miguel Fernandez b2d5edcdb5 Merge remote-tracking branch 'refs/remotes/openpilot/master' into small-sync
# Conflicts:
#	cereal
#	opendbc
#	panda
#	selfdrive/car/__init__.py
#	selfdrive/monitoring/dmonitoringd.py
2024-05-09 15:13:00 +02:00
Shane Smiskol b895095031 Cleanup auto_fingerprints.py (#32377)
* messyyy

* super clean car wash

* rm
2024-05-08 15:58:27 -07:00
Dean Lee b551e7c1a2 cabana: Implement Remote Route Browsing Feature (#32332)
browse remote routes
2024-05-07 19:59:30 -07:00
Shane Smiskol f597d63bf6 PlatformConfig: clean up and print all flags (#32369)
* script to print flags

* don't need

* SAL

* back

* fix
2024-05-07 15:00:02 -07:00
Adeeb Shihadeh f93b139098 remove tools/zookeeper/ 2024-05-06 20:01:15 -07:00
Adeeb Shihadeh 1de6428896 remove foxglove, rerun is the future 2024-05-06 16:29:23 -07:00
Shane Smiskol e5107b1eab debug test_models script fixes (#32362)
* some things were renamed without checking

* fix that
2024-05-06 15:01:06 -07:00
Hoang Bui aca01365e6 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>
2024-05-05 16:32:08 -07:00
Jason Wen a48a909997 Revert "cleanup pedal crc"
This reverts commit 23e8ad7397.
2024-05-04 23:51:38 -04:00
Jason Wen dc37a6f9b2 Revert "simulator: Remove comma pedal sensor (#32030)"
This reverts commit 1637265ad3.
2024-05-04 23:51:35 -04:00
Dean Lee 5f8b53be33 cabana: fix the panda serial selector disappeared after buildConfigForm() (#32342) 2024-05-04 09:40:54 -07:00
Dean Lee c0a2ce31ee replay: fix hang issue on system wake-up (#32341)
fix hang issue on system wake-up
2024-05-03 10:46:39 -07:00
Dean Lee d72f000d98 cabana: Improve seeking and zooming (#32334)
* Improve seeking and zooming

* No repeated calculation of freq

* set min zoom seconds to 10ms
2024-05-03 02:42:29 -07:00
Adeeb Shihadeh a44add160e 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
2024-04-28 16:24:04 -07:00
Dean Lee 37877185f8 cabana: show enum string in chart tooltip (#32303) 2024-04-27 16:31:48 -07:00
Dean Lee 3efd0ff4fa cabana: increase cache limits (#32295) 2024-04-25 10:35:49 -07:00
Mauricio Alvarez Leon bbbd510fcc update pip/poetry versions (#32289) 2024-04-24 19:47:22 -07:00
Dean Lee b13456f81f replay: shared decoder context (#32255)
share decoder context

cleanup includes
2024-04-24 19:44:18 -07:00
Dean Lee 2d1078ee5b cabana: some improvements (#32161)
some improvements
2024-04-24 15:56:25 -07:00
Dean Lee a6396be53e cabana: improve DBCFile::parse() (#32160)
improve parse()
2024-04-24 15:55:58 -07:00
Dean Lee 5e61775561 cabana: refactor HistoryLog for simplification and enhancements (#32284) 2024-04-23 09:53:50 -07:00
Dean Lee bbd1648f05 replay: optimize memory usage with MonotonicBuffer (#32278)
Optimize Memory Usage with MonotonicBuffe
2024-04-22 19:21:42 -07:00
Dean Lee 618d73efd0 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>
2024-04-22 13:22:53 -07:00
Dean Lee bab8cdfdef Cabana: bug fixes (#32272)
* Fix SIGSEGV due to thread race conditions after seeking

* adding ID as a secondary sorting factor

* fix gaps
2024-04-21 22:34:24 -07:00
Dean Lee 2c409e0980 replay: bug fixes and improvements (#32193) 2024-04-21 17:09:17 -07:00
Dean Lee a824bd75ef replay: refactor Event to remove the readers (#32252)
Refactor struct Event to remove the MessageReader from it
2024-04-19 11:15:34 -07:00
Dean Lee 8124ba5f63 replay/framereader: no longer cache all AVPacket instances in memory (#32236) 2024-04-17 10:05:32 -07:00
Shane Smiskol 6acf763db4 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
2024-04-12 22:00:03 -07:00
Dean Lee bf61e92518 cabana: gray out inactive messages (#32121)
* improve message list

remove TODO

* improve sort

* remove translate

* fix seeking issue
2024-04-09 19:39:24 -07:00
Justin Newberry 8364cd2f2c 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>
2024-04-09 11:38:18 -07:00
Dean Lee 354cbe5a26 replay: use clock_nanosleep for precise waiting on the scale of nanoseconds (#32125)
use clock_nanosleep
2024-04-08 11:59:17 -07:00
Shane Smiskol 1c6924ac67 missing shebang 2024-04-05 15:10:14 -07:00
Shane Smiskol ab744b7344 make fox.py executable 2024-04-05 15:04:38 -07:00
savojovic 8a138f9be8 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>
2024-04-05 11:03:00 -07:00
Cameron Clough d09e77d1af 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
2024-04-03 19:19:55 -07:00
Michel Le Bihan 44129ad0df simulator: Change car to Honda Civic 2022 (#32087)
* simulator: Change car to Honda Civic 2022

* simulator: Enable experimental longitudinal control
2024-04-02 10:28:19 -07:00
Justin Newberry 1c0161589b migrate lowercase mock (#32074)
* add mock migration

* fix

* this
2024-04-01 15:27:29 -07:00
Justin Newberry 3080aefa3d plotjuggler docs remove old options (#32078)
* these are no longer options

* and this one

* qlogs

* space
2024-04-01 15:24:23 -07:00
Justin Newberry fc9f50c90d fix logreader after segment_numbers api removal (#32073)
fix
2024-04-01 10:01:50 -07:00
Dean Lee b8f5f50d39 replay/route: adds retry on network failures (#31948) 2024-03-30 17:37:14 -07:00
Shane Smiskol 903cc225eb 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
2024-03-28 16:40:31 -07:00
Shane Smiskol d6d8e45931 Simplify cabana dbc dict (#32041)
* so needlessly complex!

* inside generate_dbc_json

* this is good

* clean up!

* spaces

* so much clean up
2024-03-28 16:26:16 -07:00
Michel Le Bihan 1637265ad3 simulator: Remove comma pedal sensor (#32030) 2024-03-27 09:47:29 -07:00
Dean Lee 0a2a3dfab7 replay/cabana : support segment range (#32026)
* support segment range

* include <QRegularExpression>
2024-03-27 09:47:18 -07:00
Shane Smiskol 81fae3d807 More fingerprint migration fixes (#32018)
* fix migration

* another
2024-03-26 16:43:09 -07:00
Andrei Radulescu 245cbe97c7 third_party: build scripts for libyuv and maplibre-native-qt (#31988)
* updated maplibre build.sh

* refactored libyuv build.sh
2024-03-25 09:26:19 -07:00
Jason Young 108e033af3 PlotJuggler: Update controls mismatch layout (#31965)
* PlotJuggler: Update controls mismatch layout

* Revert "PlotJuggler: Update controls mismatch layout"

This reverts commit 665e6451f1f68bd300ad306a5bd7c8e6e2e61954.

* minimize diff
2024-03-21 18:39:05 -07:00
Dean Lee 028f6938b2 ui.py: quit if the "X"(exit) button is clicked (#31949) 2024-03-21 10:58:48 -07:00