Commit Graph

7026 Commits

Author SHA1 Message Date
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: d2eef1955c777ef6110c7a74d2a9ca9e4e1d958c
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: 3bfe4a691ca99e6b89980131161652ce0d18670c
2022-05-12 14:58:35 +02:00
Joost Wooning
6059fe131b debayering: update ref commit for debayer test
old-commit-hash: 7ff3e32c2b74860d73057dc6bc632f127b26dffa
2022-05-12 14:56:32 +02:00
grekiki
7cd23af9b1 Mypy fixes for --check-untyped-defs (#24372)
more type fixes
old-commit-hash: 17e33978cdd9322918e9d5d388f7fa47aa30e9b7
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: e84d073233404e3375fc3708c0da079c88c012e5
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: fab611c2ce0ccd51b3627e6287e80af00381cf31
2022-05-12 12:43:20 +02:00
Willem Melching
c7e31ef974 encoderd: update deprecated ffmpeg functions (#24501)
old-commit-hash: 75f21492671ad34949061e57760b360e93e440f9
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: 3f5afa158a96a0855b37c1a4f55a99949fe20444
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: 433fcc0c716cb354184afc7014056d198ae56a4d
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: 685802b8602d895869d8d205913007ce83bcb37b
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: dabcfd266e4e6e632064b592409fc63f543e5dbb
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: d2d3b7b823bac0d24e2136f7a97c3aa4c6d9ae47
2022-05-11 15:03:05 -07:00
Adeeb Shihadeh
b7d6595fa4 remove now unused LastPeripheralPandaType param
old-commit-hash: 67e60efd18155b80384ca9f161fb2a78e8735113
2022-05-11 14:20:34 -07:00
Adeeb Shihadeh
49cd879976 pj: add fan rpm to thermal layout
old-commit-hash: 4b063a02462f81e60e1fb7a2d7409639a6d00ba4
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: bd0cc655fbbfdafc0ef081be8558b4c773e76eda
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: 2008db47c208f6f0fd661cc45f215bb80aef38d0
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: 01ab99d416ffa6fb5f96ebd2091be94a3dc6c6bf
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: f9af3ddf4c819127119943cafec6e46fe75a49af
2022-05-09 22:00:31 -07:00
Shane Smiskol
fd07fef4c8 CARS.md: clicking stars doesn't change page location (#24482)
old-commit-hash: e2ada3b9a8b990420929bc31df617a457e408910
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: ac1566b4c4571f7f99adf0ff198383fe975160c3
2022-05-09 18:50:10 -07:00
Adeeb Shihadeh
78a577d6af update python packages (#24478)
old-commit-hash: b8dad70f702d31ad95f76649faa5edaeb759917e
2022-05-09 15:44:02 -07:00
Ross Fisher
a36e28f2a9 tools: add link to jungle repo (#24477)
old-commit-hash: 32e4dc3869bd83f1a978d4a6dfab0238285f31a6
2022-05-09 14:24:09 -07:00
Comma Device
b7a7843b8f faster modem restart
old-commit-hash: 5ac22d80de5c37e059768ad210bee91cc73e025c
2022-05-09 14:06:55 -07:00
George Hotz
69558824b7 update compressed vipc to function on packets
old-commit-hash: dded24662f9f5ca0634033f63fa4ed9fa842bd97
2022-05-09 13:44:09 -07:00
ZwX1616
24c44bf192 clean up gamma variable names (#24476)
old-commit-hash: 4354f7cd28168466faf5b338c1e86f8845c23e63
2022-05-09 13:38:39 -07:00
Shane Smiskol
cf0c8aac08 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
old-commit-hash: 6163dd5ca06efe05a7d4645f6b4127847ce133ac
2022-05-09 13:31:55 -07:00
ntegan1
d4d72ab938 Tools: allow uncompressed logs (#24471)
old-commit-hash: bf269bd883e77bf29e4d9a0a21ef0c4a9eb79c2c
2022-05-09 12:07:19 -07:00
Gijs Koning
d849330ca1 Bump laika (#24454)
* Fix after laika repo changes

* Update laika
old-commit-hash: f7c2eefad9897830bf7bce290dec1dfc7d97e1d2
2022-05-09 04:05:08 -07:00
Adeeb Shihadeh
7d12c9261a tici modem restart script
old-commit-hash: ce0cc1f228edc85e8a9153784dfb5475b8376fb3
2022-05-08 19:18:07 -07:00
Shane Smiskol
70c8bc4cd3 Camry TSS2: use torque controller (#24268)
* use measurements from harald

* update from table

* average of hybrid and non-hybrid
old-commit-hash: 191fbd4f67e7f878b518effd14411779b9435339
2022-05-07 21:34:17 -07:00
Willem Melching
badbd3347c uploader: ensure requests.put gets file like object (#24462)
old-commit-hash: ba89faa5f77c76023f49b85888e6d6eb7f2e1a11
2022-05-07 15:42:47 +02:00
Shane Smiskol
ff6cf66269 Chrysler: reduce ACC faults when disengaging on gas (#24445)
old-commit-hash: ed41b14b55426fe4400e1a87ac7c4e9d4f031b40
2022-05-07 01:23:19 -07:00
Shane Smiskol
785febb828 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
old-commit-hash: 75efad52eabf008ad87337b1e5fadadaaf21756c
2022-05-07 01:00:43 -07:00
HaraldSchafer
3427eb411b 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
old-commit-hash: 29afd53d88f5c98efdac8727f3df1e4679790cde
2022-05-06 22:17:21 -07:00
George Hotz
210508d3f1 sync qcam p frames (#24459)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ac343433a22984109401a9de97eab28220e38e72
2022-05-06 21:47:58 -07:00
Shane Smiskol
188a2eea94 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)
old-commit-hash: c955e273d40dfd5c07a8505dbaf7b34766eee42f
2022-05-06 16:56:40 -07:00
George Hotz
7ebca5b349 no encoder throttle (#24457)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3be29bfa975a4cbdb4abf85cda3726f64e3caf
2022-05-06 16:31:21 -07:00
Adeeb Shihadeh
19aefbeaf7 remove from car bug too
old-commit-hash: f1bae8ca8832fd9a408a60863e735c642c9e6b6d
2022-05-06 13:21:38 -07:00
Adeeb Shihadeh
0b2c94f33c update issue template
old-commit-hash: 43912eb2523ea0b36183138cf1c800c63b01bcbb
2022-05-06 13:21:08 -07:00
Adeeb Shihadeh
8bf3214ce3 cell testing script
old-commit-hash: 7bcecbfd0d1b3d5f47e263b86d64012f30944ab5
2022-05-06 11:20:04 -07:00
Joost Wooning
9ffe2ceb0e 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>
old-commit-hash: 49e10dc773780884f2aab309b7dc2436fe6f473a
2022-05-06 18:27:41 +02:00
Willem Melching
7a855eff47 sanity check on debayer time in CI (#24453)
* check debayer time

* set actual threshold

* also print mean and max
old-commit-hash: 9ef17a877fa0cb4b0d9e7017c152dadbfb94a9aa
2022-05-06 17:27:54 +02:00
Willem Melching
1dab87e416 test_debayer.py some PC fixes (#24449)
* test_debayer.py some PC fixes

* fix rgb shape
old-commit-hash: 85975e3dd91421ac3fffd03f75428257ce42b5b8
2022-05-06 16:32:44 +02:00
Gijs Koning
0010b565f5 Test gnssUblox message processing (#24404)
* Add simple test for processing ublox messages

* Add simple test for processing ublox messages

* Update selfdrive/locationd/test/test_ublox_processing.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update

* Push laika ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e6f9f12d1c9faae8f718306bcd2862278a083351
2022-05-06 06:44:38 -07:00
Gijs Koning
a5d66024ec Bump laika and cereal (#24451)
old-commit-hash: 634f630e08c2ad91701a1f3c80574549fd12170c
2022-05-06 06:44:09 -07:00
Gijs Koning
c082f26d63 Laikad: the basics for ublox msg processing (#24359)
* Add laikad that receives ublox messages and publishes corrected measurements and position fix

* types

* cleanup

* laikad version 1 with uncorrected measurements

* push

* Fix glonass frequency and delete redundant test

* Update after cereal and cleanup

* Add test, fix laikad and remove process replay for now

* update laika

* add hatanaka to packages. Used to decompress orbit data

* Fix pip
old-commit-hash: b64fe6e339c8b8b3f5016a9c58b553c91abc5bdf
2022-05-06 04:41:14 -07:00
Joost Wooning
08da73721c uploader: size limit for automatic uploading of qlogs/qcams (#24403)
* uploader: size limit for automatic uploading of qlogs/qcams

* move check to add logging

* use constant

* mark as uploaded

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: df8f024e19de2d7a528b5921f73895f2078cf03a
2022-05-06 11:47:58 +02:00
Willem Melching
171915797a camerad: get embedded statistics and data by embedding in pixel data (#24353)
* camerad: AR0231 read embedded data and statistics

* reorder

* remove unrelated camera config
old-commit-hash: 95fa6b1df86b62d98e14319f5bd5cbb1621214a2
2022-05-06 11:47:14 +02:00
Adeeb Shihadeh
ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102558c6b94a0c1b7127596dab6f5b2d0
2022-05-05 19:42:18 -07:00
Adeeb Shihadeh
2e45c3bd68 uploader: compress rlogs (#24447)
old-commit-hash: 66fbce638f1a6a2bc9c08c4a17d5efe47fb91651
2022-05-05 19:13:06 -07:00