Commit Graph

6583 Commits

Author SHA1 Message Date
Lee Jong Mun
4c7cb028b1 Hyundai: small car state cleanup (#24643)
* fix typo

* Update selfdrive/car/hyundai/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-05-24 15:37:02 -07:00
Erich Moraga
1d41d3e361 Add missing LEXUS_RXH_TSS2 engine & ESP f/w (#24647)
`AiNzo0alGowN_#8859` 2020 RX450 HL  DongleID/route f6e6302176e041de|2022-05-24--13-48-18
2022-05-24 15:17:31 -07:00
Lukas Petersson
28dd1a9124 CI: run process replay in parallel (#24646)
* CI in parallel

* cache key
2022-05-24 12:47:29 -07:00
Lukas Petersson
d6fb78b9a3 process replay: prefix setup in helper (#24636)
* prefix setup in helper

* context manager

* name change + none default

* skip checking prefix

* type hints + unset env
2022-05-24 12:33:59 -07:00
stephenkwo
9a98a0853a Docs: add video link for 2022 Toyota RAV4 Hybrid (#24622)
Docs: add video link for 2022 Toyota RAV4 Hybrid

CAR.RAV4H_TSS2_2022: ToyotaCarInfo("Toyota RAV4 Hybrid 2022", video_link="https://youtu.be/U0nH9cnrFB0"),
2022-05-24 10:40:44 -07:00
George Hotz
7c74ab8992 camerad: pixclk 88mhz but frame time the same (#24587)
* pixclk 88mhz but frame time the same

* scale integration time

* 22.8 ms

* 15.18 ms

* fix exposure

* fix glitching, 18.9 ms

* set both to min

* faster pixclk = more power

* should pass CI

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-24 09:54:46 -07:00
HaraldSchafer
7da48ebdba New model: better laneless (#24605)
* Fix ping pong

* Fix hugging: e6fd3a62-aa86-46d1-a414-19137ed1babc/800

* Remove lateral toggle

* a6da6265-1952-48dd-986b-2b5996dd2642/950

* Model replay commit

* Revert "Remove lateral toggle"

This reverts commit 69e57eb7e1a72e4bad5e12bcfded6ff431a21a0e.
2022-05-24 09:11:31 -07:00
Adeeb Shihadeh
3d74b5429d latency logger: improve plot style 2022-05-23 20:57:14 -07:00
Adeeb Shihadeh
53a134f1c3 Kia EV6 (#24485)
* ev6 squash

* test route

* cleanup

* remove those

* resume spam

* setme

* more reliable button pressing

* new steer signals

* for now

* update docs
2022-05-23 19:16:17 -07:00
Adeeb Shihadeh
26d8cdfd3d bump version to 0.8.15 2022-05-23 19:05:00 -07:00
Adeeb Shihadeh
71901c94db controlsd: ensure all system malfunction events have the right types (#24635) 2022-05-23 17:46:46 -07:00
Adeeb Shihadeh
b8a32bbc46 little tools fix ups (#24629) 2022-05-23 16:10:36 -07:00
Shane Smiskol
b73d7cf3a5 CarInfo: Add test for missing platform info (#24607)
* Add test for missing car info

* Make optional
2022-05-23 14:22:10 -07:00
Adeeb Shihadeh
eca265e07b uploader: increase max uncompressed qlog size to 100MB 2022-05-23 13:43:14 -07:00
Adeeb Shihadeh
b24f0dd8ce bump that up a bit 2022-05-23 13:41:46 -07:00
Lukas Petersson
8fbcc49ee3 Latency logger: binary search for frame ID (#24586)
binary search for frame id
2022-05-23 13:02:23 -07:00
Lukas Petersson
522b67f16d latency logger: update demo route (#24608)
* handle no segment

* dont handle no route
2022-05-23 12:48:11 -07:00
Willem Melching
1cc652602f Small fixes for macOS build (#24620)
* Small fixes for macOS build

* remove gpu_libs
2022-05-23 13:46:48 +02:00
Cameron Clough
779bfbc63e honda bosch: typo affecting longitudinal limits clip (#24603)
* fix typo?

* another typo

* Revert "another typo"

This reverts commit 45cd9bf2e89d2e0af727b502e5a7881eb52c23ee.
2022-05-23 13:13:26 +02:00
Jake Lynn
dc1a7bf082 fixed CarParams write in replay (#24613)
* fixed CarParams write in replay

* need to capture temporary object

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-22 04:30:13 -07:00
Chester Jungseok Roh
6965e03c0a Genesis: add FW versions for G70 2020 Korean edition (#24543)
* GENESIS_G70_2020 Korean edition added

* remove newline

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-20 20:28:23 -07:00
luuuuucas
a3ed10b907 Toyota: add missing esp FW version for 2022 Toyota Corolla (#24598)
add corolla TSS2 esp

Co-authored-by: Lucas Pharattanavong <lucas@Lucass-MacBook-Air.local>
2022-05-20 20:04:28 -07:00
Shane Smiskol
1b114464a9 GM: Revert noisy brake pressed signal (#24612)
* Revert "GM: Fix noisy brake pressed (#23712)"

This reverts commit dd76cfcf28.

* keep this

* same check, but don't clip CS.brake

* bump panda

* bump panda to master
2022-05-20 19:59:15 -07:00
Shane Smiskol
e6da217813 SubMaster: support for polling in C++ (#24602)
* poll when sm.update isn't 0

* bump cereal

* poll modelV2 in UI

* fix driverview

* need to update here

* empty list means poll all

revert

* Revert "poll modelV2 in UI"

This reverts commit 82aac96a1ffc64eb79b07817451b76e6924a9812.

* Revert "fix driverview"

This reverts commit 074ee10f177cf7c99f8201a85904e01d40adbe6d.

* poll all
2022-05-20 15:00:28 -07:00
HaraldSchafer
2181bbca71 Latcontrol torque: integrator need not be reset (#24606)
slow integrators need not be reset
2022-05-20 13:50:47 -07:00
Adeeb Shihadeh
4ef94a436f affine aux panda IRQ to boardd core (#24600) 2022-05-20 10:16:56 -07:00
Gijs Koning
ef97329c0e Add gnss kalman filter to laikad (#24578)
* Add gnss kalman filter to laikad

* Fix analysis

* Fix analysis

* Update laika

* Refactor a bit

* cleanup, improve unit test

* Also commit test

* fix

* Always return messages. Use Measurement struct that contains std and valid keys

* Push cereal

* Change prints to cloudlog

* Always send valid messages

* Only send gnssMeasurement msg when measurementReport type
2022-05-20 03:21:17 -07:00
George Hotz
0000ad2ac0 loggerd: Fix loggerd encode packet drops (#24599)
* hmm, try this

* hmm, try this

* rewrite handle_encoder_msg

* fix new logic

* add comments and an assert

* handle startup condition better

* handle restarts of encoderd

Co-authored-by: Comma Device <device@comma.ai>
2022-05-20 00:02:50 -07:00
Adeeb Shihadeh
d87f30ea06 encoder test speedup (#24601)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-19 22:33:17 -07:00
Adeeb Shihadeh
238faf4810 update release notes 2022-05-19 21:57:11 -07:00
Adeeb Shihadeh
fa901fd88b bump panda 2022-05-19 16:01:50 -07:00
Jason Young
a1fadc7b54 VW MQB: Cleanup, add FW for 2022 Volkswagen Taos (#24596)
* null-effect ordering and indentation fixes

* VW MQB: Add FW for 2022 Volkswagen Taos
2022-05-19 13:42:52 -07:00
Willem Melching
dd55d14bb1 statsd: fix duplicate filename (#24595) 2022-05-19 15:36:07 +02:00
Shane Smiskol
d3d210c183 controls: pressing set while gas pressed resets to vEgo (#24100)
* set while gas pressed to resume

* better order

* what was I thinking?

* Update selfdrive/controls/lib/drive_helpers.py

Co-authored-by: Gijs Koning <gijs-koning@live.nl>

* Update selfdrive/controls/lib/drive_helpers.py

Co-authored-by: Gijs Koning <gijs-koning@live.nl>

* only if under set speed

* some clean up and ciel the v_cruise_kph

* clean up

* actually floor

* Should be cruise min

* On phone, will clean up

* Think no floor is fine

* clean up and catch setCruise

* update comment and just always do rounding and clipping

update comment

* flip order

Co-authored-by: Gijs Koning <gijs-koning@live.nl>
2022-05-19 03:28:50 -07:00
Adeeb Shihadeh
285bbe5283 bump opendbc 2022-05-19 00:45:04 -07:00
Lukas Petersson
444d265821 process replay: support running in parallel (#24534)
* prefix params

* set env

* prefix in manager

* filesystem except

* dont delete manager folder

* Update selfdrive/common/params.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* debug same path

* remove cleanup + same default

* dont use filesystem lib

* param symlink path

* prefix helpers

* path

* dont delete d

* parallel loop

* refactor loop

* msgq

* clean msgs

* spelling

* nestable pool

* spelling

* logreaders in parallel

* bugfix

* assert msgq

* Update selfdrive/test/process_replay/test_processes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update selfdrive/test/process_replay/test_processes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* assert in cereal

* folder exists

* create dirs in test

* bump cereal

* Update selfdrive/test/process_replay/process_replay.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* PR feedback

* params path in basedir

* ref commit

* param path

* bugfix

* upload_only

* param path

* Update selfdrive/test/process_replay/process_replay.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* msgq path name

* python concurrency.features

* progress bar

* remove progress bar from compare logs

* Update selfdrive/test/process_replay/test_processes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/test/process_replay/test_processes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* defaultdict

* context manager

* update refs

* dont get logs if upload only

* upload refs in parallel

* cleanup

* Update selfdrive/test/process_replay/test_processes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* cleanup

* text

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-18 19:59:30 -07:00
Shane Smiskol
bdaf174154 Support RAV4 2022 with stock longitudinal (#24367)
* support for ICE 2022 RAV4

* add to releases

* swap

* add fingerprints from a5c341bb250ca2f0

* update test route

* update docs

* add test for rav4

* values.py is a comma file
2022-05-18 19:04:11 -07:00
Adeeb Shihadeh
ab7c653cc5 define new prime types 2022-05-18 18:50:42 -07:00
Adeeb Shihadeh
370fc2d352 remove that too 2022-05-18 16:43:23 -07:00
Adeeb Shihadeh
b4091847df camerad: remove webcam + replay cameras (#24554)
* camerad: remove replay camera

* remove webcam + fix AE tests
2022-05-18 15:12:48 -07:00
Adeeb Shihadeh
cb8885cffb Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
2022-05-18 14:11:57 -07:00
George Hotz
e4b7791044 compressed_vipc: use correct system timestamps 2022-05-18 13:18:00 -07:00
George Hotz
c2279ef39d add unixTimestampNanos to encoderd (#24583)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-18 12:58:52 -07:00
George Hotz
bb5a050840 add to compressed_vipc 2022-05-18 12:58:12 -07:00
Adeeb Shihadeh
e469803c27 bump cereal 2022-05-18 11:45:01 -07:00
HaraldSchafer
e2e5378dd3 Revert "Joint model (#24521)" (#24581)
This reverts commit 7996fd37ef.
2022-05-18 10:56:45 -07:00
Willem Melching
fd63de71f0 remove debug print 2022-05-18 12:29:24 +02:00
Willem Melching
194e5fdf1c make normal logreader more robust (#24577) 2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
3771ccc655 controlsd cpu has crept up 2022-05-17 19:42:58 -07:00
HaraldSchafer
9f8b03753d Revert torque control (#24565)
* torque reversal start

* Fix carmodel tests

* Update ref

* update ref

* Elif is better than if
2022-05-17 19:00:57 -07:00