Commit Graph

1483 Commits

Author SHA1 Message Date
Dean Lee
7e5191422d replay/framereader: no longer cache all AVPacket instances in memory (#32236)
old-commit-hash: 8124ba5f63
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: 6acf763db4
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: bf61e92518
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: 8364cd2f2c
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: 354cbe5a26
2024-04-08 11:59:17 -07:00
Shane Smiskol
972fa0b086 missing shebang
old-commit-hash: 1c6924ac67
2024-04-05 15:10:14 -07:00
Shane Smiskol
76650793ad make fox.py executable
old-commit-hash: ab744b7344
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: 8a138f9be8
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: d09e77d1af
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: 44129ad0df
2024-04-02 10:28:19 -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
Justin Newberry
35e77d1edc plotjuggler docs remove old options (#32078)
* these are no longer options

* and this one

* qlogs

* space
old-commit-hash: 3080aefa3d
2024-04-01 15:24:23 -07:00
Justin Newberry
881ccd321e fix logreader after segment_numbers api removal (#32073)
fix
old-commit-hash: fc9f50c90d
2024-04-01 10:01:50 -07:00
Dean Lee
05d0243ff5 replay/route: adds retry on network failures (#31948)
old-commit-hash: b8f5f50d39
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: 903cc225eb
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: d6d8e45931
2024-03-28 16:26:16 -07:00
Michel Le Bihan
78c88cfdd4 simulator: Remove comma pedal sensor (#32030)
old-commit-hash: 1637265ad3
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: 0a2a3dfab7
2024-03-27 09:47:18 -07:00
Shane Smiskol
1372dac6ab More fingerprint migration fixes (#32018)
* fix migration

* another
old-commit-hash: 81fae3d807
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: 245cbe97c7
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: 108e033af3
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: 028f6938b2
2024-03-21 10:58:48 -07:00
Cameron Clough
c401892058 tools: remove unused timestamp_to_datetime (#31950)
old-commit-hash: 27d2a6066d
2024-03-21 10:58:35 -07:00
Justin Newberry
12d49a4ced Revert "and juggler"
This reverts commit a414a21aa11bd2de47fbd2664f5b03b2b93cfa80.

old-commit-hash: b489550b7f
2024-03-20 18:03:04 +00:00
Justin Newberry
12b67b0c83 and juggler
old-commit-hash: d75c32eaaa
2024-03-20 17:59:31 +00: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
Adeeb Shihadeh
fcbce3d8f6 cleanup pedal crc
old-commit-hash: 23e8ad7397
2024-03-20 10:35:33 -07:00
Dean Lee
78877f970c cabana: horizontal scrolling with Shift+wheel (#31929)
old-commit-hash: 9ed5c78a80
2024-03-19 19:03:23 -07:00
Justin Newberry
b899592b18 cars: platform enums -> prepend brand name (#31927)
* with brand name

* migrate

* Fix

* fixes

* more

* passes

* fix

* fix the doc

* collects

* these too

* more stuff

* body exception :/

* more

* hardcode i guess

* update ref

* toyota

* more toyota

* and here

* final!

* fix notebooks and ccs

* move this here
old-commit-hash: b0eb3ba4f4
2024-03-19 17:29:50 -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
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: 489528dcae
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: 5a805df340
2024-03-18 22:37:45 -07:00
Dean Lee
234338ad55 cabana: fix the suppress highlight breaks after seeking (#31912)
old-commit-hash: 9e1639c3f1
2024-03-18 22:37:17 -07:00
Adeeb Shihadeh
3bf3f4bf78 remove pedal (#31903)
* remove pedal

* bump panda

* fix

* update refs
old-commit-hash: fa12a67228
2024-03-17 22:42:49 -07:00
Dean Lee
6ecd7bd524 replay: fix segfault in Replay::queueSegment (#31902)
old-commit-hash: e79cb0edaf
2024-03-17 21:55:27 -07:00
Justin Newberry
4de27acf3d more car info -> car docs (#31885)
old-commit-hash: 0b92f4e9ee
2024-03-17 16:53:57 -07:00
Cameron Clough
764c5cdae4 cabana(DBCFile): interleave msg and signal comments (#31899)
This matches the behaviour of CANdb++
old-commit-hash: 3e816e7df8
2024-03-17 11:17:29 -07:00
Justin Newberry
1f178307f0 move getting platform to get_params (#31871)
* better

* string

* not here
old-commit-hash: ca5a2ed942
2024-03-14 21:58:25 -07:00
Cameron Clough
46cf28d822 ui.py fix typo (#31870)
old-commit-hash: 4dd5fd4619
2024-03-14 15:00:16 -07:00
Justin Newberry
529699f3fe logreader: fix auto source + interactive modes (#31847)
* interactive modes

* these exceptions don't matter
old-commit-hash: a819292073
2024-03-12 20:04:17 -07:00
Michel Le Bihan
70a649f88b simulator: Correctly handle arrival at destination (#31807)
old-commit-hash: 8a03884500
2024-03-11 10:27:32 -07:00
Adeeb Shihadeh
da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5c
2024-03-10 16:56:50 -07:00
Michel Le Bihan
02a16c3eb4 simulator: Increase map size to contain road (#31805)
old-commit-hash: 9c8a27ad24
2024-03-08 15:13:02 -08:00
Shane Smiskol
bc7664aa2b LogReader: fix sort by time and union types (#31565)
* fix :(

* test_sort_by_time

* this isn't required

* not slow, and just compare sorted

* messy

* works

* clean up

* clean up

* not here

* clean up

* clean up

* clean up

* makes network call

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: e964c5944d
2024-03-08 02:49:24 -08:00
Adeeb Shihadeh
52eb1aee05 tools: update replay route parsing for timeless format
old-commit-hash: fd51bfb27b
2024-03-07 18:57:59 -08:00
Justin Newberry
3105613e69 fix car test routes typing (#31773)
* Fix typing

* and fix test_car_model

* fix
old-commit-hash: a919d27afc
2024-03-07 11:33:40 -08:00
Michel Le Bihan
a036e6e043 Simulator: Add world status reporting (#31740)
old-commit-hash: b4c8e0834d
2024-03-06 19:16:21 -08:00
Justin Newberry
e6dbf6d614 cars: remove CAR_INFO map (#31739)
* no carinfo map

* smaller diff

* not on mock
old-commit-hash: 25ccb2426c
2024-03-06 11:22:12 -08:00
Adeeb Shihadeh
9735cf2eb6 timeless routes (#31119)
* timeless route

* update sort

* update test

* fix param name
old-commit-hash: 7cfc571f56
2024-03-05 20:43:33 -08:00
Michel Le Bihan
fd4ee6f1c5 Only print keyboard help on poll start and unknown command (#31710)
old-commit-hash: 32fb58656a
2024-03-05 10:36:01 -08:00