Commit Graph

7053 Commits

Author SHA1 Message Date
ClockeNessMnstr
a7dceb30ae LatControlTorque: clean up class variable (#24526)
* move to super

* no class variable

* there's CP

* whitespace

* drop CI from latcontrol super

* Revert "drop CI from latcontrol super"

This reverts commit 9218273060ade6431c4fc4c310b27e7e210158b9.

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a693b3a26b
2022-05-13 16:52:20 -07:00
Adeeb Shihadeh
5860133729 CI: add SSH for pushing branches
old-commit-hash: 12b22cf867
2022-05-13 16:47:55 -07:00
Shane Smiskol
3c716d6395 bump opendbc and remove common file (#24529)
* bump and remove file

* bump opendbc to master
old-commit-hash: 11e1ad3e3f
2022-05-13 15:32:09 -07:00
Adeeb Shihadeh
ceda3495b9 add body to release (#24528)
* add body to release

* sort

* add dbc
old-commit-hash: ed5c14e86c
2022-05-13 13:18:09 -07:00
Joost Wooning
da6d0d878a camerad: combine debayering and rgb_to_yuv opencl kernels (#24452)
* camerad: combine debayering and rgb_to_yuv opencl kernels

* fix border

* fix snapshot

* rename function

* update camerad cpu usage

* update camerad power draw

* vignetting equal to previously

* test other local worksize

* use less floats

* reduce amount of code

* move barrier back

* make faster

* fix corners

* cleanup

* cleanup

* allow more jitter on driverState timing

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 489fbb74b0
2022-05-13 16:49:31 +02:00
Willem Melching
95bbb74c81 Add sensord test to Jenkins (#24524)
* Add sensord test to Jenkins

* add second configuration

* add other configs too

* rename

* move into existing HW tests
old-commit-hash: 822ea1fbd9
2022-05-13 15:48:38 +02:00
Willem Melching
d3924d0a69 dbc regex, do not escape underscore (#24522)
* dbc regex, do not escape underscore

* bump opendbc
old-commit-hash: 6b0440f9c9
2022-05-13 13:53:38 +02:00
Ross Fisher
bc986e10ff Fix gcc-arm-embedded for m1 mac (#24515)
* Fix gcc-arm-embedded for m1 mac

* put in /tmp

* update comment

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 01a237ef02
2022-05-13 11:12:59 +02:00
Adeeb Shihadeh
aefc73be1b Revert "Joint Model (#24213)"
This reverts commit f6aaafb8d9332c934373fc6fde27abd596b7049f.

old-commit-hash: ef81afc354
2022-05-12 22:52:45 -07:00
Adeeb Shihadeh
99e7d3f26c jenkins: workaround lfs bug
old-commit-hash: c643d74609
2022-05-12 22:08:25 -07:00
Shane Smiskol
de83c06fcb Dynamically parse DBCs (#24455)
* test commit

* bump

* bump

* doesn't work

* bump

* bump

* bump

* no more of these files

* bump

* bump opendbc

* bump

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* remove dbc_out

* bump opendbc to master

* bump opendbc
old-commit-hash: f9e2e82400
2022-05-12 21:19:33 -07:00
YassineYousfi
4709fb5f61 Joint Model (#24213)
* update models

* wip lanelines mhp parsing

* typos

* newer models

* 95995a49-db0c-4261-8776-b90780dc2a8c/600

* Use laneful policy to prevent planner aggression

* c8c3ab69-bd2c-4d1c-a7f8-9e8457e4827b/950

* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950

* 7205c5af-7532-4215-ad9b-678789054db7/995

* bfb34fa3-1d72-4987-854f-43d42ee01015/950

* change cost

* 8ae2477a-b452-4601-b04c-d3af66ea5e98/950

* Update heading cost

* 9b991314-94f5-4f0b-872e-58d95266e4d0/333

* 9b991314-94f5-4f0b-872e-58d95266e4d0/950

* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950

* undo lateral planner changes

* rm whitespace

* update ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: eff08cb17f
2022-05-12 19:47:33 -07:00
Adeeb Shihadeh
7a0bddab89 jenkins: prune lfs objects
old-commit-hash: affeb2ef73
2022-05-12 19:38:58 -07:00
Shane Smiskol
28dfaa0abe process replay: save logs to folder (#24509)
* save logs to folder for proc replay

* use fakedata dir

* fix

* only once and where needed
old-commit-hash: d686f9e527
2022-05-12 19:19:47 -07:00
Adeeb Shihadeh
5e03fb3de5 can_printer: add frequency
old-commit-hash: 28a08ff12e
2022-05-12 17:07:32 -07:00
Shane Smiskol
5a0778518d process replay: don't print diff when only uploading (#24514)
when only uploading no need to print success status or update diff

don't print succeed/fail when only uploading
old-commit-hash: 934bc1e6fb
2022-05-12 17:05:22 -07:00
Shane Smiskol
f1f447d092 Add desired curvature to controlsState (#24510)
* Add desired_curvature to controlsState

* clean up

* bump

* bump

* update refs from GitHub!

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: 6518ecca8f
2022-05-12 16:59:52 -07:00
Adeeb Shihadeh
b458fa0b76 bump cereal
old-commit-hash: 912973e76a
2022-05-12 14:59:11 -07:00
Shane Smiskol
768f36979a process replay CI: print diff after test (#24513)
* make sure we print the diff before updating refs

* cause fail

* when only uploading no need to print success status or update diff

don't print succeed/fail when only uploading

* Revert "cause fail"

This reverts commit 6e5db1a0ac6ccd0e6a0885d72d79d75c610bdc1f.

* Revert "when only uploading no need to print success status or update diff"

This reverts commit d6727f30a109fd7330746005aa7b228c9eca3e79.
old-commit-hash: f918ab7967
2022-05-12 14:55:43 -07:00
Adeeb Shihadeh
fad9a5bf4f boardd: set extra pandas to silent safety mode (#24511)
old-commit-hash: 41b3f253d1
2022-05-12 14:50:45 -07:00
YassineYousfi
20f0e865d6 hatanaka 2.4 (#24508)
* hatanaka 2.4

* wrong hashes
old-commit-hash: 7ad44b7d53
2022-05-12 13:28:04 -07:00
Adeeb Shihadeh
8abd24a15e ftrace profiling script
old-commit-hash: c8629a4b36
2022-05-12 11:58:56 -07:00
Joost Wooning
4e1ff7b16b debayering: code cleanup (#24507)
* debayering: code cleanup

* some more cleanup
old-commit-hash: 40ae0b8604
2022-05-12 19:12:59 +02:00
Willem Melching
860487c4b7 ui: fix cameraview widget on MacOS after YUV changes (#24506)
old-commit-hash: aac7248a01
2022-05-12 17:16:30 +02:00
haram-KONA
561e9bac2f Hyundai: fix wheelbase and steeringratio for Kona, Kona HEV , Kona EV (#24464)
* Update interface.py

* Update interface.py

* Update selfdrive/car/hyundai/interface.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0926c269af
2022-05-12 15:16:36 +02:00
Dean Lee
dd6b18857a tools/replay: replace deprecated usleep(0) with std::this_thread::yield (#23544)
* use std::this_thread::yield()

* use yield in cameraServer::waitFinish

* rename waitFinish to waitForSent
old-commit-hash: 3863a88356
2022-05-12 15:11:04 +02:00
Jason Young
a5b2304b06 Improved steering accuracy measurement script (#23583)
* move steering accuracy measurement script

* git rebase is utterly worthless

* fix header width
old-commit-hash: c007c7e681
2022-05-12 15:09:37 +02:00
Dylan Herman
2dfba97175 add mypy check for return-any (#24379)
* add mypy check for return-any

* remove unused import

* typing

* remove unnecessary variable typing

* cleanup

* cleanup

* bump submodules

* small fixes

* only a problem on mac

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
2022-05-12 14:59:00 +02:00
Anton Rudomanenko
f69d9c7326 fix the problem with replay routes locally (#24350)
fix: fix the problem with replay routes locally

Co-authored-by: Anton Rudomaneko <anton.rudomanenko@nami.ru>
old-commit-hash: 3bfe4a691c
2022-05-12 14:58:35 +02:00
Joost Wooning
6059fe131b debayering: update ref commit for debayer test
old-commit-hash: 7ff3e32c2b
2022-05-12 14:56:32 +02:00
grekiki
7cd23af9b1 Mypy fixes for --check-untyped-defs (#24372)
more type fixes
old-commit-hash: 17e33978cd
2022-05-12 14:08:11 +02:00
Mark Murnane
2d3370a619 Add gamepad support for body (#24415)
This MR adds basic gamepad support to the joystick web client.
The mappings appear to be consistent between a few controllers I tried, so I think inverting both axes is the optimal mapping.
old-commit-hash: e84d073233
2022-05-12 13:40:05 +02:00
Willem Melching
d98cd3a9e7 Pipfile: remove carla for MacOS installs (#24502)
* no carla for mac

* lock
old-commit-hash: fab611c2ce
2022-05-12 12:43:20 +02:00
Willem Melching
c7e31ef974 encoderd: update deprecated ffmpeg functions (#24501)
old-commit-hash: 75f2149267
2022-05-12 12:43:07 +02:00
cydia2020
e6f1d751b9 Toyota: correct weight for the Prius V (#24499)
* correct weight for the Prius V 

https://www.toyotacertified.com/content/dam/tcuv/sections/brochures/en/prius-v/2017_priusv_ebrochure.pdf

* Remove comment

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

* Extra whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3f5afa158a
2022-05-11 21:02:47 -07:00
Shane Smiskol
7464b42368 CarInfo: Add harness information (#24085)
* Add harness information

* test harness enum

* add harness info for tucson

* update Tucson harness

* get rid of development

* make global enum

* fix

* add harness info

* add harness info to CARS.md (since we need multiple lines per HKG platform)

* revert this

* Actively Maintained means something! (aka, to bronze with select VW)

* fix caravelle

* add harness tooltip on maintained column

fix

* lol tubaru

* always assume harness

* update honda harnesses

* add Ioniq hybrid 2017-19 harness, todo: not sure

* unused import

* hmm, did they really switch to the C for 1 year??

* add comment

* add comments

* adding tooltips should be fine

* fix santa fe harness

* welcome back, vw

* no need for two harness strings

* seems fine

* fix 19-20 Niro EV harness

* these were taking from old database, so assume correct

* could be d

* pass all car info into template

* no more tool tips

* these use j533 harnesses

* accidentally got removed in merge

* also merge issue

* don't need these

* make harness non-optional
old-commit-hash: 433fcc0c71
2022-05-11 18:02:21 -07:00
Adeeb Shihadeh
0b7215ae7b test car models: stricter radar CAN error check (#24497)
* test routes: stricter radar CAN error check

* bump opendbc

* bump again
old-commit-hash: 685802b860
2022-05-11 16:30:26 -07:00
Shane Smiskol
10fb405bfa car info: function that sorts all car info into tiers (#24498)
* base function that returns all car info sorted by make model

* don't need to pass it in quite yet
old-commit-hash: dabcfd266e
2022-05-11 15:59:08 -07:00
Shane Smiskol
024f42bae5 process replay: automatically push refs on fail (#24414)
* test failure()

* let's just change a tune here

* debug

revert

* debug

* use current commit, not ref_commit

fix

* need to figure out better place for this

* quick test

* test without upload

* temp

* use azure token

* fixes

* shouldn't need this

* debug

* debug

* not getting anything?

* does this mean nothing gets envvars?

* add azure token to docker environment variables

* quote

* move back

* clean up a bit

* more clean up

* like this sorting better

* replace flags with CI and clean up

* test FULL_TEST and minimalize diff a bit

* now test all

* revert tests comments

* remove flags

* revert this

revert this

* now make it fail

* now update ref_commit to last commit (make sure we can re-start this test if we commit before last one finishes uploading)

* fix

fix

fix

fix

* bad commit

* why is it not throwing an exception?

* debug

* URLFile returns empty bytes if using cache and remote file doesn't exist

* we always need to download anyway

* debug...

* duh, wrong file. but neither should have it

* add that back and just check explicitly

* check both

* clean up and make a diff

* stylize

* see if this is a better diff on files changed

* update refs

* revert changes

* only for owners or members

* if we have token access

* if we have token access

* if we have token access

* move up

* clean up

* revert

* move update refs to test_processes

* clean up

* update messages

* update msg

* update README and delete update_refs

* this isn't possible to reach anymore

* fix readme

* better help message

better help message

better help message

* only show basename when uploading, only if failed to find

* test diff

* fix printing old ref commit

* change to using

* update refs

* Revert "update refs"

This reverts commit 2e352a736a6de68e2c7064daa4e2e9409ce77686.

* revert

* ref refers to reference commit/logs, cur refers to current logs/commit (future ref)

* like for better

* Apply suggestions from code review

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

* Update selfdrive/test/process_replay/test_processes.py

* every time lol

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d2d3b7b823
2022-05-11 15:03:05 -07:00
Adeeb Shihadeh
b7d6595fa4 remove now unused LastPeripheralPandaType param
old-commit-hash: 67e60efd18
2022-05-11 14:20:34 -07:00
Adeeb Shihadeh
49cd879976 pj: add fan rpm to thermal layout
old-commit-hash: 4b063a0246
2022-05-10 19:51:22 -07:00
George Hotz
eb9e57e070 encoderd: support remote encoder behind env var (#24490)
* remote encoder

* remote encoder on PC, fix type

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bd0cc655fb
2022-05-10 16:53:47 -07:00
George Hotz
1f4628bad5 encoderd: make work on PC (#24483)
* don't use the codec in video_writer

* this produces broken videos for some reason

* bugfix

* refactor on the class

* works on device

* fix codec

* no codec enum

* fix pc

* move into dirs

* these includes also

* rename it ffmpegencoder

* add avcodec_close

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2008db47c2
2022-05-10 15:20:51 -07:00
George Hotz
fe87234aa2 simplify and fix clamp (#24479)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01ab99d416
2022-05-10 14:21:22 -07:00
Shane Smiskol
cb3f733df0 CARS.md: update Honda Ridgeline supported years (#24484)
* update supported ridgeline years

* update supported ridgeline years
old-commit-hash: f9af3ddf4c
2022-05-09 22:00:31 -07:00
Shane Smiskol
fd07fef4c8 CARS.md: clicking stars doesn't change page location (#24482)
old-commit-hash: e2ada3b9a8
2022-05-09 20:29:58 -07:00
Shane Smiskol
cb49642bbd cars: move common car info to subclass (#24481)
* clean up values a bit and make HondaCarInfo for package

* also move min_steer_speed which had 12 occurrences

* odyssey has ALC down to 0

* do Nissan, Mazda, and Chrysler
old-commit-hash: ac1566b4c4
2022-05-09 18:50:10 -07:00
Adeeb Shihadeh
78a577d6af update python packages (#24478)
old-commit-hash: b8dad70f70
2022-05-09 15:44:02 -07:00
Ross Fisher
a36e28f2a9 tools: add link to jungle repo (#24477)
old-commit-hash: 32e4dc3869
2022-05-09 14:24:09 -07:00
Comma Device
b7a7843b8f faster modem restart
old-commit-hash: 5ac22d80de
2022-05-09 14:06:55 -07:00