Commit Graph

5101 Commits

Author SHA1 Message Date
Shane Smiskol
ebec632ea2 Make safetyParam unsigned (#24160)
* bump panda & cereal

* make unsigned in boardd

* update health packet version

bump panda

* fix definition

* bump

* regen TOYOTA2 route

* upload route

* oh, ndog param wasn't being set

* regenerate routes with non-zero safety params

* update refs

* regen routes and update refs

* bump panda

* update refs

* update refs

* bump submodules to master
old-commit-hash: 6e62df65d7
2022-04-21 00:01:05 -07:00
Shane Smiskol
d82173e685 Toyota: resolve controls mismatch due to interceptor thresholds (#23710)
* remove gas interceptor exception

* panda

* bump submodules

* bump panda

* forgot carstate change

* revert

* add test route

* bump

* update refs for CS.gas

* bump submodules to master
old-commit-hash: 17cb65c4b7
2022-04-20 22:28:56 -07:00
George Hotz
b872fe92ab loggerd: Separate writer from encoder (#24257)
* seperate writer from encoder

* video writer in release

* confirm loggerd on PC works, add YUV option to compressed_vipc

* make raw_logger use video_writer

* put this back to master

* close codec

* put this back

* use unique_ptr

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8d24655787
2022-04-20 14:51:24 -07:00
Adeeb Shihadeh
9b9d332a54 paramsd: fix variable cpu usage (#24281)
* paramsd: fix variable cpu usage

* fix that

* increase that a bit
old-commit-hash: f7c2b8b46e
2022-04-20 14:08:52 -07:00
Adeeb Shihadeh
b57808e650 paramsd: use real logMonoTime (#24279)
old-commit-hash: 4c9020863f
2022-04-20 13:57:15 -07:00
Adeeb Shihadeh
806d7b1158 update refs after VW signal removal
old-commit-hash: b42b3a8f9f
2022-04-20 13:38:59 -07:00
Jason Young
4333fda533 VW MQB: Remove metric units detection (#24280)
old-commit-hash: a959650f3d
2022-04-20 13:35:05 -07:00
Adeeb Shihadeh
709e683bf4 athena: fix random test failure (#24278)
old-commit-hash: 0fbb7a4673
2022-04-20 13:20:50 -07:00
Shane Smiskol
3e201c015d test_models: add Honda segment for standstill controls mismatch (#24275)
old-commit-hash: e515831e5f
2022-04-20 12:54:52 -07:00
George Hotz
6c70cfa0ce precise power measurement script
old-commit-hash: 3b2421baa0
2022-04-20 12:15:11 -07:00
Erich Moraga
7ef181647f Add missing AVALON_TSS2 firmwares (#24273)
`@Frank McTank#5005` 2022 Avalon Limited ICE  DongleID/route 14f1b241a8c4e210|2022-04-20--09-01-39
old-commit-hash: 70775df771
2022-04-20 11:53:17 -07:00
HaraldSchafer
ef41004968 Latcontrol torque: max_torque rename (#24265)
old-commit-hash: 506650bab6
2022-04-20 11:26:24 -07:00
Gijs Koning
db68d73333 swaglog: delay creating zmq socket to first use - fix modeld crash in sim (#24271)
* Initialize zmq socket later with initialize method

* empty lines

* Add lock and move initialize function

* Check for initialized
old-commit-hash: 6ab7b2f325
2022-04-20 15:03:23 +02:00
Shane Smiskol
955ca69cc4 Honda: do same standstill check as panda (#24262)
* check standstill against panda

* use XMISSION_SPEED for all, and compare to 0

* fix

* only check for Honda for now

* update comment

* update refs

* update refs and update check

* phantom commit
old-commit-hash: 6de434f2ec
2022-04-19 23:18:01 -07:00
HaraldSchafer
6bd1706b52 Offline localizer: accept addition camera (#24266)
* Offline localizer: add option for additional camera

* add names

* fix some bugs

* Wide ORB features are less accurate

* add comment
old-commit-hash: a762567de9
2022-04-19 22:45:35 -07:00
HaraldSchafer
2174005f05 Lateral torque-based control with roll on TSS2 corolla and TSSP rav4 (#24260)
* Initial commit

* Fix bugs

* Need more torque rate

* Cleanup cray cray control

* Write nicely

* Chiiil

* Not relevant for cray cray control

* Do some logging

* Seems like it has more torque than I thought

* Bit more feedforward

* Tune change

* Retune

* Retune

* Little more chill

* Add coroll

* Add corolla

* Give craycray a good name

* Update to proper logging

* D to the PI

* Should be in radians

* Add d

* Start oscillations

* Add D term

* Only change torque rate limits for new tune

* Add d logging

* Should be enough

* Wrong sign in D

* Downtune a little

* Needed to prevent faults

* Add lqr rav4 to tune

* Try derivative again

* Data based retune

* Data based retune

* add friction compensation

* Doesnt need too much P with friction comp

* remove lqr

* Remove kd

* Fix tests

* fix tests

* Too much error

* Get roll induced error under 1cm/deg

* Too much jitter

* Do roll comp

* Add ki

* Final update

* Update refs

* Cleanup latcontrol_torque a little more
old-commit-hash: fe0bcdaef6
2022-04-19 19:34:31 -07:00
Shane Smiskol
8d6ab099dc ui: adjust e2e path width
old-commit-hash: 492489e55c
2022-04-19 16:07:46 -07:00
George Hotz
440e82e106 ui: make the path double wide for e2e
old-commit-hash: 273831aa14
2022-04-19 15:53:58 -07:00
Adeeb Shihadeh
074603c1b9 modeld tests (#24263)
old-commit-hash: 27b067446a
2022-04-19 15:50:04 -07:00
Lukas Petersson
544375abcf Disambiguate frame id in latencylogger (#24164)
* add tools to disambiguate frame id

* Update selfdrive/camerad/cameras/camera_qcom2.cc

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

* bug fix

* remove duplicate code

* PR comments

* bug fix

Co-authored-by: Gijs Koning <gijs-koning@live.nl>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 397bd25e97
2022-04-19 14:29:24 -07:00
Erich Moraga
917553820f Add missing AVALONH_TSS2 fwdCamera f/w (#24261)
`@Hansal#7177` 2022 Avalon Hybrid Limited  DongleID/route 16a02782fd3d706e|2022-04-18--23-48-48
old-commit-hash: 1ddcba2ca3
2022-04-19 14:26:42 -07:00
Adeeb Shihadeh
ae71ecf8b8 manager: start bridge and web joystick for notcars (#24212)
* manager: start bridge and web joystick for notcars

* fix that

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 76a8338197
2022-04-19 14:13:05 -07:00
Adeeb Shihadeh
80d6da0bce test_onroad: fix min -> max (#23824)
* test_onroad: fix min -> max

* raise that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 28149eae4d
2022-04-19 13:41:36 -07:00
David Peterson
a6b0cf3feb docs: add video link for 2019 Subaru Crosstrek (#24251)
* Update values.py

Add video_link :     SubaruCarInfo("Subaru Crosstrek 2018-19", good_torque=True),video_link="https://youtu.be/Agww7oE1k-s"),

* fix syntax

* timestamp to start of openpilot use

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ce74bd4143
2022-04-19 13:25:56 -07:00
Adeeb Shihadeh
db252b457a improve tici thermal control (#24228)
* improve tici thermals

* more i

* always 70
old-commit-hash: c5378cf8b9
2022-04-19 11:07:54 -07:00
George Hotz
d73af8d298 C2: remove some dead code (#24256)
* remove some dead code

* still needed

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1795a2ac03
2022-04-18 20:38:03 -07:00
George Hotz
7921b2d197 Update SNPE to 1.61.0.3358 (#24253)
* update snpe to snpe-1.61.0.3358

* fix new snpe build

* fix snpe dir in files_tici

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 40cf4a7498
2022-04-18 19:31:10 -07:00
George Hotz
6dde52671b loggerd: prereqs for deanlee loggerd omx encoder (try 2) (#24252)
* refactor encoders

* fix pc build

* buf_info

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ac35a656a
2022-04-18 18:21:46 -07:00
Adeeb Shihadeh
5a9644261f remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
old-commit-hash: 5c48e7bc86
2022-04-18 17:55:23 -07:00
Adeeb Shihadeh
e8ad31f32b controlsd: handle controls mismatch race (#24245)
* controlsd: handle controls mismatch race

* update refs
old-commit-hash: 233a167cc9
2022-04-18 17:08:25 -07:00
Jason Wen
fc6d8b7d7b Hyundai: Car Port for Ioniq Plug-in Hybrid 2019 (#24089)
* Add car port: Hyundai Ioniq Plug-In Hybrid 2019

* Add additiona FW version

* Add test route

* Add test route - fix typo

* Update CARS.md and RELEASES.md

* remove from legacy safety mode

* Update carcontroller.py

* Update to INDI lateral tune

* update spacing and capitalization

* generate docs

* Update selfdrive/car/hyundai/carcontroller.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f6034ecece
2022-04-18 15:15:38 -07:00
Adeeb Shihadeh
636c902c65 controlsd: check if process should be running (#24250)
old-commit-hash: 067273b8e7
2022-04-18 14:57:04 -07:00
Shane Smiskol
8af4ae1241 HKG: Add FW for 2022 Hyundai Elantra Hybrid (#24249)
* Fingerprint for 2022 Hyundai Elantra Hybrid

* re-generate docs

Co-authored-by: Max Triano <mtriano234@gmail.com>
old-commit-hash: ce91f4564d
2022-04-18 14:24:54 -07:00
Knudn
e3bdeb3273 VW: Add FW for 2019 Volkswagen e-Golf MK7 (#24247)
* Fingerprint for e-Golf MK7 2019

* Fingerprint for e-Golf MK7 2019

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: ROLAND Knut <knut.roland@soprasteria.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 86fcb823bc
2022-04-18 13:35:15 -07:00
Shane Smiskol
96ef36dcb4 ui: adjust laneless design (#24246)
* tune design

* adjust

* adjust

* fix and compromise!

* fix sl
old-commit-hash: fdeb590ae6
2022-04-18 13:32:09 -07:00
Jason Young
cfd796a210 VW MQB: Add FW for 2018 Volkswagen e-Golf (#24237)
old-commit-hash: db1aa16b47
2022-04-18 11:49:25 -07:00
Cameron Clough
d0db2698ff Ford: detect reverse gear for manual transmision (#24234)
old-commit-hash: b828131994
2022-04-18 11:48:37 -07:00
Erich Moraga
c5d1da347a Add missing LEXUS_NX_TSS2 fwdRadar f/w (#24235)
`@stephengao#5556` 2020 Lexus NX  DongleID/route 0e84e3a3cbc3f537|2022-04-17--17-25-58
old-commit-hash: 948e3edc31
2022-04-18 09:37:46 -07:00
Comma Device
d9d3f9a8ee encodeData: add flags support
old-commit-hash: df7275f1f7
2022-04-16 15:54:22 -07:00
George Hotz
751615c99c loggerd: add qcam broadcast support, don't recreate pubmaster (#24226)
* add qcam broadcast support, don't recreate pubmaster

* fixed

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 35e776d2fd
2022-04-16 14:42:36 -07:00
Willem Melching
7f623e4092 filter_log_message: support errorLogMessage from qlogs
old-commit-hash: f1ca848ff7
2022-04-15 11:06:28 -07:00
Gijs Koning
0df47e8325 Remove visiontest files (#24219)
old-commit-hash: 6dfdb04cb4
2022-04-15 09:54:05 -07:00
Erich Moraga
3444349242 Extend Lexus RX compatibility to 2022 (#24217)
* Extend Lexus RX compatibility to 2022

Sorry, I should've done it when I submitted this PR a couple months ago...
https://github.com/commaai/openpilot/pull/23691

* Revert "Extend Lexus RX compatibility to 2022"

This reverts commit b6a4c5f82c50713d813e260086b71061f047a70a.

* Extend Lexus RX compatibility to 2022 via CarInfo

* Extend Lexus RX compatibility to 2022 in docs
old-commit-hash: f933d543b2
2022-04-15 08:12:18 -07:00
Adeeb Shihadeh
2569e85349 agl plugins work nicely on latest profiler
old-commit-hash: 1fa1c44342
2022-04-14 21:34:14 -07:00
Shane Smiskol
4d820e1096 UI: new laneless design (#24169)
* stash

* Revert "stash"

This reverts commit f0019010e28ffb6d70b3c84666572f30c22077c9.

* new laneless ui

* clean up

* always draw lane lines

* no compensation

* make sure it's long enough

* debug time

* tune design

* tune design 2

* correct scaling with new updated curve hue

* debug time

* full test

* revert test

* move yellow back a bit
old-commit-hash: 998cd7fa20
2022-04-14 20:09:51 -07:00
Adeeb Shihadeh
6371a16f4e UI: double click to switch between body and onroad views (#24214)
* UI: double click to switch between body and onroad views

* fix that

* Update selfdrive/ui/qt/home.cc

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 639255bd10
2022-04-14 17:33:17 -07:00
Shane Smiskol
d2edbf520b uiview: show model (#24210)
* assume not car when using uiview

* write carparams
old-commit-hash: 52e5aa8409
2022-04-14 16:37:09 -07:00
Cameron Clough
0830dc0277 Ford: Support for LCA vehicles (#23331)
* Ford: add Focus Mk4

Also removes support for the Ford Fusion.

* Ford: LKAS/LCA steering and UI CAN commands

* Ford: implement CarController w/ steering and lanes ui

* Ford: FPv2 firmware request

* Ford: Add FW for 2018 Ford Focus

* Ford: add Escape Mk4

* bump panda

* cleanup

* add that back

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: acd455ed3a
2022-04-14 14:32:03 -07:00
George Hotz
ebeadd9b41 fix csid map
old-commit-hash: b9e5ad8a64
2022-04-14 13:17:32 -07:00
Adeeb Shihadeh
2b56bba1f4 test fw query: add nissan
old-commit-hash: 5b098a1db5
2022-04-13 22:54:45 -07:00