Adeeb Shihadeh
fcbce3d8f6
cleanup pedal crc
...
old-commit-hash: 23e8ad73979735479131dfb303e249b861829468
2024-03-20 10:35:33 -07:00
Dean Lee
78877f970c
cabana: horizontal scrolling with Shift+wheel ( #31929 )
...
old-commit-hash: 9ed5c78a805263908df030d7037efdfecb9323d2
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: b0eb3ba4f477142797624580eb3fdb6448f068d6
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: 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
Adeeb Shihadeh
3bf3f4bf78
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
old-commit-hash: fa12a6722868d436f15bea31537df1277bcc4027
2024-03-17 22:42:49 -07:00
Dean Lee
6ecd7bd524
replay: fix segfault in Replay::queueSegment ( #31902 )
...
old-commit-hash: e79cb0edaf88bde8ebdf1b0ac1b6fb5c6b5122d3
2024-03-17 21:55:27 -07:00
Justin Newberry
4de27acf3d
more car info -> car docs ( #31885 )
...
old-commit-hash: 0b92f4e9ee59b9de7ef0895d6d35e06027d3891c
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: 3e816e7df89eccb6375f87c8ae4276312116e5ad
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: ca5a2ed942c7560f11dd85b812c914f944318250
2024-03-14 21:58:25 -07:00
Cameron Clough
46cf28d822
ui.py fix typo ( #31870 )
...
old-commit-hash: 4dd5fd4619cb73df9b396aacda94c6afc553a9f1
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: a8192920737216fe07bd2f273efdee67669b8483
2024-03-12 20:04:17 -07:00
Michel Le Bihan
70a649f88b
simulator: Correctly handle arrival at destination ( #31807 )
...
old-commit-hash: 8a038845003d1a68896c71ea2c2c35455b27b6a0
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: e3589e4b5cc783001c95b52cce066647b4ae0c6c
2024-03-10 16:56:50 -07:00
Michel Le Bihan
02a16c3eb4
simulator: Increase map size to contain road ( #31805 )
...
old-commit-hash: 9c8a27ad2492cf613543103709ae8e3c4a3f5b31
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: e964c5944d4342b6e08ca872eacf9d524a49b479
2024-03-08 02:49:24 -08:00
Adeeb Shihadeh
52eb1aee05
tools: update replay route parsing for timeless format
...
old-commit-hash: fd51bfb27bbdd089833810bec49e67e4ce7a1800
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: a919d27afc9a225978737e86241adbdba336bbdd
2024-03-07 11:33:40 -08:00
Michel Le Bihan
a036e6e043
Simulator: Add world status reporting ( #31740 )
...
old-commit-hash: b4c8e0834d23e757d37b7157dc23eac3ed655bdf
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: 25ccb2426c0b54dbf823b9e7e6d63607b37d9c5a
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: 7cfc571f5698c8f5d5bce2e39ccbd8a56c729395
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: 32fb58656a46dc428ec43f04f396aee994efd14e
2024-03-05 10:36:01 -08:00
Justin Newberry
891b9a1ab4
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
old-commit-hash: 8ec0d87de06c265dcb0526b9a3bce8a397248dc9
2024-03-04 09:53:42 -08:00
Michel Le Bihan
07ad9f9644
Add simple MetaDrive scenario ( #31686 )
...
old-commit-hash: 87a9445d565fd909a94f19a478841490573c452e
2024-03-04 08:54:08 -08:00
Adeeb Shihadeh
1a08f8a9f3
can_replay fixups for bxcan hw
...
old-commit-hash: 9b2665f0c1cc82ba681a7760599fce917c8eb93f
2024-03-02 12:23:46 -08:00
Adeeb Shihadeh
f30af7e156
fix compress_vipc width
...
old-commit-hash: cfc5faee2a7621bafa9818d18b35f015272c1f10
2024-03-01 21:53:16 -08:00
Justin Newberry
b6b2ae1197
can_replay: log fingerprint for hardcoding ( #31671 )
...
* log
* quotes
old-commit-hash: b0496d8294b43bc63dc5cf54c19d029ac7857163
2024-03-01 13:28:58 -08:00
Harald Schäfer
add26a5d1f
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
old-commit-hash: 85eb221e4c9344a5c135789691e8e0500aa51482
2024-02-28 19:55:57 -08:00
Justin Newberry
6f9f45182b
disable commaCarSegments tests ( #31632 )
...
disable this test too
old-commit-hash: f4a7e8eae6e4102a35c0ba787d61861bd40ed8f4
2024-02-28 16:47:08 -08:00
Justin Newberry
d036050624
can_replay: add type hint ( #31601 )
...
type hint
old-commit-hash: edd26acdc324ad8d4b3ccd7406be545545f4cb6f
2024-02-26 16:26:01 -08:00
Justin Newberry
c799790b9b
move with_http_server to selfdrive/test/helpers ( #31597 )
...
* move
* fix
old-commit-hash: 9d1cafd0fccc0406a91309a2f9aa1053b498601d
2024-02-26 12:53:17 -08:00
Robbe Derks
08bb6d822e
linux-aarch64 also works for plotjuggler
...
old-commit-hash: 854e78eaffbdf66daccb53aa326276fb51723ee1
2024-02-25 18:18:43 +00:00
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Justin Newberry
cc77d0ca34
segment range docs update ( #31560 )
...
* the format
* cleaner
old-commit-hash: 556f9738960526d6eeaab9fe639d0340a6d5d6c9
2024-02-23 11:50:33 -08:00
Greg Hogan
b4479b4155
URLFile: default value test ( #31544 )
...
* URLFile: default value test
* cleanup
* fix env
* improvements
* fix GET response
* only delete cache dir if it exists
* env pop
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 43f64ec5005b38b9d2f3ccab9b8bd99a2c1cd6fd
2024-02-22 13:17:02 -08:00
Justin Newberry
bc9ad2ab13
fix static analysis
...
old-commit-hash: 3f104f3fbd7af6e0d1b59377165e6ae0a347c744
2024-02-21 11:26:49 -08:00
Adeeb Shihadeh
13ec05e3f3
add power cycling to can_replay
...
old-commit-hash: e7695c3f32e95bbd0ad31e2ef09075c93ba9f65b
2024-02-21 11:12:56 -08:00
Adeeb Shihadeh
3dbb5d03a0
pj: gpu usage isn't real
...
old-commit-hash: c645feb1aaf52a1dae58af3c24c7955e4d0600e7
2024-02-20 16:55:46 -08:00
Justin Newberry
edef8ed522
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
old-commit-hash: a51ef41cf87c5a8b2eaa5301911051a9d5a8d00c
2024-02-20 12:11:42 -08:00
Shane Smiskol
aeb904d5da
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
old-commit-hash: c5f1f4c67663161d335048238e6dd5506bde3555
2024-02-16 17:55:15 -08:00
Justin Newberry
8dbdd4736c
test_logreader: test internal scenarios ( #31484 )
...
* test source scenario
* test source scenario
* fix
old-commit-hash: 16d13395536e84ddf492b2352d827d33befd601e
2024-02-15 12:10:56 -08:00
Justin Newberry
42f292b3ce
test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE ( #31481 )
...
* fix spelling
* test interactive
* remove that
* test taht
* move that
old-commit-hash: 8aee0d2af2c9e9c1755afa2b46f68b199958ccdb
2024-02-15 11:24:27 -08:00
Greg Hogan
6c51d1563d
URLFile: add typing and internalize pool manager ( #31466 )
...
* URLFile: add typing and internalize pool manager
* cleanup
old-commit-hash: e59fe0014af6e97485c89502c747d3117f95e91a
2024-02-14 14:09:01 -08:00
Justin Newberry
edd4649d24
LogReader: add typing hints ( #31464 )
...
logreader typing
old-commit-hash: 33cf6bda9ef6b1ed19f3a0fed4a5914a414ae653
2024-02-14 10:34:17 -08:00
Justin Newberry
38fc6f9dd6
LogReader: retain old behavior for direct parsing of files ( #31419 )
...
* maintain exception
* test that head is not called
* annoying mock
* test with cache
old-commit-hash: 1436f576df5f43f78b9253b5b2072fbf1414d9be
2024-02-14 10:05:25 -08:00
Jason Young
af9122c799
fix pre-commit install process ( #31445 )
...
* fix pre-commit install process
* only install pre-commit from a git repo
old-commit-hash: 991d02ba27cf84e7140aedd5ca4173ffe5cb0d58
2024-02-14 08:19:20 -08:00
Shane Smiskol
9d941a9682
SegmentRange: more explicit slice matching ( #31451 )
...
* more explicit
* fix it
* use non capturing group
* only needed for regex101
* make test_logreader.py executable
* fix
* stash
* passes test
* none
* type anotate
* test
* fix
* nice for syntax highlighting
old-commit-hash: 796671fe1a9131275c4ff0d67293bb669d0dcd98
2024-02-14 04:36:58 -08:00
Shane Smiskol
5c16ae62d8
SegmentRange: simplify slice ( #31455 )
...
* simplify slicing
* rm
old-commit-hash: 8fe9bc7a6977f9f901b1ddf8eb0916ac80224644
2024-02-14 04:17:03 -08:00