Commit Graph

6471 Commits

Author SHA1 Message Date
Shane Smiskol
f918ab7967 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.
2022-05-12 14:55:43 -07:00
Adeeb Shihadeh
41b3f253d1 boardd: set extra pandas to silent safety mode (#24511) 2022-05-12 14:50:45 -07:00
YassineYousfi
7ad44b7d53 hatanaka 2.4 (#24508)
* hatanaka 2.4

* wrong hashes
2022-05-12 13:28:04 -07:00
Adeeb Shihadeh
c8629a4b36 ftrace profiling script 2022-05-12 11:58:56 -07:00
Joost Wooning
40ae0b8604 debayering: code cleanup (#24507)
* debayering: code cleanup

* some more cleanup
2022-05-12 19:12:59 +02:00
Willem Melching
aac7248a01 ui: fix cameraview widget on MacOS after YUV changes (#24506) 2022-05-12 17:16:30 +02:00
haram-KONA
0926c269af 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>
2022-05-12 15:16:36 +02:00
Dean Lee
3863a88356 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
2022-05-12 15:11:04 +02:00
Jason Young
c007c7e681 Improved steering accuracy measurement script (#23583)
* move steering accuracy measurement script

* git rebase is utterly worthless

* fix header width
2022-05-12 15:09:37 +02:00
Dylan Herman
d2eef1955c 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>
2022-05-12 14:59:00 +02:00
Anton Rudomanenko
3bfe4a691c 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>
2022-05-12 14:58:35 +02:00
Joost Wooning
7ff3e32c2b debayering: update ref commit for debayer test 2022-05-12 14:56:32 +02:00
grekiki
17e33978cd Mypy fixes for --check-untyped-defs (#24372)
more type fixes
2022-05-12 14:08:11 +02:00
Mark Murnane
e84d073233 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.
2022-05-12 13:40:05 +02:00
Willem Melching
fab611c2ce Pipfile: remove carla for MacOS installs (#24502)
* no carla for mac

* lock
2022-05-12 12:43:20 +02:00
Willem Melching
75f2149267 encoderd: update deprecated ffmpeg functions (#24501) 2022-05-12 12:43:07 +02:00
cydia2020
3f5afa158a 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>
2022-05-11 21:02:47 -07:00
Shane Smiskol
433fcc0c71 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
2022-05-11 18:02:21 -07:00
Adeeb Shihadeh
685802b860 test car models: stricter radar CAN error check (#24497)
* test routes: stricter radar CAN error check

* bump opendbc

* bump again
2022-05-11 16:30:26 -07:00
Shane Smiskol
dabcfd266e 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
2022-05-11 15:59:08 -07:00
Shane Smiskol
d2d3b7b823 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>
2022-05-11 15:03:05 -07:00
Adeeb Shihadeh
67e60efd18 remove now unused LastPeripheralPandaType param 2022-05-11 14:20:34 -07:00
Adeeb Shihadeh
4b063a0246 pj: add fan rpm to thermal layout 2022-05-10 19:51:22 -07:00
George Hotz
bd0cc655fb encoderd: support remote encoder behind env var (#24490)
* remote encoder

* remote encoder on PC, fix type

Co-authored-by: Comma Device <device@comma.ai>
2022-05-10 16:53:47 -07:00
George Hotz
2008db47c2 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>
2022-05-10 15:20:51 -07:00
George Hotz
01ab99d416 simplify and fix clamp (#24479)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-10 14:21:22 -07:00
Shane Smiskol
f9af3ddf4c CARS.md: update Honda Ridgeline supported years (#24484)
* update supported ridgeline years

* update supported ridgeline years
2022-05-09 22:00:31 -07:00
Shane Smiskol
e2ada3b9a8 CARS.md: clicking stars doesn't change page location (#24482) 2022-05-09 20:29:58 -07:00
Shane Smiskol
ac1566b4c4 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
2022-05-09 18:50:10 -07:00
Adeeb Shihadeh
b8dad70f70 update python packages (#24478) 2022-05-09 15:44:02 -07:00
Ross Fisher
32e4dc3869 tools: add link to jungle repo (#24477) 2022-05-09 14:24:09 -07:00
Comma Device
5ac22d80de faster modem restart 2022-05-09 14:06:55 -07:00
George Hotz
dded24662f update compressed vipc to function on packets 2022-05-09 13:44:09 -07:00
ZwX1616
4354f7cd28 clean up gamma variable names (#24476) 2022-05-09 13:38:39 -07:00
Shane Smiskol
6163dd5ca0 URLFile: raise exception if remote URL doesn't exist when using cache (#24432)
* URLFile returns empty bytes if using cache and remote file doesn't exist

* better exception

* assert on cached files
2022-05-09 13:31:55 -07:00
ntegan1
bf269bd883 Tools: allow uncompressed logs (#24471) 2022-05-09 12:07:19 -07:00
Gijs Koning
f7c2eefad9 Bump laika (#24454)
* Fix after laika repo changes

* Update laika
2022-05-09 04:05:08 -07:00
Adeeb Shihadeh
ce0cc1f228 tici modem restart script 2022-05-08 19:18:07 -07:00
Shane Smiskol
191fbd4f67 Camry TSS2: use torque controller (#24268)
* use measurements from harald

* update from table

* average of hybrid and non-hybrid
2022-05-07 21:34:17 -07:00
Willem Melching
ba89faa5f7 uploader: ensure requests.put gets file like object (#24462) 2022-05-07 15:42:47 +02:00
Shane Smiskol
ed41b14b55 Chrysler: reduce ACC faults when disengaging on gas (#24445) 2022-05-07 01:23:19 -07:00
Shane Smiskol
75efad52ea Chrysler: add ACC fault signal (#24398)
* add accFaulted event for Chrysler

* add the signal

* no class variables

* available when not 1

* revert

* bump opendbc to master

* if not 0
2022-05-07 01:00:43 -07:00
HaraldSchafer
29afd53d88 Latcontrol torque: fix integrator induced ping pong (#24458)
* Latcontrol torque: fix integrator induced ping pong

* Reset on disengage since unwind resets anywayh

* Might be overkill

* rm whitespace

* update ref
2022-05-06 22:17:21 -07:00
George Hotz
ac343433a2 sync qcam p frames (#24459)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 21:47:58 -07:00
Shane Smiskol
c955e273d4 Toyota: fill steerFaultPermanent (#24410)
* Toyota: fill steerFaultPermanent

* same behavior as before, 0 is also fault (0 is most likely initializing)

* think this was just wrong (2 or 10 would mean we think it's a fault)
2022-05-06 16:56:40 -07:00
George Hotz
ed3be29bfa no encoder throttle (#24457)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 16:31:21 -07:00
Adeeb Shihadeh
f1bae8ca88 remove from car bug too 2022-05-06 13:21:38 -07:00
Adeeb Shihadeh
43912eb252 update issue template 2022-05-06 13:21:08 -07:00
Adeeb Shihadeh
7bcecbfd0d cell testing script 2022-05-06 11:20:04 -07:00
Joost Wooning
49e10dc773 debayering: fill outer image borders (#24441)
* debayering: fill outer image borders

* correct conditions

* try something else

* remove global check

* update ref

Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 18:27:41 +02:00