Commit Graph

6602 Commits

Author SHA1 Message Date
ntegan1 7115f1f7c8 TSS-P Corolla: use torque lateral control (#24291)
use torque controller for tssp corolla

Co-authored-by: ntegan <nick.egan.gg>
2022-05-27 15:11:16 -07:00
BoBowchan 2c2e0ae8a7 HKG: add missing fwdRadar for Kia Niro EV 2022 (#24665)
Co-authored-by: Bohan Li <bohan.li@yellowbrick.com>
2022-05-27 15:04:06 -07:00
ctidder2 1c3446a0dc Toyota: Add missing Highlander Hybrid TSS2 fwdRadar and fwdCamera (#24664) 2022-05-27 15:02:20 -07:00
HaraldSchafer d708a134bd Tssp prius torque control (#24669)
* use llk

* use steering sensor at low speed stil

* Try more simple

* rm prius tune

* updated ref
2022-05-27 10:21:02 -07:00
Adeeb Shihadeh 5f00c6eca7 tici: always configure modem as data-centric (#24663)
According to the Quectel docs, this is how it should be configured
for both AT&T and T-Mobile (and likely any other carriers).
2022-05-26 17:13:43 -07:00
Adeeb Shihadeh e38b93fc31 athena: remove redirect detection for old prime (#24662)
This worked on old magenta, but doesn't work on new magenta
or blue prime.
2022-05-26 16:09:22 -07:00
Shane Smiskol e32a735a58 test_fw_query_on_routes: warn on no CarParams (#24655)
add warning for no carparams
2022-05-26 13:59:19 -07:00
Lukas Petersson cc4107fd1f latency logger: add offset to visualize overlap (#24644)
* plot design

* readme

* y label

* readme img

* bigger gaps

* readme figs

* denser lines

* denser lines

* offset flag

* readme

* cleanup

* Update tools/latencylogger/latency_logger.py

* Update tools/latencylogger/latency_logger.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-05-26 13:41:08 -07:00
Shane Smiskol dff70876c3 process replay: fix updating refs after regen (#24656)
* fix updating refs after regen

* match spacing

* same as before

* fix

* minimize diff

* update

* not used
2022-05-26 00:39:33 -07:00
Adeeb Shihadeh 32a9ccfc37 visionipc python shim (#24660) 2022-05-25 20:49:56 -07:00
Comma Device 13b2c551c9 update modem restart script 2022-05-25 16:37:56 -07:00
Jason Young f414f7ff4e VW MQB: Add FW for 2015 Volkswagen Passat (#24653) 2022-05-25 11:57:26 -07:00
Willem Melching 2bdb2cb40a ui.py: use YUV stream 2022-05-25 17:37:21 +02:00
Gijs Koning 65056b77c2 Remove scipy usage from laikad (#24652)
Remove scipy
2022-05-25 17:15:22 +02:00
Gijs Koning a51aaaf197 Add ephemeris parsing to laikad (#24642)
* Always send valid messages

* Use ephemeris and move astrodog in laikad

* improve test

* Always correct measurements

* Cleanup

* Fix test

* Update laika
2022-05-25 06:26:58 -07:00
Lukas Petersson 7d06a366f7 process replay: fix regen routes with migration (#24651)
* hacks to make routes work

* clean up

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-24 20:00:55 -07:00
HaraldSchafer d928972150 Rerevert torque control (#24649)
* Revert "Revert torque control (#24565)"

This reverts commit 9f8b03753d.

* Move tune out of car specific stuff

* Update ref commit
2022-05-24 17:52:33 -07:00
Shane Smiskol c10a2ef2e4 UI: draw camera on same frame from modelV2 (#24335)
* draw camera on same frame from modelV2

* fix reversing

* optimze

* sleep shorter

* heavy debugging

* clean up

* fix ui hang

* try this

* more generic implementation

* add unused flag back

* draw latest frames when camerad is coming up with no modeld

* only get modelV2 once

* fix drawing

* conflate, reduce buffer, and remove special case when starting

* make tests pass

* remove comments

* frame_id is a uint32_t

* not sure why passing to cameraview causes overflow

* ternary, not too complicated

* change to size

* rename to frame

* use unique_ptr

* Revert "use unique_ptr"

This reverts commit 955842d9511a26468d4deedd1807f096540cb40c.

* Assert buffer size

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

* use one deque with pairs and uint32_t

* formatting

* frame offset

* Revert "frame offset"

This reverts commit a2cff8a2d57a02f314d9f6adb7221b193a150e4c.

* use array

* add prints

* Revert "add prints"

This reverts commit d6978746e5c316fb2d5a619091c9aaf849c31967.

* clean up

* this handles all cases

* we want to clip

* fixes going backwards when replay or modeld lags multiple frames, then skips multiple frames

fixes going backwards when replay or modeld lags multiple frames, then skips multiple frames

* fix rare case where camera is behind model

simpler comment

* draw latest frames if we start with no model, then hang on current frame until model catches up

fix

* store if it's updated

* accurate comment

* reset to latest on connect and showevent

* better order

* use quint32 for sending signal function

* use empty

* draft

* kinda works

* works

* one line

* debug

* clean up

* revert this

* to preserve behavior, think we need to poll these

* revert

* no timeout when modeld is not alive

* Update selfdrive/ui/qt/onroad.cc

* changes from other PR

* see if we're drawing dup model or camera frames

* looks good, just need to clean up

* debug

* clean up

* clean up

* revert these changes

* fix

* pretty simple, test on device

* clean up

* revert this

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-05-24 17:08:06 -07:00
Lukas Petersson 3e975eb3aa process replay: update regen body route (#24648)
update to a preserved route
2022-05-24 17:07:10 -07:00
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